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

Re: tail rootskel/linuxrc inconsistent



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am Mittwoch, 1. Oktober 2003 19:03 schrieb Geert Stappers:
> 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?

yes, for the boot-floppies _DEBUG should be changed to BOOT_DEBUG in linuxrcs
...

Feel free to send a patch to also add debug-shell to normal linuxrc to be
consistent with the others...

cu

Fabian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE/exVRI0lSH7CXz7MRAiq6AJsHzZrsVVCwZyxHkib/0rSODmy3PQCdF0po
wB3qlSmBuYTPLtks7yMvBaU=
=BdWN
-----END PGP SIGNATURE-----



Reply to: