[elbe-devel] [PATCH 2/3] debian: use short git revision in changelog file

Thomas Weißschuh thomas.weissschuh at linutronix.de
Fri May 10 15:11:30 CEST 2024


Lintian is unhappy about the overly long package names.

Fixes the following lintian warnings:
   W: python3-elbe-buildenv: package-has-long-file-name python3-elbe-buildenv_14.9.3.c322.geaa431d27f9fa0cf983a5388a26dba96a05e1604_all.deb

Signed-off-by: Thomas Weißschuh <thomas.weissschuh at linutronix.de>
---
 contrib/dpkg-changelog-ci-entry | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/dpkg-changelog-ci-entry b/contrib/dpkg-changelog-ci-entry
index fb86de93a5e1..4e01e4fcd88f 100755
--- a/contrib/dpkg-changelog-ci-entry
+++ b/contrib/dpkg-changelog-ci-entry
@@ -2,7 +2,7 @@
 
 set -e
 
-ver="$(dpkg-parsechangelog  --show-field VERSION).c${BUILD_NUMBER:?}.g$(git rev-parse HEAD)"
+ver="$(dpkg-parsechangelog  --show-field VERSION).c${BUILD_NUMBER:?}.g$(git rev-parse --short HEAD)"
 dist="$(dpkg-parsechangelog  --show-field DISTRIBUTION)"
 
 export DEBEMAIL=nobody at linutronix.de

-- 
2.45.0



More information about the elbe-devel mailing list