Custom tools: prevent a warning if no md5sum for patches
This commit is contained in:
parent
2257bd71b7
commit
2718053f55
2 changed files with 2 additions and 1 deletions
|
@ -110,7 +110,7 @@ add_CustomToolsURLS() { # Add any users supplied scripts URL informat
|
|||
echo "${URL} ${BLFS_SERVER}${PKG}/${PKG_FILE} ${MD5}" >> urls.lst.tmp
|
||||
# Add any patches..
|
||||
for PATCH in PATCH{1..10}; do
|
||||
[[ -n ${!PATCH} ]] && echo "dummy-url ${!PATCH}" >> urls.lst.tmp
|
||||
[[ -n ${!PATCH} ]] && echo "dummy-url ${!PATCH} CUSTOM-PATCH-MD5SUM" >> urls.lst.tmp
|
||||
done
|
||||
done
|
||||
cat urls.lst.tmp >> $BUILDDIR/sources/urls.lst
|
||||
|
|
|
@ -80,6 +80,7 @@ get_sources() { # Download file, write name to MISSING_FILES.DMP if
|
|||
[[ $BOOKMD5 = "BOOTSCRIPTS-MD5SUM" ]] && continue
|
||||
[[ $BOOKMD5 = "UDEV-MD5SUM" ]] && continue
|
||||
[[ $BOOKMD5 = "LFS-NETSCRIPTS-MD5SUM" ]] && continue
|
||||
[[ $BOOKMD5 = "CUSTOM-PATCH-MD5SUM" ]] && continue
|
||||
|
||||
# IF the md5sum does not match the existing files
|
||||
if ! echo "$MD5" | md5sum -c - >/dev/null ; then
|
||||
|
|
Reference in a new issue