pkgbase: add a mechanism to be able to force a give ucl include
This is made in order to be able to find add the post-install scripts for the kernel, where PKGNAME varies for each KERNCONF but we don't want to dynamically duplicated the kernel.ucl file. At the same time we don't want the *-dbg* packages to actually include those post-install scripts
This commit is contained in:
@@ -2258,6 +2258,8 @@ create-kernel-packages-extra-flavor${flavor:C,^""$,${_default_flavor},}-${_kerne
|
||||
${SRCDIR}/release/packages/generate-ucl.lua \
|
||||
PKGNAME "kernel-${_kernel:tl}${flavor}" \
|
||||
PKGGENNAME "kernel" \
|
||||
FORCEINCLUDE "kernel${flavor}" \
|
||||
UCLFILES "${SRCDIR}/release/packages/" \
|
||||
VERSION "${PKG_VERSION}" \
|
||||
KERNELDIR "kernel.${_kernel}" \
|
||||
DESC "FreeBSD ${_kernel} kernel ${flavor}" \
|
||||
|
||||
@@ -16,3 +16,4 @@ ${DESC}
|
||||
EOD
|
||||
.include(try=true,duplicate=rewrite) "${UCLFILES}/${PKGGENNAME}-all.ucl"
|
||||
.include(try=true,duplicate=rewrite) "${UCLFILES}/${PKGNAME}.ucl"
|
||||
.include(try=true,duplicate=rewrite) "${UCLFILES}/${FORCEINCLUDE}.ucl"
|
||||
|
||||
Reference in New Issue
Block a user