summaryrefslogtreecommitdiff
path: root/target/cpio/cpioroot.mk
diff options
context:
space:
mode:
Diffstat (limited to 'target/cpio/cpioroot.mk')
-rw-r--r--target/cpio/cpioroot.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/cpio/cpioroot.mk b/target/cpio/cpioroot.mk
index ce47fba6f..8f460c713 100644
--- a/target/cpio/cpioroot.mk
+++ b/target/cpio/cpioroot.mk
@@ -7,6 +7,7 @@
CPIO_TARGET:=$(IMAGE).cpio
cpioroot-init:
+ rm -f $(TARGET_DIR)/init
ln -s sbin/init $(TARGET_DIR)/init
cpioroot: host-fakeroot makedevs cpioroot-init