From 2970c26e3500d3644c0fc96c12dbc31a37f5a79f Mon Sep 17 00:00:00 2001 From: Michael Olbrich Date: Thu, 22 Apr 2010 10:06:48 +0200 Subject: [busybox] fix [target]install Signed-off-by: Michael Olbrich --- rules/busybox.make | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'rules/busybox.make') diff --git a/rules/busybox.make b/rules/busybox.make index b98beb010..1616ab1d5 100644 --- a/rules/busybox.make +++ b/rules/busybox.make @@ -65,6 +65,17 @@ BUSYBOX_INSTALL_OPT := \ CONFIG_PREFIX=$(BUSYBOX_PKGDIR) \ install +# ---------------------------------------------------------------------------- +# Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/busybox.install: + @$(call targetinfo) + @$(call world/install, BUSYBOX) + install -D -m644 $(BUSYBOX_DIR)/busybox.links \ + $(BUSYBOX_PKGDIR)/etc/busybox.links + @$(call touch) + # ---------------------------------------------------------------------------- # Target-Install # ---------------------------------------------------------------------------- @@ -86,7 +97,7 @@ ifdef PTXCONF_BUSYBOX_FEATURE_SUID else @$(call install_copy, busybox, 0, 0, 755, -, /bin/busybox) endif - @cat $(BUSYBOX_DIR)/busybox.links | while read link; do \ + @cat $(BUSYBOX_PKGDIR)/etc/busybox.links | while read link; do \ case "$${link}" in \ (/*/*/*) to="../../bin/busybox" ;; \ (/bin/*) to="busybox" ;; \ -- cgit v1.2.3