[Buildroot] [PATCH] Makefile: check rootfs overlays with BR2_ROOTFS_MERGED_USR enabled

Peter Korsgaard peter at korsgaard.com
Sat May 5 15:01:01 UTC 2018


>>>>> "Yann" == Yann E MORIN <yann.morin.1998 at free.fr> writes:

Hi,

 >> > So, I am pretty much reluctant to see this patch go in.
 >> 
 >> This change does not prevent the user from using a post-build but I'd
 >> prefer to let Buildroot check the correctness of user changes as much
 >> as possible instead of just prohibiting them.

 > It's not about prohibiting them.

 > But I'd prefer we keep things simple in Buildroot, and since there is
 > already a way to do it, I don't mind that overlays do not provide this
 > solution. A post-build script is way more versatile when it comes to
 > changing the layout.

Yes, with a post-build script you have full flexibility, but we have
quite a lot of helper functionality to handle "common" fixups in a
simpler way than though a post-build script, E.G. stripping, removing
.py files, overlays, ..

This restriction for overlays isn't obvious and wasn't originally there
(before the merged /usr support), so it is arguably a regression (but
for an edge case as this afaik is the first report of it).

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list