[Buildroot] [PATCH] avahi: only install default.script/S05avahi-setup.sh if not present in fs skeleton

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Tue Jul 17 21:45:35 UTC 2012


Le Wed, 11 Jul 2012 00:14:36 -0400,
Danomi Manchego <danomimanchego123 at gmail.com> a écrit :

> +	if [ ! -f $(TARGET_DIR)/usr/share/udhcpc/default.script ]; then \
> +		$(INSTALL) -m 0755 -D package/avahi/busybox-udhcpc-default.script \
> +			$(TARGET_DIR)/usr/share/udhcpc/default.script; \
> +	fi

This doesn't work: the Busybox package already installs a
default.script file in usr/share/udhcpc. If avahi is built before
Busybox, then you'll have the Avahi script. If Busybox is built before
Avahi, then you'll have the Busybox script. This doesn't look correct.

Best regards,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com


More information about the buildroot mailing list