macos: mkisofs includes the path to its input as extra unwanted directories in the iso

This commit is contained in:
Georges Dupéron 2018-08-27 08:42:50 +02:00
parent ce91fb7372
commit 36e21f43c4
No known key found for this signature in database
GPG Key ID: C7976374130A80F7

View File

@ -206,7 +206,7 @@ ${bld}/os.iso: ${bld}/iso_files/os.zip ${bld}/iso_files/boot/iso_boot.sys ${bld}
! test -d ${bld}/iso_files.tmp ! test -d ${bld}/iso_files.tmp
cp -a -T -- ${bld}/iso_files ${bld}/iso_files.tmp cp -a -T -- ${bld}/iso_files ${bld}/iso_files.tmp
find ${bld}/iso_files.tmp -depth -exec touch -t ${commit_timestamp} '{}' ';' find ${bld}/iso_files.tmp -depth -exec touch -t ${commit_timestamp} '{}' ';'
faketime -f ${commit_faketime} mkisofs \ (cd ./${bld}/iso_files.tmp/ && faketime -f ${commit_faketime} mkisofs \
--input-charset utf-8 \ --input-charset utf-8 \
-rock \ -rock \
-joliet \ -joliet \
@ -215,8 +215,8 @@ ${bld}/os.iso: ${bld}/iso_files/os.zip ${bld}/iso_files/boot/iso_boot.sys ${bld}
-no-emul-boot \ -no-emul-boot \
-boot-load-size 4 \ -boot-load-size 4 \
-pad \ -pad \
-output $@ \ -output ../os.iso \
./${bld}/iso_files.tmp/ .)
rm -- ${bld}/iso_files.tmp/os.zip \ rm -- ${bld}/iso_files.tmp/os.zip \
${bld}/iso_files.tmp/boot/iso_boot.sys ${bld}/iso_files.tmp/boot/iso_boot.sys
rmdir ${bld}/iso_files.tmp/boot/ rmdir ${bld}/iso_files.tmp/boot/