summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--recipes-containers/lxc/lxc_1.1.2.bb6
1 files changed, 4 insertions, 2 deletions
diff --git a/recipes-containers/lxc/lxc_1.1.2.bb b/recipes-containers/lxc/lxc_1.1.2.bb
index 7bbae88b..a20b8e4b 100644
--- a/recipes-containers/lxc/lxc_1.1.2.bb
+++ b/recipes-containers/lxc/lxc_1.1.2.bb
@@ -74,10 +74,12 @@ FILES_${PN}-doc = "${mandir} ${infodir}"
74# For LXC the docdir only contains example configuration files and should be included in the lxc package 74# For LXC the docdir only contains example configuration files and should be included in the lxc package
75FILES_${PN} += "${docdir}" 75FILES_${PN} += "${docdir}"
76FILES_${PN}-dbg += "${libexecdir}/lxc/.debug" 76FILES_${PN}-dbg += "${libexecdir}/lxc/.debug"
77PACKAGES =+ "${PN}-templates ${PN}-setup" 77PACKAGES =+ "${PN}-templates ${PN}-setup ${PN}-networking"
78FILES_${PN}-templates += "${datadir}/lxc/templates" 78FILES_${PN}-templates += "${datadir}/lxc/templates"
79RDEPENDS_${PN}-templates += "bash" 79RDEPENDS_${PN}-templates += "bash"
80 80
81ALLOW_EMPTY_${PN}-networking = "1"
82
81FILES_${PN}-setup += "/etc/tmpfiles.d" 83FILES_${PN}-setup += "/etc/tmpfiles.d"
82FILES_${PN}-setup += "/lib/systemd/system" 84FILES_${PN}-setup += "/lib/systemd/system"
83FILES_${PN}-setup += "/usr/lib/systemd/system" 85FILES_${PN}-setup += "/usr/lib/systemd/system"
@@ -114,7 +116,7 @@ pkg_postinst_${PN}() {
114 fi 116 fi
115} 117}
116 118
117pkg_postinst_${PN}-setup() { 119pkg_postinst_${PN}-networking() {
118 if [ "x$D" != "x" ]; then 120 if [ "x$D" != "x" ]; then
119 exit 1 121 exit 1
120 fi 122 fi