From: Don Zickus dzickus@redhat.com
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@redhat.com
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=""
+# convert from shortened git sha to standard 40 digit git 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
From: Don Zickus on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2658#note_1536013...
@prarit approved this, so resolved the conversation
From: Scott Weaver on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2658#note_1536037...
!2663 fixed this so I'm resolving this.
kernel@lists.fedoraproject.org