aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/lvm2/lvm2.inc
diff options
context:
space:
mode:
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
+}