aboutsummaryrefslogtreecommitdiffstats
path: root/fs/initramfs
diff options
context:
space:
mode:
authorWill Wagner <will_wagner@carallon.com>2010-04-20 15:31:01 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2010-04-20 16:54:50 +0200
commit4ddb427ef96ac5e1786a9ea00e38ebc65cb2d166 (patch)
tree06035d4045c4975c4eb881bd7b775cf77fe346a5 /fs/initramfs
parentb0432db6977228b11105c6997766b76bc9cf197f (diff)
downloadbuildroot-novena-4ddb427ef96ac5e1786a9ea00e38ebc65cb2d166.tar.gz
buildroot-novena-4ddb427ef96ac5e1786a9ea00e38ebc65cb2d166.zip
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 <will_wagner@carallon.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'fs/initramfs')
-rw-r--r--fs/initramfs/initramfs.mk2
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