
Add Debian packaging infrastructure for platform-kickstarts Test Plan: PASS: Verify CentOS package build and iso create PASS: Verify Debian package build and iso create PASS: Verify PXE Boot install with kickstart (single disk) PASS: Verify kickstart xxxPLATFORM_RELEASExxx variable replacement PASS: Verify platform backup partition creation and persistence PASS: Verify single disk vg and lv setup ; log and scratch PASS: Verify install traits=controller,worker boot paramter handling PASS: Verify disk boot kernel parameter cmdline update (aio) PASS: Verify platform.conf setup PASS: Verify INSTALL_UUID setup PASS: Verify boot interface setup, dhcp and login support PASS: Verify install script and logs preserved over an install PASS: Verify instdev with by-path notation PASS: Verify ostree repo pull to feed dir Limitations: - Single Disk install - Currently investigating lv leaking to other disks - Do not specify lowlatency trait without low latency kernel - USB install does not use this kickstart yet ; its not in the iso Story: 2009101 Task: 44658 Depends-On: https://review.opendev.org/c/starlingx/tools/+/834375 Co-authored-by: Eric MacDonald <Eric.Macdonald@windriver.com> Co-authored-by: Leonardo Fagundes Luz Serrano <Leonardo.FagundesLuzSerrano@windriver.com> Signed-off-by: emacdona <eric.macdonald@windriver.com> Change-Id: I50bb797bedd9fb7f7ab1bbdae6e6f22b1023f1fb
18 lines
491 B
Makefile
18 lines
491 B
Makefile
#!/usr/bin/make -f
|
|
|
|
# export DH_VERBOSE = 1
|
|
export ROOT=$(CURDIR)/debian/tmp
|
|
export platform_release="$(shell grep SW_VERSION /usr/include/build_info.h | cut -d ' ' -f 3)"
|
|
|
|
%:
|
|
dh $@
|
|
|
|
override_dh_auto_configure:
|
|
sed -i s/xxxPLATFORM_RELEASExxx/$(platform_release)/g kickstart.cfg
|
|
dh_auto_configure
|
|
|
|
override_dh_install:
|
|
install -d -m 755 $(ROOT)/var/www/pages/feed/rel-${platform_release}
|
|
install -p -D -m 700 kickstart.cfg $(ROOT)/var/www/pages/feed/rel-${platform_release}
|
|
dh_install
|