mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-10-29 11:54:38 +01:00
release.sh: Bootstrap pkg from the ports tree
When building OCI continers, we create a pkgbase repository; but we need pkg in order to do this, and it may not be fetchable. Bootstrap it from the ports tree instead. Note that this pkgbase repository is not the same one as we ship as part of the release build; this duplication of package-creation will be fixed at a later date. MFC after: 6 hours Sponsored by: https://www.patreon.com/cperciva
This commit is contained in:
1 parent
11205b0854
commit
08adaf71e2
1 file changed
+3
-1
+3
-1
@@ -328,7 +328,9 @@ chroot_build_target() {
|
||||
eval chroot ${CHROOTDIR} make -C /usr/src ${RELEASE_WMAKEFLAGS} buildworld
|
||||
eval chroot ${CHROOTDIR} make -C /usr/src ${RELEASE_KMAKEFLAGS} buildkernel
|
||||
if [ -n "${WITH_OCIIMAGES}" ]; then
|
||||
eval chroot ${CHROOTDIR} make -C /usr/src ${RELEASE_WMAKEFLAGS} packages
|
||||
mkdir ${CHROOT}/tmp/ports ${CHROOT}/tmp/distfiles
|
||||
eval chroot ${CHROOTDIR} make -C /usr/src ${RELEASE_WMAKEFLAGS} \
|
||||
BOOTSTRAP_PKG_FROM_PORTS=YES packages
|
||||
fi
|
||||
|
||||
return 0
|
||||
|
||||
Reference in new issue
Block a user