[Buildroot] [PATCH] sysklogd: Check for hanging link file also when installing the conf file.

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Mon Nov 7 15:21:57 UTC 2011


Le Mon, 7 Nov 2011 15:40:50 +0100,
Ryan Raasch <ryan.raasch at gmail.com> a écrit :

> -	if [ ! -f $(TARGET_DIR)/etc/syslog.conf ]; then \
> +	if [ ! -f $(TARGET_DIR)/etc/syslog.conf ] && [ ! -h $(TARGET_DIR)/etc/syslog.conf ] ; then \

Wouldn't

> -	if [ ! -e $(TARGET_DIR)/etc/syslog.conf ]; then \

Be better ?

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