[Buildroot] [PATCH 1/3] package/bash: use --bindir instead of exec_prefix=
Peter Korsgaard
peter at korsgaard.com
Mon Apr 26 19:02:38 UTC 2021
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni at bootlin.com> writes:
> We want bash to be installed as /bin/bash. For ages, Buildroot has
> been doing this by overriding exec_prefix at install time. First of
> all, it would be preferred to do this at configure time. But also,
> overriding exec_prefix not only changes where "bash" goes, but also
> where the pkgconfig file goes. Due to this, bash.pc goes into
> /lib/pkgconfig/, and doesn't get removed by target-finalize.
> Since all we want is to have 'bash' as /bin/bash, simply pass
> --bindir=/bin at configure time. This allows to use the default target
> installation logic for autotools-package. We keep a post-install
> target hook to remove /bin/bashbug.
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
> Cc: Nicolas Cavallari <nicolas.cavallari at green-communications.fr>
Committed to 2021.02.x, thanks.
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list