summaryrefslogtreecommitdiffstats
path: root/recipes-containers/lxc/lxc_0.9.0.bb
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:27:43 -0500
commit7d7c38165c1a5a192f114afaea1ee2d80fb784dd (patch)
tree04b7d513e255a02f8deafdf795821c0bb765ea64 /recipes-containers/lxc/lxc_0.9.0.bb
parent7e688758401f765bfc217ae12d5bd54222b3dca0 (diff)
downloadmeta-virtualization-dora.tar.gz
lxc: always strdup lxc.rootfs.mountdora
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>
Diffstat (limited to 'recipes-containers/lxc/lxc_0.9.0.bb')
-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 8f7736b7..fceefffd 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/${PN}-${PV}.tar.gz \
26 file://lxc-0.9.0-enable-chroot-chpasswd-functionality-for-busybox-hosts.patch \ 26 file://lxc-0.9.0-enable-chroot-chpasswd-functionality-for-busybox-hosts.patch \
27 file://lxc-0.9.0-check-when-bind-mounting-libdirs.patch \ 27 file://lxc-0.9.0-check-when-bind-mounting-libdirs.patch \
28 file://lxc-0.9.0-don-t-let-LXC_PATH-end-in-failure.patch \ 28 file://lxc-0.9.0-don-t-let-LXC_PATH-end-in-failure.patch \
29 file://lxc-0.9.0-always-strdup-rootfs-mount.patch \
29 " 30 "
30SRC_URI[md5sum] = "8552a4479090616f4bc04d8473765fc9" 31SRC_URI[md5sum] = "8552a4479090616f4bc04d8473765fc9"
31SRC_URI[sha256sum] = "1e1767eae6cc5fbf892c0e193d25da420ba19f2db203716c38f7cdea3b654120" 32SRC_URI[sha256sum] = "1e1767eae6cc5fbf892c0e193d25da420ba19f2db203716c38f7cdea3b654120"