Hi,
I am trying to use live helper with Ubuntu. I found there is a problem in
the file /scripts/live-bottom/25configure_init from live-initramfs-1.110.7.
In a normal Ubuntu system (Ex 7.10 or 8.04 alpha3), the
/etc/event.d/tty1 is like:
---------------
...
respawn
exec /sbin/getty 38400 tty1
---------------
However, in the file /scripts/live-bottom/25configure_init from
live-initramfs-1.110.7.
--------------------
...
then
for f in /root/etc/event.d/tty*
do
sed -i -e "s|^respawn.*|respawn
/bin/login -f ${USERNAME} </dev/$(basename ${f}) > /dev/$(basename ${f})
2>\&1|" ${f}
done
fi
--------------------
IMHO, the substitute for respawn should be exec, i.e.
sed -i -e "s|^respawn.*|respawn /bin/login -f ${USERNAME}
</dev/$(basename ${f}) > /dev/$(basename ${f}) 2>\&1|" ${f}
should be modified as:
sed -i -e "s|^exec.*|exec /bin/login -f ${USERNAME} </dev/$(basename
${f}) > /dev/$(basename ${f}) 2>\&1|" ${f}
Regards,
Steven.
--
Steven Shiau <steven _at_ nchc org tw> <steven _at_ stevenshiau org>
National Center for High-performance Computing, Taiwan.
http://www.nchc.org.tw
Public Key Server PGP Key ID: 1024D/9762755A
Fingerprint: A2A1 08B7 C22C 3D06 34DB F4BC 08B3 E3D7 9762 755A
_______________________________________________
debian-live-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel