Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] rootfs hooks okay to use?
@ 2012-09-19  1:44 Danomi Manchego
  2012-09-19  5:14 ` Thomas Petazzoni
  2012-09-19  6:19 ` Arnout Vandecappelle
  0 siblings, 2 replies; 6+ messages in thread
From: Danomi Manchego @ 2012-09-19  1:44 UTC (permalink / raw)
  To: buildroot

Hi all,

I tried adding something like this to one of our proprietary packages:

+define TEST_PRE_GEN_HOOK_FIXUP
+ echo "This is a test hook"
+endef
+
+ROOTFS_CRAMFS_PRE_GEN_HOOKS    += TEST_PRE_GEN_HOOK_FIXUP
+ROOTFS_CLOOP_PRE_GEN_HOOKS     += TEST_PRE_GEN_HOOK_FIXUP
+ROOTFS_EXT2_PRE_GEN_HOOKS      += TEST_PRE_GEN_HOOK_FIXUP
+ROOTFS_JFFS2_PRE_GEN_HOOKS     += TEST_PRE_GEN_HOOK_FIXUP
+ROOTFS_UBIFS_PRE_GEN_HOOKS     += TEST_PRE_GEN_HOOK_FIXUP
+ROOTFS_SQUASHFS_PRE_GEN_HOOKS  += TEST_PRE_GEN_HOOK_FIXUP
+ROOTFS_TAR_PRE_GEN_HOOKS       += TEST_PRE_GEN_HOOK_FIXUP
+ROOTFS_CPIO_PRE_GEN_HOOKS      += TEST_PRE_GEN_HOOK_FIXUP
+ROOTFS_ISO9660_PRE_GEN_HOOKS   += TEST_PRE_GEN_HOOK_FIXUP
+ROOTFS_INITRAMFS_PRE_GEN_HOOKS += TEST_PRE_GEN_HOOK_FIXUP
+ROOTFS_ROMFS_PRE_GEN_HOOKS     += TEST_PRE_GEN_HOOK_FIXUP

But when I run make, I get:

fs/cpio/cpio.mk:32: *** missing separator (did you mean TAB instead of 8
spaces?).  Stop.
make: *** [all] Error 2

So - are the rootfs hooks okay for general use, or are they reserved
strictly for fs/*/*.mk use?

Thanks again,
Danomi -
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20120918/62815c5c/attachment.html>

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

end of thread, other threads:[~2012-09-20  3:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-19  1:44 [Buildroot] rootfs hooks okay to use? Danomi Manchego
2012-09-19  5:14 ` Thomas Petazzoni
2012-09-20  1:58   ` Danomi Manchego
2012-09-19  6:19 ` Arnout Vandecappelle
2012-09-20  2:38   ` Danomi Manchego
2012-09-20  3:56     ` Danomi Manchego

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