Merge pull request #169 from stikonas/links

Merge symlinks into tarball packages.
This commit is contained in:
fosslinux 2022-05-20 22:46:30 +10:00 committed by GitHub
commit fc0368aa6a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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