From: Goetz Bock <bock@blacknet.de>
To: buildroot@busybox.net
Subject: [Buildroot] patch: lvm2.mk
Date: Mon, 20 Nov 2006 16:28:37 +0100 [thread overview]
Message-ID: <20061120152837.GB3065@priv.blacknet.de> (raw)
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 / \
next reply other threads:[~2006-11-20 15:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-20 15:28 Goetz Bock [this message]
2006-11-20 17:18 ` [Buildroot] patch: lvm2.mk Bernhard Fischer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20061120152837.GB3065@priv.blacknet.de \
--to=bock@blacknet.de \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox