diff options
-rw-r--r-- | fs/initramfs/initramfs.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/initramfs/initramfs.mk b/fs/initramfs/initramfs.mk index 9aaf1b04a..3e8156761 100644 --- a/fs/initramfs/initramfs.mk +++ b/fs/initramfs/initramfs.mk @@ -17,6 +17,8 @@ define ROOTFS_INITRAMFS_INIT_SYMLINK ln -s sbin/init $(TARGET_DIR)/init endef +ROOTFS_INITRAMFS_PRE_GEN_HOOKS += ROOTFS_INITRAMFS_INIT_SYMLINK + define ROOTFS_INITRAMFS_CMD $(SHELL) fs/initramfs/gen_initramfs_list.sh -u 0 -g 0 $(TARGET_DIR) > $$@ endef |