[Buildroot] [PATCH 1/3 v3] package/ifupdown-scripts: new package

Arnout Vandecappelle arnout at mind.be
Sun Jul 2 16:05:48 UTC 2017



On 02-07-17 18:04, Arnout Vandecappelle wrote:
> 
> 
> On 02-07-17 16:35, Yann E. MORIN wrote:
> [snip]
>> +# ifupdown-scripts can not be selected when systemd-networkd is
>> +# enabled, so if we are enabled with systemd, we must install our
>> +# own service file.
> 
>  Leftover from a previous iteration? Now it actually can (and will be) selected
> for SYSTEMD_NETWORKD. So you need the condition here (and drop the comment).

 OTOH respinning just for this is silly.

Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>


 Regards,
 Arnout

> 
>  Regards,
>  Arnout
> 
>> +define IFUPDOWN_SCRIPTS_INSTALL_INIT_SYSTEMD
>> +	$(INSTALL) -D -m 644 $(IFUPDOWN_SCRIPTS_PKGDIR)/network.service \
>> +		$(TARGET_DIR)/etc/systemd/system/network.service
>> +	mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
>> +	ln -fs ../network.service \
>> +		$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/network.service
>> +endef
>> +
> [snip]
> 

-- 
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF


More information about the buildroot mailing list