[Buildroot] Where does post-build script belong?
Peter Korsgaard
jacmet at uclibc.org
Fri Mar 16 21:30:41 UTC 2012
>>>>> "Grant" == Grant Edwards <grant.b.edwards at gmail.com> writes:
Hi,
Grant> The doc says one of the options for customizing the filesystem is
Grant> * Create your own target skeleton. You can start with the default
Grant> skeleton available under fs/skeleton and then customize it to suit
Grant> your needs. The BR2_ROOTFS_SKELETON_CUSTOM and
Grant> BR2_ROOTFS_SKELETON_CUSTOM_PATH will allow you to specify the
Grant> location of your custom skeleton. At build time, the contents of
Grant> the skeleton are copied to output/target before any package
Grant> installation.
Grant> I read that as meaning buildroot will use my own customized target
Grant> skeleton instead of the default one. Previously in the thread when
Grant> people mentioned custom skeletons, I thought that option was what they
Grant> were talking about.
We had support for custom target skeletons pretty much forever, and that
is still supported. What the recent discussion has been about is a
different approach to pretty much do the same. Stick with the default
skeleton, but add any customization at the END of the build sequence
using the post-build script.
Both approaches have advantages and disadvantages, it depends on how
closely your needs are to the default skeleton, and if you want to
automatically use any changes to the default skeleton when you upgrade
your buildroot version.
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list