Merge symlinks into tarball packages.

This commit is contained in:
Andrius Štikonas 2022-05-18 23:58:01 +01:00
parent 081912058f
commit 8f61b8400e
6 changed files with 45 additions and 169 deletions

View file

@ -93,9 +93,10 @@ if [ "$FORCE_TIMESTAMPS" = True ] ; then
canonicalise_all_files_timestamp
fi
shopt -s extglob
if [ "$UPDATE_CHECKSUMS" = True ] ; then
pushd /usr/src/repo
sha256sum -- * | tee "${SOURCES}/SHA256SUMS.pkgs"
sha256sum -- !(*-repodata) | tee "${SOURCES}/SHA256SUMS.pkgs"
popd
fi