4 Commits

Author SHA1 Message Date
Bin Qian
d6e0e22496 Include upgrades meta files to Debian ISO
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>
2022-08-02 21:01:58 +00:00
emacdona
dd727fe1e7 debian: Add Debian packaging for platform-kickstarts
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
2022-03-24 23:46:42 +00:00
Eric MacDonald
cddb4fc6dd debian: Add debian packaging for installer/pxe-network-installer
This update adds debian packaging to the pxe-network-installer package.
This includes a set of release based bios and uefi grub menus and a
modification to the pxeboot-update.sh script to support creating
debian grub files based on host mac address.

Test Plan:

PASS: Verify package build, image build and pxeboot install
PASS: Verify package install directory structure layout
PASS: Verify packaging of new debian /var/pxeboot/pxelinux.cfg.files
PASS: Verify platform release variable substitution in new grub files
PASS: Verify pxeboot-update.sh script changes produce both bios & efi
      variable substituted mac based grub file for a provisioned host

Regression:

PASS: Verify CentOS build and system install

Story: 2009101
Task: 44677
Signed-off-by: Eric MacDonald <eric.macdonald@windriver.com>
Change-Id: I69f735ef45bf0e0ecd612f5d7a8f1fcf6e51ca88
2022-03-23 18:40:22 +00:00
Tracey Bogue
0551c665cb Add Debian packaging for mtce packages
Some of the code used TRUE instead of true which did not compile
for Debian. These instances were changed to true.
Some #define constants generated narrowing errors because their
values are negative in a 32 bit integer. These values were
explicitly casted to int in the case statements causing the errors.

Story: 2009101
Task: 43426

Signed-off-by: Tracey Bogue <tracey.bogue@windriver.com>
Change-Id: Iffc4305660779010969e0c506d4ef46e1ebc2c71
2021-10-29 09:17:00 -05:00