Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Are skel.tar.gz and target_skeleton folder duplicates ?
@ 2006-11-13 14:54 Benjamin Delagoutte
  2006-11-15  6:56 ` Erik Andersen
  0 siblings, 1 reply; 3+ messages in thread
From: Benjamin Delagoutte @ 2006-11-13 14:54 UTC (permalink / raw)
  To: buildroot

Hi,

While working on writing a device profile for Buildroot, I noticed Buildroot
uses both a tarball (skel.tar.gz) and a folder (target_skeleton) to build
the rootfs tree structure.

As far as I understand, the tarball is first extracted, then we copy files
found in target_skeleton to the resulting tree.

$(TARGET_DIR):
        if [ -f "$(TARGET_SKELETON)" ] ; then \
                $(ZCAT) $(TARGET_SKELETON) | tar -C $(BUILD_DIR) -xf -; \
        fi;
        if [ -d "$(TARGET_SKEL_DIR)" ] ; then \
                cp -fa $(TARGET_SKEL_DIR)/* $(TARGET_DIR)/; \
        fi;
        touch $(STAGING_DIR)/.fakeroot.00000
        -find $(TARGET_DIR) -type d -name CVS | xargs rm -rf
        -find $(TARGET_DIR) -type d -name .svn | xargs rm -rf

Eventually I don't really understand why Buildroot makes use of two
different prebuilt trees. Do someone mind explaining me the goals of this
weird strategy ?

Thank you.

Benjamin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://busybox.net/lists/buildroot/attachments/20061113/74dff4d1/attachment.htm 

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

end of thread, other threads:[~2006-11-15  8:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-13 14:54 [Buildroot] Are skel.tar.gz and target_skeleton folder duplicates ? Benjamin Delagoutte
2006-11-15  6:56 ` Erik Andersen
2006-11-15  8:18   ` Benjamin Delagoutte

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