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:
Chris Lamb 2008-04-16 00:54:08 +01:00
parent 8f39f474b7
commit 24200e1a2c
1 changed files with 1 additions and 1 deletions

View File

@ -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.