mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
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:
parent
49a3780aea
commit
45d83c3926
2 changed files with 3 additions and 0 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in a new issue