diff options
author | 2017-09-21 18:10:13 -0700 | |
---|---|---|
committer | 2017-09-21 18:10:13 -0700 | |
commit | f171ecbd66a1c205fdb7331465b4662cfc16beff (patch) | |
tree | 2ebb21c6caaf2ec7188fa8a4d59ebecfea3972c6 | |
parent | create-squashfs-snapshot: use exclusion list. (diff) | |
download | mastermirror-scripts-f171ecbd66a1c205fdb7331465b4662cfc16beff.tar.gz mastermirror-scripts-f171ecbd66a1c205fdb7331465b4662cfc16beff.tar.bz2 mastermirror-scripts-f171ecbd66a1c205fdb7331465b4662cfc16beff.zip |
Fixup print-exclusion-list usage.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-rwxr-xr-x | create-squashfs-snapshot | 3 | ||||
-rwxr-xr-x[-rw-r--r--] | print-exclusion-list.sh (renamed from print-exclusion-list) | 0 | ||||
-rwxr-xr-x | snapshots-create.sh | 2 |
3 files changed, 2 insertions, 3 deletions
diff --git a/create-squashfs-snapshot b/create-squashfs-snapshot index bcdcc17..1579877 100755 --- a/create-squashfs-snapshot +++ b/create-squashfs-snapshot @@ -74,7 +74,7 @@ trap 'rm -r "${tempdir}"' EXIT # Build exclusion list EXCLUSION_LIST="$(mktemp -p "${tempdir}" squashfs-exclude.XXXXXXXXXX)" -"$(dirname $0)"/print-exclusion-list "${repodir}" >"${EXCLUSION_LIST}" +"$(dirname $0)"/print-exclusion-list.sh "${repodir}" >"${EXCLUSION_LIST}" mksquashfs_options+=( -ef "${EXCLUSION_LIST}" ) @@ -166,4 +166,3 @@ sha512sum -- *.sqfs *.sqdelta | \ gpg --yes -u "${signkeyid}" --clearsign \ --comment "Current: gentoo-${today}" --output sha512sum.txt.tmp - mv sha512sum.txt.tmp sha512sum.txt -rm -f "${EXCLUSION_LIST}" diff --git a/print-exclusion-list b/print-exclusion-list.sh index 583a492..583a492 100644..100755 --- a/print-exclusion-list +++ b/print-exclusion-list.sh diff --git a/snapshots-create.sh b/snapshots-create.sh index 1344da6..99f4d63 100755 --- a/snapshots-create.sh +++ b/snapshots-create.sh @@ -87,7 +87,7 @@ write_time_log "START TARBALL $(date -u)" if [ ! -f "${FILENAME%.bz2}" ]; then # Build exclusion list EXCLUSION_LIST="$(mktemp -p ${TEMP} snapshot-exclude.XXXXXXXXXX)" - "$(dirname $0)"/print-exclusion-list "${MASTER}" >"${EXCLUSION_LIST}" + "$(dirname $0)"/print-exclusion-list.sh "${MASTER}" >"${EXCLUSION_LIST}" TAR_OPTIONS=( # Force a small block size |