We need a pkg package on the media so we can install it for offline
installations; copy this packages from the staging repository to
the pkgbase offline repository on the media.
Details
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Thank you! I completely forgot about pkgbase-stage.lua when I was doing the package-pkg dance.
release/scripts/pkgbase-stage.lua | ||
---|---|---|
42 | On second glance, do we want to omit this to support the case of building without /usr/ports ? |
release/scripts/pkgbase-stage.lua | ||
---|---|---|
42 | that means you'll end up with an installer that doesn't contain pkg(8), which seems reasonable for bootonly but probably wrong for disc1. i don't mind removing this assert for now and we can work that out later. |
release/scripts/pkgbase-stage.lua | ||
---|---|---|
42 | D52639 was more about jails, i.e. you need to be able to build src (only) and then use it to bsdinstall jail /myjail, in which case you won't have a pkg package. for release media i think it's more reasonable to just require pkg, since without it the media is not fully functional and we're all agreed that we'll put it in src for 16.0. i don't really have a strong opinion either way here, but i'd like to avoid the situation where we actually build media that doesn't work properly (as in D52635). |
release/scripts/pkgbase-stage.lua | ||
---|---|---|
42 | Ah right, I was forgetting that people use bsdinstall for jails. I only ever use it for installing from release media. Yeah never mind then, what you have here is good. |