|
|
|
@ -5453,10 +5453,16 @@ sub createiso{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#перенесем ядро и меню на флешку
|
|
|
|
|
my $addsoft;
|
|
|
|
|
{
|
|
|
|
|
my $mempath = "$data{tmpdir}/livecd/calculate/boot/memtest86plus/memtest.bin";
|
|
|
|
|
if(-e $mempath){$addsoft .= "cp -a $mempath $target/$isolinux/memtest &&";}
|
|
|
|
|
}
|
|
|
|
|
if(-e /livecd/calculate/boot/memtest86plus/memtest.bin
|
|
|
|
|
if(system(qq|
|
|
|
|
|
cp $data{tmpdir}/livecd/calculate/boot/vmlinuz $target/boot/vmlinuz &&
|
|
|
|
|
cp $data{tmpdir}/livecd/calculate/boot/initrd $target/boot/ &&
|
|
|
|
|
cp -a $data{tmpdir}/livecd/calculate/boot/memtest86plus/memtest.bin $target/$isolinux/memtest &&
|
|
|
|
|
$addsoft
|
|
|
|
|
cp -a $data{tmpdir}/livecd/calculate/usr/share/syslinux/isolinux.bin $target/$isolinux/ &&
|
|
|
|
|
cp -a $data{tmpdir}/livecd/calculate/usr/share/syslinux/calcmenu.c32 $target/$isolinux/ &&
|
|
|
|
|
cp $data{tmpdir}/livecd/calculate/boot/boot.jpg $target/$isolinux/ $copyflash
|
|
|
|
|