summaryrefslogtreecommitdiffstats
path: root/recipes/lvm2/lvm2.inc
diff options
context:
space:
mode:
authorSimon Busch <morphis@gravedo.de>2010-07-20 08:44:56 +0000
committerStefan Schmidt <stefan@datenfreihafen.org>2010-08-16 15:51:56 +0200
commit91109cc11b12316b0928d0bf48cde30976ff8814 (patch)
treedddef6c254aa3e28477f2e8b841b41a71c37e484 /recipes/lvm2/lvm2.inc
parentc17c517bc1777e787adf6df2e11758283db7dbba (diff)
downloadopenembedded-91109cc11b12316b0928d0bf48cde30976ff8814.tar.gz
lvm2.inc: add machine specific configuration file
For some machines we need a specific lvm configuration to detect the captable devices which can contain a lvm volume. Signed-off-by: Simon Busch <morphis@gravedo.de> Acked-by: Stefan Schmidt <stefan@datenfreihafen.org>
Diffstat (limited to 'recipes/lvm2/lvm2.inc')
-rw-r--r--recipes/lvm2/lvm2.inc8
1 files changed, 7 insertions, 1 deletions
diff --git a/recipes/lvm2/lvm2.inc b/recipes/lvm2/lvm2.inc
index 080f5ead85..db3a1c1820 100644
--- a/recipes/lvm2/lvm2.inc
+++ b/recipes/lvm2/lvm2.inc
@@ -7,7 +7,8 @@ INC_PR = "r2"
S = "${WORKDIR}/LVM2.${PV}"
SRC_URI = "ftp://sources.redhat.com/pub/lvm2/old/LVM2.${PV}.tgz \
file://crosscompile_fix.patch \
- file://include-limits.patch"
+ file://include-limits.patch \
+ file://lvm.conf"
# Unset user/group to unbreak install.
EXTRA_OECONF = "--with-user= --with-group= --disable-o_direct"
@@ -19,3 +20,8 @@ inherit autotools
# other recipe)
do_stage() {
}
+
+do_install_append() {
+ # Install machine specific configuration file
+ install -m 0644 ${WORKDIR}/lvm.conf ${D}${sysconfdir}/lvm/lvm.conf
+}