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

tail rootskel/linuxrc inconsistent



Hello,

In rootskel are three versions of linuxrc.
I was expecting that they all all three the same, however:

$ tail -6 linuxrc*
==> linuxrc <==
mount -t proc proc proc
mount -t devfs devfs dev
# Close all open files on the initrd, and run busybox init.
rm -f linuxrc # this program
ln -s /sbin/init linuxrc
exec /usr/sbin/chroot . /linuxrc <dev/console >dev/console 2>&1
 
==> linuxrc.bootfloppy <==
ln -s /sbin/init linuxrc
if [ "$BOOT_DEBUG" -gt 0 ]; then
        echo "This is ia debug shell, just before running the new linuxrc."
        sh
fi
exec /usr/sbin/chroot . /linuxrc <dev/console >dev/console 2>&1
 
==> linuxrc.usbfloppy <==
ln -s /sbin/init linuxrc
if [ "$DEBCONF_DEBUG" -gt 0 ]; then
        echo "This is ia debug shell, just before running the new linuxrc."
        sh
fi
exec /usr/sbin/chroot . /linuxrc <dev/console >dev/console 2>&1


My questions are:

Shouldn't DEBCONF_DEBUG and BOOT_DEBUG merge into one?

Can have linuxrc also a debug shell?


Geert Stappers



Reply to: