Fix for unetbootin creating image and install from cache

master
Mike Hiretsky 14 years ago
parent 7dfd3fe8ba
commit 294bfb05a4

@ -6,6 +6,7 @@ CHANGE LOG
* Change creating iso-image for install it to flash by using Universal Netboot Installer.
* Fix install to USB-HDD.
* Add parameter --set-uuid=on|off for use UUID label devices.
* Fix install from cache load.
1.3.4
* Add tracking of changes kernel in cl-builder.

@ -3251,6 +3251,7 @@ sub extract_exec{
#путь к squashfs в случае установки из ISO файла или с CD-ROM
my $squashfs;
if(-e "/mnt/cdrom/$data{squash_cur}"){$squashfs = "/mnt/cdrom/$data{squash_cur}";}
elsif(-e "/mnt/squash/$data{squash_cur}"){$squashfs = "/mnt/squash/$data{squash_cur}";}
elsif(-e "/mnt/$data{squash_cur}"){$squashfs = "/mnt/$data{squash_cur}";}
elsif(-e "/mnt/flash/$data{squash_cur}"){$squashfs = "/mnt/flash/$data{squash_cur}";}
@ -5274,6 +5275,13 @@ sub createiso{
$copyflash = "&& cp -r $target/* /mnt/flash/";
$isolinux = "syslinux";
}
else {
$copyflash = qq| && cp -a $target/isolinux/memtest $target/syslinux/ &&
cp -a $target/isolinux/isolinux.bin $target/syslinux/ &&
cp -a $target/isolinux/calcmenu.c32 $target/syslinux/ &&
cp $target/isolinux/boot.jpg $target/syslinux/
|;
}
#перенесем ядро и меню на флешку
if(system(qq|

Loading…
Cancel
Save