
Add upgrades meta files to /upgrades directory in Debian ISO. Files include: version Version file to indicate the ISO release version metadata.xml Supportted upgrade path, and required patch import.sh Shell script to import the ISO load into StarlingX system pxeboot-update-<rel-ver>.sh Shell script to update pxeboot config file for new release Test cases: Build Debian ISO and visually inspect the existance of files list above in /upgrades directory of Debian ISO. Build Centos ISO with no changes. Story: 2009303 Task: 45830 Change-Id: I1f0b42c6c37943b19bdf5dd7baaf81da5d1eef7a Signed-off-by: Bin Qian <bin.qian@windriver.com>
16 lines
299 B
Makefile
16 lines
299 B
Makefile
#!/usr/bin/make -f
|
|
|
|
# export DH_VERBOSE = 1
|
|
export ROOT=$(CURDIR)/debian/tmp
|
|
|
|
%:
|
|
dh $@
|
|
|
|
override_dh_install:
|
|
install -v -d -m 755 $(ROOT)/opt/upgrades
|
|
|
|
install -p -D -m 700 import.sh $(ROOT)/opt/upgrades/import.sh
|
|
install -p -D -m 600 metadata.xml $(ROOT)/opt/upgrades/metadata.xml
|
|
|
|
dh_install
|