From 5edd24c779890a9699a71173ed3909efef120019 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 12 Feb 2004 09:15:39 +0000 Subject: re-add cdrom-changedisk.img --- make_boot_img | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'make_boot_img') diff --git a/make_boot_img b/make_boot_img index f497dec31..79cb6ad43 100755 --- a/make_boot_img +++ b/make_boot_img @@ -37,7 +37,7 @@ my @kernels = grep { /^2/ } all('kernel/all.kernels'); my @all_images = ( - if_($arch =~ /i.86/, 'cdrom.img', 'pcmcia.img', 'isolinux', 'boot.iso', 'hd_grub.img', 'network.img', 'network_drivers.img'), + if_($arch =~ /i.86/, 'cdrom.img', 'cdrom-changedisk.img', 'pcmcia.img', 'isolinux', 'boot.iso', 'hd_grub.img', 'network.img', 'network_drivers.img'), if_($arch =~ /x86_64/, 'cdrom.img', 'isolinux', 'boot.iso'), if_($arch =~ /ia64/, 'all.img'), ); @@ -174,7 +174,8 @@ sub boot_img_i386 { _ "cat $kernel > $mnt/vmlinuz"; (my $rdz = $img) =~ s/\.img/.rdz/; - initrd($tmp_mnt_initrd, $type, $I, $rdz); + (my $initrd_type = $type) =~ s/-changedisk//; + initrd($tmp_mnt_initrd, $initrd_type, $I, $rdz); my $short_type = substr($type, 0, 8); eval { _ "cp -f $rdz $mnt/$short_type.rdz" }; if ($@) { -- cgit v1.2.1