[Buildroot] [PATCH 1/1] fs/common.mk: move BR2_ROOTFS_POST_FAKEROOT_SCRIPT after pre cmd hooks
Peter Korsgaard
peter at korsgaard.com
Fri Oct 2 08:39:01 UTC 2020
>>>>> "Yann" == Yann E MORIN <yann.morin.1998 at free.fr> writes:
> Charles, All,
> On 2020-09-10 17:30 -0700, Charles Hardin spake thusly:
>> From: Charles Hardin <ckhardin at gmail.com>
>>
>> The fakeroot script does not appear to be used in any of the checked
>> in defconfig targets, but it seems that most often the post
>> fakeroot script should be done after all the packages rules have
>> been applied instead of before.
>>
>> Given that a change in systemd moved the SYSTEMD_PRESET_ALL hook to
>> a ROOTFS_PRE_CMD_HOOKS, there was no way to use a FAKEROOT script
>> to disable a service or fixup a systemd configuration. The systemd
>> move makes sense, and this just tries to preserve the same ability
>> to fixup a rootfs after all the cmd hooks are processed.
>>
>> Refer to commit 65b63785a642bbc565924edf365b5d7c080f961c for
>> the change that instigated this reordering.
>>
>> Signed-off-by: Charles Hardin <ckhardin at gmail.com>
> Applied to master, thanks.
Committed to 2020.08.x, thanks.
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list