From: Patrick Talbert ptalbert@redhat.com
redhat: genlog.sh should expect genlog.py in the current directory
MR !2095 shuffled around the scripts and incorrectly changed the expected path of genlog.py. Fix it.
Signed-off-by: Patrick Talbert ptalbert@redhat.com
diff --git a/redhat/scripts/genspec/genlog.sh b/redhat/scripts/genspec/genlog.sh index blahblah..blahblah 100755 --- a/redhat/scripts/genspec/genlog.sh +++ b/redhat/scripts/genspec/genlog.sh @@ -32,7 +32,7 @@ cversion="[$DISTBASEVERSION]"; echo "* $cdate $cname $cversion" > "$clogf"
git log --topo-order --no-merges -z "$GIT_NOTES" "$GIT_FORMAT" \ - ^"${UPSTREAM}" "$lasttag".. -- ':!/redhat/rhdocs' | "${0%/*}"/scripts/genspec/genlog.py >> "$clogf" + ^"${UPSTREAM}" "$lasttag".. -- ':!/redhat/rhdocs' | "${0%/*}"/genlog.py >> "$clogf"
if [ "$HIDE_REDHAT" = "1" ]; then grep -v -e "^- [redhat]" "$clogf" |
-- https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2167
From: Herton R. Krzesinski on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2167#note_1191028...
I think that's the way to do it. It's like an script, you can't remove the genlog.sh to a separate place due the CLOGF temp file.
From: Patrick Talbert on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2167#note_1191036...
Thank you @hertonrk-rh . I will do this in a separate MR.
kernel@lists.fedoraproject.org