diff options
author | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2017-03-18 01:21:57 +0100 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-03-31 13:25:59 +0200 |
commit | af279a8e746ba80e4811751ba6ede3519cd71b3c (patch) | |
tree | 318cae96af00276b8c128651019e490669124984 /meta-oe/recipes-support/lvm2/lvm2.inc | |
parent | cafa3a45425108ecbae0ef9324a6228c145fc9f8 (diff) | |
download | meta-openembedded-af279a8e746ba80e4811751ba6ede3519cd71b3c.tar.gz |
lvm2: Avoid an unnecessary dependency on bash
Rather than having the lvm2 package depend on bash, modify the init
scripts it may contain to use /bin/sh instead of /bin/bash.
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.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 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-oe/recipes-support/lvm2/lvm2.inc b/meta-oe/recipes-support/lvm2/lvm2.inc index 3e795525f..75fc51f8d 100644 --- a/meta-oe/recipes-support/lvm2/lvm2.inc +++ b/meta-oe/recipes-support/lvm2/lvm2.inc | |||
@@ -12,6 +12,7 @@ SRC_URI = "ftp://sources.redhat.com/pub/lvm2/old/LVM2.${PV}.tgz \ | |||
12 | file://0002-Guard-use-of-mallinfo-with-__GLIBC__.patch \ | 12 | file://0002-Guard-use-of-mallinfo-with-__GLIBC__.patch \ |
13 | file://0003-include-fcntl.h-for-O_-defines-and-fcntl-signature.patch \ | 13 | file://0003-include-fcntl.h-for-O_-defines-and-fcntl-signature.patch \ |
14 | file://0004-tweak-MODPROBE_CMD-for-cross-compile.patch \ | 14 | file://0004-tweak-MODPROBE_CMD-for-cross-compile.patch \ |
15 | file://0001-Avoid-bashisms-in-init-scripts.patch \ | ||
15 | " | 16 | " |
16 | S = "${WORKDIR}/LVM2.${PV}" | 17 | S = "${WORKDIR}/LVM2.${PV}" |
17 | 18 | ||
@@ -98,7 +99,6 @@ FILES_libdevmapper-dev = " \ | |||
98 | " | 99 | " |
99 | 100 | ||
100 | RDEPENDS_${PN}-scripts = "${PN} (= ${EXTENDPKGV}) bash" | 101 | RDEPENDS_${PN}-scripts = "${PN} (= ${EXTENDPKGV}) bash" |
101 | RDEPENDS_${PN} = " bash" | ||
102 | RDEPENDS_libdevmapper-dev = "libdevmapper (= ${EXTENDPKGV})" | 102 | RDEPENDS_libdevmapper-dev = "libdevmapper (= ${EXTENDPKGV})" |
103 | RRECOMMENDS_${PN} = "${PN}-scripts (= ${EXTENDPKGV})" | 103 | RRECOMMENDS_${PN} = "${PN}-scripts (= ${EXTENDPKGV})" |
104 | 104 | ||