From f2afb878f29cb7e38d3ec5ad368cea9d2c3684d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwenol=C3=A9=20Beauchesne?= Date: Tue, 26 Nov 2002 20:37:43 +0000 Subject: Only all.img is currently used on x86-64, ia64 and ppc. Therefore, don't complain nor try to stat some cdrom.img on first CD. --- perl-install/install_any.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm index 9886aedfb..a555240a1 100644 --- a/perl-install/install_any.pm +++ b/perl-install/install_any.pm @@ -776,6 +776,7 @@ sub getAndSaveInstallFloppy { cp_af("$postinstall_rpms/auto_install.img", $where); } else { my $image = cat_("/proc/cmdline") =~ /pcmcia/ ? "pcmcia" : + arch() =~ /ia64|x86_64|ppc/ ? "all" : #- we only use all.img there ${{ disk => 'hd', cdrom => 'cdrom', ftp => 'network', nfs => 'network', http => 'network' }}{$o->{method}}; $image .= arch() =~ /sparc64/ && "64"; #- for sparc64 there are a specific set of image. getAndSaveFile("images/$image.img", $where) or log::l("failed to write Install Floppy ($image.img) to $where"), return; -- cgit v1.2.1