[Buildroot] [PATCH v2] package/dhcp: fix installation with BR2_STATIC_LIBS=y

Thomas Petazzoni thomas.petazzoni at bootlin.com
Fri Aug 9 20:56:17 UTC 2019


Hello,

On Fri,  9 Aug 2019 09:05:44 -0300
unixmania at gmail.com wrote:

> From: Carlos Santos <unixmania at gmail.com>
> 
> Use the "install-sbinPROGRAMS" make target to install the utilities
> instead of guessing their locations. We disable libtool for static
> builds so the binaries are not always in a ".libs" subdir.
> 
> Fixes:
>   http://autobuild.buildroot.net/results/0c43c02b8d418b60b4734187abde1da585e9e0ca/
>   http://autobuild.buildroot.net/results/e61b246df60af1e59b8f643510557ef2270f2d97/
> 
> Signed-off-by: Carlos Santos <unixmania at gmail.com>
> ---
>  package/dhcp/dhcp.mk | 9 ++++-----
>  1 file changed, 4 insertions(+), 5 deletions(-)

Applied to master, thanks. It is worth mentioning that dhcp installs a
dangling symlink:

$ ls -l output/target/usr/sbin/
total 344
-rwxr-xr-x 1 thomas thomas 321496  9 août  22:53 dhcpd
-rwxr-xr-x 1 thomas thomas  26064  9 août  22:53 dhcrelay
lrwxrwxrwx 1 thomas thomas     12  9 août  22:52 tsig-keygen -> ddns-confgen

ddns-confgen is not installed, so tsig-keygen doesn't point to anything.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



More information about the buildroot mailing list