diff --git a/common/libs/func_custom_pkgs b/common/libs/func_custom_pkgs index d865f98..b671446 100644 --- a/common/libs/func_custom_pkgs +++ b/common/libs/func_custom_pkgs @@ -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 diff --git a/common/libs/func_download_pkgs b/common/libs/func_download_pkgs index 041a947..3cd5707 100644 --- a/common/libs/func_download_pkgs +++ b/common/libs/func_download_pkgs @@ -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