[Buildroot] [PATCH] package/edk2-platforms: fix installation
Peter Korsgaard
peter at korsgaard.com
Thu Oct 21 14:32:23 UTC 2021
>>>>> "Yann" == Yann E MORIN <yann.morin.1998 at free.fr> writes:
> There are currently three issues with the installation step:
> 1. it does not ensure the parent destination directory exists before
> copying into it, so if /usr/share has not been created in the
> dependency chain of edk2-platforms, the installation fails, which
> may very well happen easily as edk2-plaforms has nothing in its
> dependency chain (except the toolchain et al.);
> 2. all our dot-stampfiles and .files-list are also copied, as well as
> the Readme, license files, and maintainers file. All of those are
> useless on the target (and the .files-list introduce
> non-reproduciiblity);
> 3. of a lesser importance, the construct to install, and specifically
> to reinstall, does not match what we usually do in Buildroot
> (removal of the directory to copy).
> We fix all three in one fell swoop:
> 1. create the destination directory if needed;
> 2. copy just the directories with the actual platform descriptions
> Signed-off-by: Yann E. MORIN <yann.morin.1998 at free.fr>
> Cc: Dick Olsson <hi at senzilla.io>
> Cc: Kory Maincent <kory.maincent at bootlin.com>
Committed to 2021.08.x, thanks.
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list