Use "find -path" for matching "path/to/file" files (Closes: #476206)
This means that /isolinux/isolinux.bin and /boot/grub/stage2_eltorito are not included in md5sum files anymore as intended. It also prevents a strange and verbose warning from appearing in build logs. Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
This commit is contained in:
parent
8f39f474b7
commit
24200e1a2c
|
@ -55,7 +55,7 @@ fi
|
||||||
|
|
||||||
# Calculating md5sums
|
# Calculating md5sums
|
||||||
cd binary
|
cd binary
|
||||||
find . -type f \! -name 'isolinux/isolinux.bin' \! -name 'boot/grub/stage2_eltorito' -print0 | sort -z | xargs -0 md5sum > ../md5sum.txt
|
find . -type f \! -path './isolinux/isolinux.bin' \! -path './boot/grub/stage2_eltorito' -print0 | sort -z | xargs -0 md5sum > ../md5sum.txt
|
||||||
|
|
||||||
cat > md5sum.txt << EOF
|
cat > md5sum.txt << EOF
|
||||||
This file contains the list of md5 checksums of all files on this medium.
|
This file contains the list of md5 checksums of all files on this medium.
|
||||||
|
|
Loading…
Reference in New Issue