Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] initramfs: fix init symlink
@ 2010-04-20 14:31 Will Wagner
  2010-04-20 14:55 ` Peter Korsgaard
  0 siblings, 1 reply; 2+ messages in thread
From: Will Wagner @ 2010-04-20 14:31 UTC (permalink / raw)
  To: buildroot

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>
---
 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 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
-- 
1.7.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH] initramfs: fix init symlink
  2010-04-20 14:31 [Buildroot] [PATCH] initramfs: fix init symlink Will Wagner
@ 2010-04-20 14:55 ` Peter Korsgaard
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2010-04-20 14:55 UTC (permalink / raw)
  To: buildroot

>>>>> "Will" == Will Wagner <will_wagner@carallon.com> writes:

 Will> When initramfs was ported to the new fs structure the init symlink
 Will> macro was defined, but forgot to add it to PRE_GEN_HOOKS

Committed, thanks!

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-04-20 14:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-20 14:31 [Buildroot] [PATCH] initramfs: fix init symlink Will Wagner
2010-04-20 14:55 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox