From 4ea909d089bcf223822d2370f022c30924dc216b Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Tue, 4 Dec 2001 15:42:15 +0000 Subject: support install from USB CDROMS (using usb-storage) --- make_boot_img | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'make_boot_img') diff --git a/make_boot_img b/make_boot_img index bc87ffa0a..71ebf2277 100755 --- a/make_boot_img +++ b/make_boot_img @@ -1,6 +1,6 @@ #!/usr/bin/perl -@ARGV >= 2 or die "usage: $0 all|other|cdrom|hd|network|usbnet|blank|pcmcia|live|tftp|tftprd\n"; +@ARGV >= 2 or die "usage: $0 all|other|cdrom|hd|network|usb|blank|pcmcia|live|tftp|tftprd\n"; use Config; use MDK::Common; @@ -34,7 +34,7 @@ $install = $ {{ tftprd => "stage1-full", pcmcia => "stage1-full", network => "stage1-network", - usbnet => "stage1-usbnet", + usb => "stage1-usb", cdrom => "stage1-cdrom", hd => "stage1-disk", live64 => "stage1-full", @@ -108,7 +108,7 @@ sub initrd { install_stripped("$instdir/init", "$mnt/sbin"); install_stripped("$instdir/$install", "$mnt/sbin/stage1"); - if ($type eq "network" || $type eq "usbnet" || $type eq "all" || $type eq "other" || $type eq "blank") { + if ($type eq "network" || $type eq "usb" || $type eq "all" || $type eq "other" || $type eq "blank") { install_stripped("$instdir/ppp/pppd-bin", "$mnt/sbin/pppd"); install_stripped("$instdir/rp-pppoe/pppoe-bin", "$mnt/sbin/pppoe"); _ "$sudo mknod $mnt/dev/ppp c 108 0"; -- cgit v1.2.1