[Buildroot] [PATCH 1/1] package/dhcp: Only install the relevant unit file

Gustavo Zacarias gustavo at zacarias.com.ar
Mon Dec 1 14:20:27 UTC 2014


On 12/01/2014 11:18 AM, Nathaniel Roach wrote:

> Previous to this patch, if BR2_PACKAGE_DHCP_CLIENT was selected,
> dhcpd.service was installed to the target on systemd systems.
> 
> On the resultant system, this would mean that systemctl would
> show an error starting dhcpd.service, as the requisite files
> do not exist. This does not cause issue on sysvinit systems
> as the init scripts silently error when the files aren't found.
> 
> Fix this by adding a conditional check to the install define.
> 
> Signed-off-by: Nathaniel Roach <nroach44 at gmail.com>

Acked-by: Gustavo Zacarias <gustavo at zacarias.com.ar>




More information about the buildroot mailing list