* [Buildroot] patch: lvm2.mk
@ 2006-11-20 15:28 Goetz Bock
2006-11-20 17:18 ` Bernhard Fischer
0 siblings, 1 reply; 2+ messages in thread
From: Goetz Bock @ 2006-11-20 15:28 UTC (permalink / raw)
To: buildroot
Dear list,
building lvm2 as user failes, as the install step tries to write to
/etc/lvm/. Patch follows:
Index: package/lvm2/lvm2.mk
===================================================================
--- package/lvm2/lvm2.mk (revision 16570)
+++ package/lvm2/lvm2.mk (working copy)
@@ -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)
--
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 / \
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-11-20 17:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-20 15:28 [Buildroot] patch: lvm2.mk Goetz Bock
2006-11-20 17:18 ` Bernhard Fischer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox