diff --git a/Makefile.inc1 b/Makefile.inc1 index ed9388610f17..74a3b84081d0 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -1618,7 +1618,10 @@ create-world-package-${pkgname}: .PHONY @awk -F\" ' \ /^name/ { printf("===> Creating %s-", $$2); next } \ /^version/ { print $$2; next } \ - ' ${WSTAGEDIR}/${pkgname}.ucl ; \ + ' ${WSTAGEDIR}/${pkgname}.ucl ; + @if [ "${pkgname}" == "runtime" ]; then \ + sed -i '' -e "s/%KERNCONF%/${INSTALLKERNEL:tl}/" ${WSTAGEDIR}/${pkgname}.ucl ; \ + fi ${PKG_CMD} -o ABI_FILE=${WSTAGEDIR}/bin/sh -o ALLOW_BASE_SHLIBS=yes \ create -M ${WSTAGEDIR}/${pkgname}.ucl \ -p ${WSTAGEDIR}/${pkgname}.plist \ diff --git a/release/packages/kernel.ucl b/release/packages/kernel.ucl index c89cea6d3f59..67d7bf53db5d 100644 --- a/release/packages/kernel.ucl +++ b/release/packages/kernel.ucl @@ -16,6 +16,39 @@ desc = <