Skip to content
Snippets Groups Projects
Unverified Commit a605eb0b authored by Michal Hrusecky's avatar Michal Hrusecky :mouse:
Browse files

busybox: Remove the remains of busybox usr move hack

parent b1e74586
Branches
Tags
No related merge requests found
From 709c24eb908ceb268c9dcb1b8665716c33d3dbef Mon Sep 17 00:00:00 2001
From: Michal Hrusecky <Michal@Hrusecky.net>
Date: Tue, 27 Feb 2018 17:24:33 +0100
Subject: [PATCH] busybox: Try to install everything into /{s,}bin
Signed-off-by: Michal Hrusecky <Michal@Hrusecky.net>
---
package/utils/busybox/Makefile | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/package/utils/busybox/Makefile b/package/utils/busybox/Makefile
index fc882d3..5d4ba1d 100644
--- a/package/utils/busybox/Makefile
+++ b/package/utils/busybox/Makefile
@@ -132,6 +132,8 @@ endef
define Package/busybox/install
$(INSTALL_DIR) $(1)/etc/init.d
$(CP) $(PKG_INSTALL_DIR)/* $(1)/
+ ln -s ../../bin/busybox $(1)/usr/bin/env
+ rm -f $(1)/sbin/ifup $(1)/sbin/ifdown
ifneq ($(CONFIG_BUSYBOX_$(BUSYBOX_SYM)_CROND),)
$(INSTALL_BIN) ./files/cron $(1)/etc/init.d/cron
endif
--
2.16.2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment