Set ALLOW_BASE_SHLIBS when creating base packages to enable
shared library tracking. Note, this requires a patched pkg(8) to do anything, but pkg(8) does not complain when an option is specified that it does not recognize. Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
52259a98ad
commit
28c9d1af05
@ -1433,7 +1433,7 @@ create-world-packages: _pkgbootstrap
|
||||
/^name/ { printf("===> Creating %s-", $$2); next } \
|
||||
/^version/ { print $$2; next } \
|
||||
' ${DESTDIR}/$${pkgname}.ucl ; \
|
||||
pkg -o ABI_FILE=${DESTDIR}/bin/sh \
|
||||
pkg -o ABI_FILE=${DESTDIR}/bin/sh -o ALLOW_BASE_SHLIBS=yes \
|
||||
create -M ${DESTDIR}/$${pkgname}.ucl \
|
||||
-p ${DESTDIR}/$${pkgname}.plist \
|
||||
-r ${DESTDIR} \
|
||||
@ -1461,7 +1461,7 @@ create-kernel-packages: _pkgbootstrap
|
||||
/name/ { printf("===> Creating %s-", $$2); next } \
|
||||
/version/ {print $$2; next } ' \
|
||||
${DESTDIR}/${DISTDIR}/kernel.${INSTALLKERNEL}-${flavor}.ucl ; \
|
||||
pkg -o ABI_FILE=${WSTAGEDIR}/bin/sh \
|
||||
pkg -o ABI_FILE=${WSTAGEDIR}/bin/sh -o ALLOW_BASE_SHLIBS=yes \
|
||||
create -M ${DESTDIR}/${DISTDIR}/kernel.${INSTALLKERNEL}-${flavor}.ucl \
|
||||
-p ${DESTDIR}/${DISTDIR}/kernel.${INSTALLKERNEL}-${flavor}.plist \
|
||||
-r ${DESTDIR}/${DISTDIR} \
|
||||
@ -1490,7 +1490,7 @@ create-kernel-packages: _pkgbootstrap
|
||||
/name/ { printf("===> Creating %s-", $$2); next } \
|
||||
/version/ {print $$2; next } ' \
|
||||
${DESTDIR}/kernel.${_kernel}/kernel.${_kernel}-${flavor}.ucl ; \
|
||||
pkg -o ABI_FILE=${WSTAGEDIR}/bin/sh \
|
||||
pkg -o ABI_FILE=${WSTAGEDIR}/bin/sh -o ALLOW_BASE_SHLIBS=yes \
|
||||
create -M ${DESTDIR}/kernel.${_kernel}/kernel.${_kernel}-${flavor}.ucl \
|
||||
-p ${DESTDIR}/kernel.${_kernel}/kernel.${_kernel}-${flavor}.plist \
|
||||
-r ${DESTDIR}/kernel.${_kernel} \
|
||||
|
Loading…
Reference in New Issue
Block a user