diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2001-07-03 20:08:18 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2001-07-03 20:08:18 +0000 |
commit | a08cfceb71abf287fc2856fab1bbe6f4e5e7ba5b (patch) | |
tree | 48a7a9fe4ea17addaabfccf5306aa25bff9e05bb /make_boot_img | |
parent | ed31e129c0036ae2d8c4b530c56733ce1d244f94 (diff) | |
download | drakx-backup-do-not-use-a08cfceb71abf287fc2856fab1bbe6f4e5e7ba5b.tar drakx-backup-do-not-use-a08cfceb71abf287fc2856fab1bbe6f4e5e7ba5b.tar.gz drakx-backup-do-not-use-a08cfceb71abf287fc2856fab1bbe6f4e5e7ba5b.tar.bz2 drakx-backup-do-not-use-a08cfceb71abf287fc2856fab1bbe6f4e5e7ba5b.tar.xz drakx-backup-do-not-use-a08cfceb71abf287fc2856fab1bbe6f4e5e7ba5b.zip |
add support for install from USB Network Adapters
Diffstat (limited to 'make_boot_img')
-rwxr-xr-x | make_boot_img | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/make_boot_img b/make_boot_img index 520f10680..6afa19df9 100755 --- a/make_boot_img +++ b/make_boot_img @@ -1,6 +1,6 @@ #!/usr/bin/perl -@ARGV >= 2 or die "usage: $0 <image> all|other|cdrom|hd|network|blank|pcmcia|live|tftp|tftprd\n"; +@ARGV >= 2 or die "usage: $0 <image> all|other|cdrom|hd|network|usbnet|blank|pcmcia|live|tftp|tftprd\n"; use Config; Config->import; @@ -33,6 +33,7 @@ $install = $ {{ tftprd => "stage1-full", pcmcia => "stage1-full", network => "stage1-network", + usbnet => "stage1-usbnet", cdrom => "stage1-cdrom", hd => "stage1-disk", live64 => "stage1-full", @@ -79,7 +80,7 @@ sub initrd { install_stripped("$instdir/init", "$mnt/sbin"); install_stripped("$instdir/$install", "$mnt/sbin/stage1"); - if ($type eq "network" || $type eq "all" || $type eq "other" || $type eq "blank") { + if ($type eq "network" || $type eq "usbnet" || $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 cp -a /dev/ppp $mnt/dev"; |