miniboot.cfg is the debian kickstart required for subcloud
addition (miniboot). In this commit, this file is added and
copied to the relevant locations in order to include it into the
final ISO.
Test Plan:
PASS: Verify that miniboot.cfg is included in the iso under
kickstart.
PASS: Verify that the installation of the subcloud succeeds with
this kickstart (USB Install).
Story: 2010118
Task: 45739
Signed-off-by: Shrikumar Sharma <shrikumar.sharma@windriver.com>
Change-Id: I18e48bb468ff51b8f7132b971e7f2a3bbf157451
22 lines
735 B
Makefile
22 lines
735 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
|
|
sed -i s/xxxPLATFORM_RELEASExxx/$(platform_release)/g miniboot.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}
|
|
install -d -m 755 $(ROOT)/var/pxeboot
|
|
install -p -D -m 700 menu.c32 $(ROOT)/var/pxeboot
|
|
install -p -D -m 700 miniboot.cfg $(ROOT)/var/www/pages/feed/rel-${platform_release}
|
|
dh_install
|