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>
This commit is contained in:
parent
b0432db697
commit
4ddb427ef9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user