summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Wagner <will_wagner@carallon.com>2010-04-20 14:31:01 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2010-04-20 14:54:50 (GMT)
commit4ddb427ef96ac5e1786a9ea00e38ebc65cb2d166 (patch)
tree06035d4045c4975c4eb881bd7b775cf77fe346a5
parentb0432db6977228b11105c6997766b76bc9cf197f (diff)
downloadbuildroot-4ddb427ef96ac5e1786a9ea00e38ebc65cb2d166.tar.gz
buildroot-4ddb427ef96ac5e1786a9ea00e38ebc65cb2d166.tar.bz2
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>
-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 9aaf1b0..3e81567 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