Add a flag to freenas-update that forces using a full package
There are times I hack on my FreeNAS machine, or apply some patches to a system manually. When delta packages are in use it can be very non-deterministic about whether a file is replaced. Sometimes customizations survive an upgrade and sometimes they don't.
It would be useful to have a flag to freenas-update that forced it to use a full package, whether or not a delta package existed.
#5 Updated by Josh Paetzel about 4 years ago
- Status changed from Investigation to 15
- Assignee changed from Josh Paetzel to Sean Fagan
This flag works correctly, with the caveat that if your system has already helpfully downloaded delta packages for you you need to delete them first.
Which is to say, if the correct delta packages have been downloaded to the system, freenas-update --no-delta check won't download the full packages.
Sean: If it would be easy to add a "should I discard already downloaded delta packages?" that would be a neat add, otherwise I think the existing behavior could be documented and move on.
#6 Updated by Kris Moore about 4 years ago
- Status changed from 15 to Screened
- Target version changed from Unspecified to 9.10.1-U1
Unless I'm missing something here, all this needs to do is the following:
If --no-delta is specified "rm /foo/delta/cache/dir/*" before starting the download.
We could doc it the way it stands, but that just seems kinda janky.
#16 Updated by Samantha Bonham almost 4 years ago
- Status changed from Screened to Resolved
Documentation resolving this issue has been published here: https://support.ixsystems.com/index.php?/Knowledgebase/Article/View/285/53/update-using-a-full-package-instead-of-the-default-delta-package