Re: [PATCHES] 686-bigmem/Xen enabled netboot images
Ian Campbell <ijc@hellion.org.uk> writes:
<...>
> --- packages/finish-install/finish-install.d/90console (revision 54198)
> +++ packages/finish-install/finish-install.d/90console (working copy)
> @@ -118,3 +118,25 @@
> /target/etc/event.d/tty1 > /target/etc/event.d/$console
> fi
> fi
> +
> +if [ -e /sys/bus/xen ]; then
> + console=hvc0
> + log "Setting up virtualized serial console on /dev/$console"
> + if [ -f /target/etc/inittab ]; then
> + log "adding console to /etc/inittab"
> + console_line="co:2345:respawn:/sbin/getty $console 9600 linux"
> + if grep -q "^#\?co:" /target/etc/inittab; then
> + sed -i -e "s|^#\?co:.*$|$console_line|" \
> + /target/etc/inittab
> + else
> + sedexp="/^1:/i\\$console_line\\"
> + sed -i -e "$sedexp" /target/etc/inittab
> + fi
> + fi
> + if [ -f /target/etc/event.d/tty1 ]; then
> + log "adding console to /etc/event.d/tty1"
> + sed -e "s/^\(exec.*getty \).*/\1-L $console 9600 linux/" \
> + -e "s/tty1/$console/g" \
> + /target/etc/event.d/tty1 > /target/etc/event.d/$console
> + fi
> +fi
Bad coding style. Please take a look at
installer/doc/devel/codingstyle.txt on our svn repository.
All other patches are OK for me. If noone objects I think they could
be applied (except that 686-bigmem netboot image would need to be
disabled until we don't have the udebs availalable).
--
O T A V I O S A L V A D O R
---------------------------------------------
E-mail: otavio@debian.org UIN: 5906116
GNU/Linux User: 239058 GPG ID: 49A5F855
Home Page: http://otavio.ossystems.com.br
---------------------------------------------
"Microsoft sells you Windows ... Linux gives
you the whole house."
Reply to: