Date: Fri, 07 Nov 2025 08:28:51 +0000 From: bugzilla-noreply@freebsd.org To: sysinstall@FreeBSD.org Subject: [Bug 288295] bsdinstall does not bootstrap etcupdate database for pkgbase installations Message-ID: <bug-288295-8135-Hdgrq1gjju@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-288295-8135@https.bugs.freebsd.org/bugzilla/> References: <bug-288295-8135@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=288295 --- Comment #5 from ivy@FreeBSD.org --- after thinking about this a bit more: - i don't like the idea of bootstrapping etcupdate from the FreeBSD-src package. this package is quite large, and most users who choose this option will prefer to get /usr/src from Git anyway, so at least for online installations you'd end up downloading the src package, installing it, then removing it and replacing it with a Git repo. that seems wasteful. - we can't put the etcupdate db on the installation media because that means it won't be available for e.g. `bsdinstall jail` on an online system. i think i'm actually in favour of having a package like "FreeBSD-etcupdate-bootstrap", as long as it's not installed by default; currently that's difficult because every package has to be in a set, but we could fix that. the non-pkgbase bsdinstall process would then be something like: - install FreeBSD-set-base - install FreeBSD-etcupdate-bootstrap - depending on what the etcupdate package actually includes, possibly copy the bootstrap files into the actual database - delete /var/db/pkg - delete the bootstrap files (assuming we decide to copy them into place from the package) this could all be handled automatically by bsdinstall when the user selects a non-pkgbase installation. does this seem like a reasonable approach, or have i completely misunderstood the problem here? -- You are receiving this mail because: You are the assignee for the bug.help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-288295-8135-Hdgrq1gjju>
