summaryrefslogtreecommitdiffstats
path: root/scripts/lib/buildstats.py
diff options
context:
space:
mode:
authorYi Zhao <yi.zhao@eng.windriver.com>2025-07-02 15:28:52 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-07-03 10:40:16 +0100
commit7e3e3feb5a5ed8055b481a72f3c349c2f4cd3255 (patch)
tree4e4929f31b61009aef6a9acfea6b5964d99fecc4 /scripts/lib/buildstats.py
parentbb59fbb5e69ddfafdc956e4bf6892fbe0f0a6bb6 (diff)
downloadpoky-7e3e3feb5a5ed8055b481a72f3c349c2f4cd3255.tar.gz
gnupg: drop -unknown suffix from version number
For gnupg and related packages, if autogen.sh is run outside of a git repo, the find-version function always assumes that the package is a beta version and adds the suffix '-unknown' to the version number. Add drop-unknow-suffix.inc file that can be included by gnupg and other recipes. This file is used to modify autogen.sh: 1. Replace beta=yes with beta=no. 2. Replace tmp="-unknown" with tmp="" Also remove 0004-autogen.sh-fix-find-version-for-beta-checking.patch as it is no longer needed. Befor the fix: $ gpg --version gpg (GnuPG) 2.5.5-unknown After the fix: $ gpg --version gpg (GnuPG) 2.5.5 (From OE-Core rev: f6efe56a8c73ae9f58cb70f1469c617ff0647b49) Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/buildstats.py')
0 files changed, 0 insertions, 0 deletions