> Pixel <[EMAIL PROTECTED]> writes:
[...]
>
>       postInstallNonRooted => '
> /usr/bin/modprobe vfat
> ',
>       postInstall => '
> mount -r -t vfat /dev/fd0 /mnt/floppy
> sleep 1000
> ',

As this discussion was private I found interesting to now post it on the
list.
This code is to mount the floppy on the postinstall and will only work with
the latest CVS.

Alternatively for the 7.2 installer Pixel give me this patch to add at the
end of the auto_install.cfg.pl

use install_steps_auto_install;
package install_steps_auto_install;

log::l("Patch mounting the floppy before the postinstall section");

my $f = \&exitInstall;
undef *exitInstall;
*exitInstall = sub {
    my ($o) = @_;
    $f->(@_);
    eval { modules::load("vfat") };
    fs::mount(devices::make('fd0'), "/mnt/mnt/floppy", "vfat", 1);
};

This mount the floppy on /mnt/floppy under the chrooted environment.

Thomas


Reply via email to