cvs commit: LFS/bootscripts/lfs/init.d udev

Nathan Coulson conathan at conet.dyndns.org
Mon Jun 21 16:38:02 PDT 2004


>    ETCDIR=/etc
>    EXTDIR=${DESTDIR}${ETCDIR}
>   +SHELL=/bin/sh
>
>    all: install
>
>    create-dirs:
>   -	install -d -m 755 ${EXTDIR}/rc.d/rc{0,1,2,3,4,5,6,sysinit}.d
>   +	/bin/bash -c 'install -d -m 755
> ${EXTDIR}/rc.d/rc{0,1,2,3,4,5,6,sysinit}.d'
>    	install -d -m 755 ${EXTDIR}/rc.d/init.d
>    	install -d -m 755 ${EXTDIR}/sysconfig


I was wondering if you could explain the SHELL variable, and the /bin/bash
added to the install command?  If it is not ash compliant [a guess by me],
I'd rather see it turned into 8 lines.

>    		# Assign udev to get hotplug events.  This will be overwritten
>    		# in the hotplug bootscript.
>   +		# FIXME: do we need to reorder the events using udevsend here?
>    		echo /sbin/udev > /proc/sys/kernel/hotplug

For now, Let's keep it on Zack's implementation of udev for the next
bootscript release [which should happen soon].



More information about the lfs-book mailing list