mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 20:59:41 +02:00
lxc: Add lua to PACKAGECONFIG
Lua support is automatically enabled when configuring LXC if lua is available in the sysroot. The packaging step will fail since the lua related files are not in FILES. This patch explicitly enables/disables lua support using PACKAGECONFIG, and also adds lua-related files to FILES. Signed-off-by: Jonatan Pålsson <jonatan.palsson@pelagicore.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
This commit is contained in:
parent
bccfd5ddb9
commit
ea05b2693a
|
@ -65,6 +65,7 @@ PACKAGECONFIG[templates] = ",,, ${PN}-templates"
|
||||||
PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux,libselinux"
|
PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux,libselinux"
|
||||||
PACKAGECONFIG[seccomp] ="--enable-seccomp,--disable-seccomp,libseccomp,libseccomp"
|
PACKAGECONFIG[seccomp] ="--enable-seccomp,--disable-seccomp,libseccomp,libseccomp"
|
||||||
PACKAGECONFIG[python] = "--enable-python,--disable-python,python3,python3-core"
|
PACKAGECONFIG[python] = "--enable-python,--disable-python,python3,python3-core"
|
||||||
|
PACKAGECONFIG[lua] = "--enable-lua,--disable-lua,lua,lua"
|
||||||
|
|
||||||
# required by python3 to run setup.py
|
# required by python3 to run setup.py
|
||||||
export BUILD_SYS
|
export BUILD_SYS
|
||||||
|
@ -86,6 +87,9 @@ FILES_${PN}-doc = "${mandir} ${infodir}"
|
||||||
# For LXC the docdir only contains example configuration files and should be included in the lxc package
|
# For LXC the docdir only contains example configuration files and should be included in the lxc package
|
||||||
FILES_${PN} += "${docdir}"
|
FILES_${PN} += "${docdir}"
|
||||||
FILES_${PN} += "${libdir}/python3*"
|
FILES_${PN} += "${libdir}/python3*"
|
||||||
|
FILES_${PN} += "${datadir}/lua/*"
|
||||||
|
FILES_${PN} += "${libdir}/lua/lxc/*"
|
||||||
|
FILES_${PN}-dbg += "${libdir}/lua/lxc/.debug"
|
||||||
FILES_${PN}-dbg += "${libexecdir}/lxc/.debug ${libexecdir}/lxc/hooks/.debug"
|
FILES_${PN}-dbg += "${libexecdir}/lxc/.debug ${libexecdir}/lxc/hooks/.debug"
|
||||||
PACKAGES =+ "${PN}-templates ${PN}-setup ${PN}-networking"
|
PACKAGES =+ "${PN}-templates ${PN}-setup ${PN}-networking"
|
||||||
FILES_${PN}-templates += "${datadir}/lxc/templates"
|
FILES_${PN}-templates += "${datadir}/lxc/templates"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user