diff options
author | Li Zhou <li.zhou@windriver.com> | 2015-05-26 10:59:23 +0800 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2015-05-28 10:35:16 +0200 |
commit | f7f2657dac50d9cf80411cf05c35fb76219a4044 (patch) | |
tree | b30d0f3f9f53ef96215be4b54a7ad41a1827e604 /meta-oe/recipes-support/lvm2/lvm2.inc | |
parent | 47ca7a840302a6b4c59c6b1689559de7bdbf9c6b (diff) | |
download | meta-openembedded-contrib-f7f2657dac50d9cf80411cf05c35fb76219a4044.tar.gz |
lvm2: fix segfault for snapshot
Backport <commit c46d4a745dc8c5cb4cfc0c94863e555387e9af75> from lvm2
upstream <https://git.fedorahosted.org/git/lvm2.git> to solve issue:
vgchange segfault in lv_is_merging_cow function.
Signed-off-by: Li Zhou <li.zhou@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/lvm2/lvm2.inc')
-rw-r--r-- | meta-oe/recipes-support/lvm2/lvm2.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta-oe/recipes-support/lvm2/lvm2.inc b/meta-oe/recipes-support/lvm2/lvm2.inc index 42f6e3a43e..e116629f89 100644 --- a/meta-oe/recipes-support/lvm2/lvm2.inc +++ b/meta-oe/recipes-support/lvm2/lvm2.inc @@ -11,7 +11,8 @@ S = "${WORKDIR}/LVM2.${PV}" SRC_URI = "ftp://sources.redhat.com/pub/lvm2/old/LVM2.${PV}.tgz \ file://0001-Replace-CPPFunction-with-rl_completion_func_t.patch \ file://mlock-ignore-vectors-gate_vma.patch \ - file://lvm.conf" + file://lvm.conf \ + file://0001-snapshot-check-snapshot-exists.patch" PACKAGECONFIG ??= "readline" PACKAGECONFIG[readline] = "--enable-readline,--disable-readline,readline" |