1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-14 10:09:48 +00:00

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:
Glen Barber 2016-03-02 21:04:17 +00:00
parent 52259a98ad
commit 28c9d1af05
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/projects/release-pkg/; revision=296325

View File

@ -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} \