From 128d70150bc0c5188503f90d4d97311d7ba40cee Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 26 Jul 2004 02:51:07 +0000 Subject: adapt to new directories layout: - Mandrake/mdkinst -> install/stage2/live - Mandrake/base/mdkinst_stage2.bz2 -> install/stage2/mdkinst_stage2.bz2 - Mandrake/base/rpmsrate -> media/media_info/rpmsrate - Mandrake/RPMS -> media/main - images -> install/images - isolinux -> install/isolinux - Mandrake/share/advertising -> install/extra/advertising --- perl-install/standalone/drakpxe | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'perl-install/standalone') diff --git a/perl-install/standalone/drakpxe b/perl-install/standalone/drakpxe index 94640b458..1d2ca35ce 100755 --- a/perl-install/standalone/drakpxe +++ b/perl-install/standalone/drakpxe @@ -192,7 +192,7 @@ If you do not have an existing directory, please copy the CD or DVD contents. [ { label => N("Installation image directory"), val => \$dir, type => 'entry' }, ]) or goto step_ip_range; -unless (-d $dir && -e "$dir/VERSION" && -d "$dir/isolinux" && -d "$dir/Mandrake/base") { +unless (-d $dir && -e "$dir/VERSION" && -d "$dir/install/isolinux" && -d "$dir/install/stage2") { $in->ask_warn(N("No image found"), N("No CD or DVD image found, please copy the installation program and rpm files.")); goto step_install_dir; @@ -203,7 +203,7 @@ unless (-d $dir && -e "$dir/VERSION" && -d "$dir/isolinux" && -d "$dir/Mandrake/ step_auto_install: -my $auto_inst_cfg = "Mandrake/base/auto_inst.cfg"; #- TODO change according configuration? +my $auto_inst_cfg = "install/auto_inst.cfg"; #- TODO change according configuration? -e "$dir/$auto_inst_cfg" or $auto_inst_cfg = ''; $in->ask_from('Choose auto installation', @@ -246,7 +246,7 @@ build_dhcpd_conf($dhcpd_conf, "/etc/dhcpd.conf"); #- make kernel and initrd available for initrd. mkdir "/var/lib/tftpboot/PXEClient/images"; -sys("cp", "-af", "$dir/isolinux/alt0", "/var/lib/tftpboot/PXEClient/images/"); +sys("cp", "-af", "$dir/install/isolinux/alt0", "/var/lib/tftpboot/PXEClient/images/"); my $pxelinux_cfg = parse_pxelinux_cfg("/var/lib/tftpboot/PXEClient/pxelinux.cfg/default"); my $label; -- cgit v1.2.1