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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/projects/release-pkg/; revision=296325
@ -1433,7 +1433,7 @@ create-world-packages: _pkgbootstrap
|
|||||||
/^name/ { printf("===> Creating %s-", $$2); next } \
|
/^name/ { printf("===> Creating %s-", $$2); next } \
|
||||||
/^version/ { print $$2; next } \
|
/^version/ { print $$2; next } \
|
||||||
' ${DESTDIR}/$${pkgname}.ucl ; \
|
' ${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 \
|
create -M ${DESTDIR}/$${pkgname}.ucl \
|
||||||
-p ${DESTDIR}/$${pkgname}.plist \
|
-p ${DESTDIR}/$${pkgname}.plist \
|
||||||
-r ${DESTDIR} \
|
-r ${DESTDIR} \
|
||||||
@ -1461,7 +1461,7 @@ create-kernel-packages: _pkgbootstrap
|
|||||||
/name/ { printf("===> Creating %s-", $$2); next } \
|
/name/ { printf("===> Creating %s-", $$2); next } \
|
||||||
/version/ {print $$2; next } ' \
|
/version/ {print $$2; next } ' \
|
||||||
${DESTDIR}/${DISTDIR}/kernel.${INSTALLKERNEL}-${flavor}.ucl ; \
|
${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 \
|
create -M ${DESTDIR}/${DISTDIR}/kernel.${INSTALLKERNEL}-${flavor}.ucl \
|
||||||
-p ${DESTDIR}/${DISTDIR}/kernel.${INSTALLKERNEL}-${flavor}.plist \
|
-p ${DESTDIR}/${DISTDIR}/kernel.${INSTALLKERNEL}-${flavor}.plist \
|
||||||
-r ${DESTDIR}/${DISTDIR} \
|
-r ${DESTDIR}/${DISTDIR} \
|
||||||
@ -1490,7 +1490,7 @@ create-kernel-packages: _pkgbootstrap
|
|||||||
/name/ { printf("===> Creating %s-", $$2); next } \
|
/name/ { printf("===> Creating %s-", $$2); next } \
|
||||||
/version/ {print $$2; next } ' \
|
/version/ {print $$2; next } ' \
|
||||||
${DESTDIR}/kernel.${_kernel}/kernel.${_kernel}-${flavor}.ucl ; \
|
${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 \
|
create -M ${DESTDIR}/kernel.${_kernel}/kernel.${_kernel}-${flavor}.ucl \
|
||||||
-p ${DESTDIR}/kernel.${_kernel}/kernel.${_kernel}-${flavor}.plist \
|
-p ${DESTDIR}/kernel.${_kernel}/kernel.${_kernel}-${flavor}.plist \
|
||||||
-r ${DESTDIR}/kernel.${_kernel} \
|
-r ${DESTDIR}/kernel.${_kernel} \
|
||||||
|
Loading…
Reference in New Issue
Block a user