|
@@ -37,13 +37,13 @@ out=$1
|
37
|
37
|
shift
|
38
|
38
|
dir=`mktemp -d bin/iso.dir.XXXXXX`
|
39
|
39
|
cfg=$dir/isolinux.cfg
|
40
|
|
-cp -p $isolinux_bin $dir
|
|
40
|
+cp $isolinux_bin $dir
|
41
|
41
|
|
42
|
42
|
# syslinux 6.x needs a file called ldlinux.c32
|
43
|
43
|
ldlinux_c32=$(dirname ${isolinux_bin})/ldlinux.c32
|
44
|
44
|
if [ -s ${ldlinux_c32} ]
|
45
|
45
|
then
|
46
|
|
- cp -p ${ldlinux_c32} ${dir}
|
|
46
|
+ cp ${ldlinux_c32} ${dir}
|
47
|
47
|
fi
|
48
|
48
|
|
49
|
49
|
cat > $cfg <<EOF
|
|
@@ -70,7 +70,7 @@ do
|
70
|
70
|
first=$g
|
71
|
71
|
echo LABEL $b
|
72
|
72
|
echo "" KERNEL $g
|
73
|
|
- cp -p $f $dir/$g
|
|
73
|
+ cp $f $dir/$g
|
74
|
74
|
done >> $cfg
|
75
|
75
|
$mkisofs -quiet -l -o $out -c boot.cat -b isolinux.bin -no-emul-boot -boot-load-size 4 -boot-info-table $dir
|
76
|
76
|
rm -fr $dir
|