I've come up with a work around that suits my needs, maybe it is of interest.
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Advanced Search
Apr 1 2022
Mar 24 2022
Dec 10 2021
https://wiki.freebsd.org/2021FoundationCFI search for "freebsd-update improvements", I did ask for help - hopefully someone can take up where I left off.
Dec 3 2021
I'm no longer spending my time on D32570.
Nov 29 2021
Please elaborate on "This will still break"? That lacks a reasonable explanation.
Nov 17 2021
only expedite if BASEDIR is /
don't need to induce old fashioned fetch after install
Sorry, another thought: What happens in the following sequence of events? 1. `freebsd-update fetch` 2. `freebsd-update install` 3. `freebsd-update fetch` 4. `freebsd-update rollback` 5. `freebsd-update fetch`
Nov 13 2021
added PAGER for outputting fetch_create_manifest.out
reverted the changes in upgrade_run
Nov 5 2021
Colin suggested splitting the manifest function in two but I'm not seeing how to do that, I'm sure it's possible but at this stage that has me stumped.
Nov 3 2021
Regarding #2, This use case was something I tested with along the way (this VM was deliberately out of date for this). It looks like this:
root@pull543:~ # freebsd-update fetch install src component not installed, skipped Looking up update.FreeBSD.org mirrors... 2 mirrors found. Fetching metadata signature for 13.0-RELEASE from update2.freebsd.org... done. No updates are available to fetch. Creating snapshot of existing boot environment... done. Installing updates...
Oct 25 2021
In D32570#735374, @cperciva wrote:Needs an update to freebsd-update.8 since -F is being repurposed.
Take out the bit about "Force", simply focus on tag/tag.new and fetch_run prior completion.
Oct 24 2021
Put in what I hope is a better commented explanation.
Some more explanation in the comments.
Some more explanation in the comments.
Oct 23 2021
introduces a way to test that fetch_run ran to completion in a way that allows the new tag match test
In D32570#735375, @cperciva wrote:This will break very badly if freebsd-update fetch gets interrupted. The file tag is created at the end of fetch_metadata so the fact that it exists does not imply that the fetch completed.
Oct 22 2021
@imp a new squashed commit pushed to github (should be the same as now)
Oct 21 2021
Oct 20 2021
In D32570#735374, @cperciva wrote:Needs an update to freebsd-update.8 since -F is being repurposed.