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

Re: cvs commit to debian-installer/tools/disk-detect/debian by pere



Debian Boot CVS Master wrote:
> Repository: debian-installer/tools/disk-detect/debian
> who:        pere
> time:       Sun Oct 27 10:17:34 MST 2002
> Log Message:
>   Make sure driver modules fetched from floppy are owned by root, to avoid rejections from depmod -a.

I said this before, but the entire premise of this debian-installer
module is flawed. We do not want ad-hod stuff like this is
debian-installer:

 A driver floppy is a ext2 floppy with one file modules.tgz.  The
 content of modules.tgz is unpackaged in the installation system root
 directory.

                log "Copying modules.tgz from ext2 modules disk... "
                gunzip -c /mnt/modules.tgz | tar xf - $module.o
                umount /mnt

Instead, another modules udeb should be created, which can be depended on
by disk-detect or something, and loaded with a standard debian-installer
retriever. We also need a proper floppy-based retriever.

            echo "Please insert the modules disk and press Enter to continue, or type"
            echo -n "\`q' to skip loading PCMCIA drivers: "
            read input
            mounted=0
            if [ "$input" = "q" ]
            then
                break
            fi
            load_floppy_driver
            mount -t ext2 $floppydev /mnt
            if [ "$?" = "0" ]
            then
                if [ -f /mnt/pcmcia.tgz ]

This part is beyond broken, it does not even use debconf for prompting!

-- 
see shy jo

Attachment: pgpDr3xzEA1xV.pgp
Description: PGP signature


Reply to: