patch: lvm2.mk
Dear list,
building lvm2 as user failes, as the install step tries to write to /etc/lvm/. Patch follows:
lvm2/lvm2.mk (working copy) renamed from lvm2/lvm2.mk (revision 16570) +0 -1
@@ -56,7 +56,7 @@ $(LVM2_TARGET_SBINS): $(LVM2_DIR)/.configured $(MAKE) CC=$(TARGET_CC) -C $(LVM2_DIR) DESTDIR=$(STAGING_DIR) - $(MAKE) CC=$(TARGET_CC) -C $(LVM2_DIR) install prefix=$(STAGING_DIR) exe
c_prefix=$(STAGING_DIR)
+ $(MAKE) CC=$(TARGET_CC) -C $(LVM2_DIR) install DESTDIR=$(STAGING_DIR)
for binary in $(LVM2_SBIN); do echo $$binary; cp -a $(STAGING_DIR)/sbin/
$$binary $(TARGET_DIR)/sbin; done
lvm2: uclibc dm $(LVM2_TARGET_SBINS)
Signature · 4 lines
Goetz Bock (c) 2006 as blacknet.de - Munich - Germany /"\
IT Consultant Creative Commons secure mobile Linux everNETting \ /
X
ASCII Ribbon Campaign against HTML email & microsoft attachments / \Quoted 4 lines · Goetz Bock
Dear list,
building lvm2 as user failes, as the install step tries to write to
/etc/lvm/. Patch follows:
Funnily i don't see this.
Can you please paste the error where it tries to write to /etc/lvm/* ?
Also, that cp -a should better install-strip the binaries!