From 4ddb427ef96ac5e1786a9ea00e38ebc65cb2d166 Mon Sep 17 00:00:00 2001 From: Will Wagner Date: Tue, 20 Apr 2010 15:31:01 +0100 Subject: [PATCH] initramfs: fix init symlink When initramfs was ported to the new fs structure the init symlink macro was defined, but forgot to add it to PRE_GEN_HOOKS Signed-off-by: Will Wagner Signed-off-by: Peter Korsgaard --- fs/initramfs/initramfs.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fs/initramfs/initramfs.mk b/fs/initramfs/initramfs.mk index 9aaf1b04ab..3e8156761b 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 -- 2.30.2