aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosep Puigdemont <josep.puigdemont@enea.com>2014-02-10 14:09:06 +0100
committerBruce Ashfield <bruce.ashfield@windriver.com>2014-02-11 14:29:04 -0500
commit7499d6ce015cdbd238aff2a3024e5535ece5a444 (patch)
tree721a19a241c1f1bdd4d138b2e7526f42bdfab82f
parent41101a7a51fd2a98fda57ff2493e25f96748359d (diff)
lxc: always strdup lxc.rootfs.mount
The reason is that the generic code which handles reading lxc.rootfs.mount always frees the old value if not NULL. So without this setting lxc.rootfs.mount = /mnt causes segfault. This is a backport for lxc-0.9.0 (dora) of the same fix found in upstream's master, see commits 54c30e29 and 53f3f048. Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
-rw-r--r--recipes-containers/lxc/lxc_0.9.0.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/recipes-containers/lxc/lxc_0.9.0.bb b/recipes-containers/lxc/lxc_0.9.0.bb
index cbe3f7a..e1de3c7 100644
--- a/recipes-containers/lxc/lxc_0.9.0.bb
+++ b/recipes-containers/lxc/lxc_0.9.0.bb
@@ -26,6 +26,7 @@ SRC_URI = "http://linuxcontainers.org/downloads/${BPN}-${PV}.tar.gz \
file://lxc-0.9.0-enable-chroot-chpasswd-functionality-for-busybox-hosts.patch \
file://lxc-0.9.0-check-when-bind-mounting-libdirs.patch \
file://lxc-0.9.0-don-t-let-LXC_PATH-end-in-failure.patch \
+ file://lxc-0.9.0-always-strdup-rootfs-mount.patch \
file://lxc-0.9.0-setup_netdev-re-read-ifindex-in-LXC_NET_PHYS-case.patch \
file://lxc-0.9.0-use-susv3-head-arguments.patch \
file://lxc-0.9.0-configure-allow-subdir-objects.patch \