From: Don Zickus <dzickus@xxxxxxxxxx> Fix tarball creation logic The create tarball logic tried to determine if the tarball existed or not by using a git sha. However the check always failed because the current sha was shortened and the tarball sha was the full 40 digits. Correct this by converting the shortened sha into the full sha so the comparison actually works. Signed-off-by: Don Zickus <dzickus@xxxxxxxxxx> diff --git a/redhat/scripts/create-tarball.sh b/redhat/scripts/create-tarball.sh index blahblah..blahblah 100755 --- a/redhat/scripts/create-tarball.sh +++ b/redhat/scripts/create-tarball.sh @@ -9,6 +9,9 @@ XZ_THREADS="--threads $RHJOBS" ARCH=$(arch) XZ_OPTIONS="" +# turn from shorten sha to 40 digit sha +_GITID="$(git rev-parse "$_GITID")" + if [ "$ARCH" != "x86_64" ] then XZ_OPTIONS="-M 3G" -- https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2658 _______________________________________________ kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/kernel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue