[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#261073: on serial console installs, file descriptor error



* Martin Michlmayr [2004-07-24 01:45:35+0100]
> * Recai Oktas <roktas@omu.edu.tr> [2004-07-24 00:42]:
> > Could you try the patch attached?
> > +# Silently exit on a serial console.
> > +if [ "$TERM_TYPE" = serial ]; then
> 
> Doesn't work, $TERM_TYPE is not set.

This is because TERM_TYPE is set in lib/debian-installer.d/S30term-linux
which comes after calling the etc/rcS.d/S55kbd-chooser.  Here is the
excerpt from debian-installer-startup:

	for script in /lib/debian-installer-startup.d/S[0-9][0-9]* \
		/etc/rcS.d/S[0-9][0-9]*; do
	        if [ -x $script ]; then
                	$script
        	elif [ -e $script ]; then
                	. $script
        	fi
	done

Either we should install S30kbd-chooser to /lib/debian-installer.d/
(i.e. S31kbd-chooser) or we could completely move it to rootskel
package.  I think the former sounds more reasonable as for the package
maintainer convenience.

Regards,

-- 
roktas

Attachment: signature.asc
Description: Digital signature


Reply to: