Copy deployment scripts to ISO

Details: This commit is to copy all USM deployment scripts to ISO
/upgrades/software-deploy/ directory. These scrips will be later
 deployed to /usr/sbin/software-deploy/ during 'software upload'

Test Plan:

PASS: ISO built and scripts are in the ISO directory

Task: 48956
Story: 2010676
Change-Id: I1b8b0f56d59c04895c5c29c05886cabb42f28861
Signed-off-by: junfeng-li <junfeng.li@windriver.com>
This commit is contained in:
junfeng-li 2023-10-19 15:20:41 +00:00
parent 470b511dfe
commit 36f3dc17c1
1 changed files with 3 additions and 2 deletions

View File

@ -20,6 +20,7 @@ override_dh_install:
python3 setup.py bdist_wheel --universal -d $(CURDIR)/debian/$(PYBUILD_NAME)-wheels/usr/share/python-wheels
install -d -m 755 $(ROOT)/usr/bin
install -d -m 755 $(ROOT)/usr/sbin
install -d -m 755 $(ROOT)/usr/sbin/software-deploy
install -d -m 755 $(ROOT)/run
install -m 755 -d ${ROOT}/etc/goenabled.d
install -m 755 -d ${ROOT}/etc/init.d
@ -60,8 +61,8 @@ override_dh_install:
${ROOT}/etc/goenabled.d/software_check_goenabled.sh
install -m 444 service-files/software.logrotate \
${ROOT}/etc/logrotate.d/software
install -m 755 scripts/platform-upgrade-precheck \
${ROOT}/usr/sbin/platform-upgrade-precheck
install -m 755 scripts/prep-data-migration \
${ROOT}/usr/sbin/software-deploy/prep-data-migration
install -m 444 ${METADATA_FILE} \
${ROOT}/etc/software/${METADATA_FILE}
dh_install