|
|
|
@ -3285,6 +3285,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}";}
|
|
|
|
|
|
|
|
|
@ -5308,6 +5309,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|
|
|
|
|
|