
Package the banner files like we do for Centos 7. This packgae will overwrite the default /etc/issue and /etc/issue.net when the package installs. Tested: - Build package - Build image - Check the contents of the /etc/issue and /etc/issue.net Story: 2009101 Task: 44179 Signed-off-by: Charles Short <charles.short@windriver.com> Change-Id: If6d72fef0262c0b7baa5c17f09e0a57b78596387
17 lines
501 B
Makefile
17 lines
501 B
Makefile
#!/usr/bin/make -f
|
|
#export DH_VERBOSE = 1
|
|
|
|
RELEASE = 21.12
|
|
DEBIAN_ROOT = $(CURDIR)/debian/tmp
|
|
|
|
%:
|
|
dh $@
|
|
|
|
override_dh_auto_install:
|
|
install -d $(DEBIAN_ROOT)/usr/share/starlingx
|
|
install -m 644 issue $(DEBIAN_ROOT)/usr/share/starlingx/issue
|
|
install -m 644 issue.net $(DEBIAN_ROOT)/usr/share/starlingx/issue.net
|
|
sed -i -e s:@PLATFORM_RELEASE@:$(RELEASE):g $(DEBIAN_ROOT)/usr/share/starlingx/issue
|
|
sed -i -e s:@PLATFORM_RELEASE@:$(RELEASE):g $(DEBIAN_ROOT)/usr/share/starlingx/issue.net
|
|
dh_install
|