summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lamb <chris@chris-lamb.co.uk>2008-04-16 00:54:08 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:03:32 +0100
commit90be1cb4b56839c99a1ae632a019933c85920d39 (patch)
tree1ed47ae1f4242748ed8640181430fc47595bd895
parentcb88778a23473eb95e1cba7646bc7c2fa208e3ad (diff)
downloadvyos-live-build-90be1cb4b56839c99a1ae632a019933c85920d39.tar.gz
vyos-live-build-90be1cb4b56839c99a1ae632a019933c85920d39.zip
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.
-rwxr-xr-xhelpers/lh_binary_md5sum2
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers/lh_binary_md5sum b/helpers/lh_binary_md5sum
index edc636e17..14ecaa33e 100755
--- a/helpers/lh_binary_md5sum
+++ b/helpers/lh_binary_md5sum
@@ -55,7 +55,7 @@ fi
# Calculating md5sums
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
This file contains the list of md5 checksums of all files on this medium.