Bugfix of installation from liveDVD in builder mode

master
Mike Hiretsky 14 years ago
parent 15896a6315
commit ec52ee210a

@ -3,6 +3,7 @@ CHANGE LOG
1.3.10
* Delete support Anticipatory Scheduler.
* Add setting of gdm.
* Fix system installation from LiveDVD/LiveUSB in builder mode.
1.3.9
* Add change partition id for system installation.

@ -3358,11 +3358,11 @@ sub extract_exec{
return system("$data{path} rsync -a /mnt/cdrom/ $data{mount}");
}elsif(!$data{scratch_ws}){
my $install_from;
if($data{linux} =~ m/iso$/ || $data{stage} =~ m/iso$/ ){
if($data{linux} =~ m/iso$/ || $data{stage} =~ m/iso$/ ||
( $data{scratch} eq "on" && $data{load} eq "ram" )){
system "$data{path} mkdir /mnt/squashfs && mount -o loop $squashfs /mnt/squashfs";
$install_from = "/mnt/squashfs";
}
else {
} else {
$install_from = "/mnt/livecd";
}
#установка с ISO файла на жесткий диск ($data{type} = "hdd" или "usb-hdd")

Loading…
Cancel
Save