summaryrefslogtreecommitdiffstats
path: root/make_boot_img
diff options
context:
space:
mode:
Diffstat (limited to 'make_boot_img')
-rwxr-xr-xmake_boot_img4
1 files changed, 2 insertions, 2 deletions
diff --git a/make_boot_img b/make_boot_img
index 86a0c42fb..ead18c786 100755
--- a/make_boot_img
+++ b/make_boot_img
@@ -92,12 +92,12 @@ sub boot_img_i386 {
if ($type eq "hd") {
_ "bunzip2 -c $instdir/init-data/msgboot.img.bz2 > $img";
- $automatic = "automatic=type:disk";
+ $automatic = "automatic=method:disk";
} elsif ($type eq "all") {
_ "bunzip2 -c $instdir/init-data/msgboot-graphicallogo-2880.img.bz2 > $img";
} else {
_ "bunzip2 -c $instdir/init-data/msgboot-graphicallogo.img.bz2 > $img";
- $automatic = "automatic=type:cdrom" if ($type eq "cdrom");
+ $automatic = "automatic=method:cdrom" if ($type eq "cdrom");
}
_ "$sudo mount -t msdos -o umask=0 $img $mnt -o loop";
_ "cat vmlinuz > $mnt/vmlinuz" if $type !~ /blank/;