Debian: Update login banner to show current version
The software version in the login banner was hard coded to 21.12. This change derives the version from build-info, using the same build procedure as platform-kickstarts uses. Test Plan: Build / Install / Boot on Debian and verify the banner shows the proper version at the login prompt. Story: 2009754 Task: 45227 Signed-off-by: Al Bailey <al.bailey@windriver.com> Change-Id: Icb12f4da3029eee3fa87e4d09014858d50ee2f74
This commit is contained in:
parent
682bacceb6
commit
96a5e56f5d
|
@ -2,7 +2,8 @@ Source: debian-release-config
|
||||||
Section: admin
|
Section: admin
|
||||||
Priority: optional
|
Priority: optional
|
||||||
Maintainer: Starlingx Developers <starlingx-discuss@lists.starlingx.io>
|
Maintainer: Starlingx Developers <starlingx-discuss@lists.starlingx.io>
|
||||||
Build-Depends: debhelper-compat (= 13)
|
Build-Depends: debhelper-compat (= 13),
|
||||||
|
build-info-dev
|
||||||
Standards-Version: 4.4.1
|
Standards-Version: 4.4.1
|
||||||
Homepage: https://www.starlingx.io
|
Homepage: https://www.starlingx.io
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/usr/bin/make -f
|
#!/usr/bin/make -f
|
||||||
#export DH_VERBOSE = 1
|
#export DH_VERBOSE = 1
|
||||||
|
|
||||||
RELEASE = 21.12
|
export RELEASE="$(shell grep SW_VERSION /usr/include/build_info.h | cut -d ' ' -f 3)"
|
||||||
DEBIAN_ROOT = $(CURDIR)/debian/tmp
|
DEBIAN_ROOT = $(CURDIR)/debian/tmp
|
||||||
|
|
||||||
%:
|
%:
|
||||||
|
|
Loading…
Reference in New Issue