summaryrefslogtreecommitdiffstats
path: root/fs/initramfs/initramfs.mk
diff options
context:
space:
mode:
Diffstat (limited to 'fs/initramfs/initramfs.mk')
-rw-r--r--fs/initramfs/initramfs.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/initramfs/initramfs.mk b/fs/initramfs/initramfs.mk
index dd6aa94ad..73122a841 100644
--- a/fs/initramfs/initramfs.mk
+++ b/fs/initramfs/initramfs.mk
@@ -8,7 +8,7 @@
define ROOTFS_INITRAMFS_INIT_SYMLINK
if [ ! -e $(TARGET_DIR)/init ]; then \
- ln -s sbin/init $(TARGET_DIR)/init; \
+ ln -sf sbin/init $(TARGET_DIR)/init; \
fi
endef
@@ -20,4 +20,4 @@ endef
ROOTFS_INITRAMFS_POST_TARGETS += linux26-rebuild-with-initramfs
-$(eval $(call ROOTFS_TARGET,initramfs)) \ No newline at end of file
+$(eval $(call ROOTFS_TARGET,initramfs))