Browse Source

fix md5sums

tags/nilmdbuntu-1
Jim Paris 8 years ago
parent
commit
38c8b90b27
1 changed files with 2 additions and 3 deletions
  1. +2
    -3
      buildiso.sh

+ 2
- 3
buildiso.sh View File

@@ -24,13 +24,12 @@ printf $(sudo du -sx --block-size=1 ${FS} | cut -f1) \
| sudo tee ${ISO}/casper/filesystem.size

# md5sums
cd ${ISO}
sudo rm -f md5sum.txt
sudo find . -type f -print0 \
sudo find ${ISO} -type f -print0 \
| sudo xargs -0 md5sum \
| sed -e "s, ${ISO}/iso, .," \
| grep -v isolinux/boot.cat \
| sudo tee md5sum.txt >/dev/null
cd ..

sudo chown -R ${USER} ${ISO}



Loading…
Cancel
Save