[Buildroot] [PATCH] Makefile: check rootfs overlays with BR2_ROOTFS_MERGED_USR enabled
Peter Korsgaard
peter at korsgaard.com
Sat May 5 15:26:35 UTC 2018
>>>>> "Yann" == Yann E MORIN <yann.morin.1998 at free.fr> writes:
Hi,
>> Why? Overlays is the the recommended way to add/override stuff, and the
>> 'everything-you-put-in-the-overlay-will-override-the-buildroot-defaults'
>> is a pretty nice and easy to understand behaviour.
> Well, I disagree quite a bit: overlays are ugly and 99% of what users
> do with an overlay can be done with a package (i.e. adding data blobs).
> The remaining 1% can be done with a post-build script.
> Besides, what you put in an overlay is never accoutnted for: no
> graph-size, no legal-info, no nothing...
> Repeat after me: overlays are ugly! ;-)
> Two things that overlays are noce for:
> - provide /etc/-style config files to be written over the default ones,
> - provide test-data that is not supposed to go into production, and
> for which a package may be a bit overkill, and even then...
> Otherwise, overlays are just a pita and, long term, are a liability...
Do you feel better now? ;) I agree that they can be abused - But don't
forget, overlays were added to get people away from custom skeletons. I
still find overlays quite a bit nicer than custom skeletons.
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list