metal/installer/pxe-network-installer/pxe-network-installer
Eric MacDonald b5d22ef3e7 Create new pxeboot feed refresh script and service
This update introduces a new script that can be called
by patching to refresh the kernel, initrd and other
system node install feed staged files in support of
kernel patching.

This update also introduces and enables new service file
that triggers the creation of the pxeboot feeds or refreshes
the pxeboot feeds if what they contain does not match the
content in /boot.

Both new script and service files are added to the
pxe-network-installer package so they get installed
into the filesystem properly.

Lastly, there are 2 kickstart changes implemented.
 1. The kickstart code that copied the kickstart files from
      /var/www/pages/feed/rel-xx.xx/
      to
      /var/www/pages/feed/rel-xx.xx/kickstart
    is removed in favor of the pxe-network-installer package
    doing that automatically.
 2. The kickstart is modified to remove the previous pxeboot
    feed fetch and creation function.
    One exception to this is the efi.img file, its fetch remains.
    Note the efi image is currenly not included in the /boot dir.

Test Plan:

PASS: Verify Debian build and AIO DX install (cd and pxe installs)
PASS: Verify Debian Standard 2+1 DX system install
PASS: In above cases verify end-to-end handling of the following
      test case staging.
PASS: Verify pxeboot feed staging on subcloud controller-0 install
PASS: Verify pxeboot feed file positioning in
      - /var/pxeboot/rel-xx.xx (kernel and initrd images)
      - /var/www/pages/feed/rel-xx.xx/pxeboot (kernel/initrd images)
      - /var/www/pages/feed/rel-xx.xx/pxeboot/EFI/BOOT (other files)
      - /var/pxeboot and /var/www/pages/feed/rel-xx.xx (efi.img)
PASS: Verify rsync bypass for the above cases when the files match
      - complete and partial cases
PASS: Verify staging when the stage dirs are missing
      - complete and partial cases
PASS: Verify staging when stage files mismatch
      - complete and partial cases
PASS: Verify service enable on controllers for AIO and STD configs
PASS: Verify kickstart file position change
PASS: Verify shellcheck static analysis
PASS: Verify pxeboot_feed.sh script error handling
PASS: Verify pxeboot_feed.sh script logging

Story: 2009968
Task: 46789
Signed-off-by: Eric MacDonald <eric.macdonald@windriver.com>
Change-Id: Ic98b2686c417103749cb777adb28ac73ac1d397c
2022-11-20 15:36:23 +00:00
..
pxeboot Debian: Package instead of fetch pxeboot utilities 2022-10-23 11:07:47 +00:00
LICENSE StarlingX open source release updates 2018-05-31 07:36:43 -07:00
centos-pxe-controller-install Configurable Host HTTP/HTTPS Port Binding 2019-02-06 16:04:07 -06:00
centos-pxe-smallsystem-install Configurable Host HTTP/HTTPS Port Binding 2019-02-06 16:04:07 -06:00
centos-pxe-smallsystem_lowlatency-install Configurable Host HTTP/HTTPS Port Binding 2019-02-06 16:04:07 -06:00
centos-pxe-storage-install Configurable Host HTTP/HTTPS Port Binding 2019-02-06 16:04:07 -06:00
centos-pxe-worker-install Configurable Host HTTP/HTTPS Port Binding 2019-02-06 16:04:07 -06:00
centos-pxe-worker_lowlatency-install Configurable Host HTTP/HTTPS Port Binding 2019-02-06 16:04:07 -06:00
debian-pxe-controller-install Debian: Update System node install grub menus 2022-07-06 14:55:58 +00:00
debian-pxe-smallsystem-install Debian: Update System node install grub menus 2022-07-06 14:55:58 +00:00
debian-pxe-smallsystem_lowlatency-install Debian: Update System node install grub menus 2022-07-06 14:55:58 +00:00
debian-pxe-storage-install Debian: Update System node install grub menus 2022-07-06 14:55:58 +00:00
debian-pxe-worker-install Debian: Update System node install grub menus 2022-07-06 14:55:58 +00:00
debian-pxe-worker_lowlatency-install Debian: Update System node install grub menus 2022-07-06 14:55:58 +00:00
default StarlingX open source release updates 2018-05-31 07:36:43 -07:00
default.static StarlingX open source release updates 2018-05-31 07:36:43 -07:00
efi-centos-pxe-controller-install Configurable Host HTTP/HTTPS Port Binding 2019-02-06 16:04:07 -06:00
efi-centos-pxe-smallsystem-install Configurable Host HTTP/HTTPS Port Binding 2019-02-06 16:04:07 -06:00
efi-centos-pxe-smallsystem_lowlatency-install Configurable Host HTTP/HTTPS Port Binding 2019-02-06 16:04:07 -06:00
efi-centos-pxe-storage-install Configurable Host HTTP/HTTPS Port Binding 2019-02-06 16:04:07 -06:00
efi-centos-pxe-worker-install Configurable Host HTTP/HTTPS Port Binding 2019-02-06 16:04:07 -06:00
efi-centos-pxe-worker_lowlatency-install Configurable Host HTTP/HTTPS Port Binding 2019-02-06 16:04:07 -06:00
efi-debian-pxe-controller-install Debian: Update System node install grub menus 2022-07-06 14:55:58 +00:00
efi-debian-pxe-smallsystem-install Debian: Update System node install grub menus 2022-07-06 14:55:58 +00:00
efi-debian-pxe-smallsystem_lowlatency-install Debian: UEFI RT pxeboot installs need efi=runtime option 2022-09-26 17:15:24 -05:00
efi-debian-pxe-storage-install Debian: Update System node install grub menus 2022-07-06 14:55:58 +00:00
efi-debian-pxe-worker-install Debian: Update System node install grub menus 2022-07-06 14:55:58 +00:00
efi-debian-pxe-worker_lowlatency-install Debian: UEFI RT pxeboot installs need efi=runtime option 2022-09-26 17:15:24 -05:00
efi-pxeboot.cfg.debian Debian: add controller-0 pxeboot grub menu setup utility 2022-06-17 15:02:55 +00:00
grub.cfg.stx Grub file modifications for Debian signed UEFI installs 2022-11-10 23:12:53 +00:00
pxe-grub.cfg Grub file modifications for Debian signed UEFI installs 2022-11-10 23:12:53 +00:00
pxe-grub.cfg.static Grub file modifications for Debian signed UEFI installs 2022-11-10 23:12:53 +00:00
pxeboot-feed.service Create new pxeboot feed refresh script and service 2022-11-20 15:36:23 +00:00
pxeboot-update.sh debian: Add debian packaging for installer/pxe-network-installer 2022-03-23 18:40:22 +00:00
pxeboot.cfg.debian Debian: add controller-0 pxeboot grub menu setup utility 2022-06-17 15:02:55 +00:00
pxeboot_feed.sh Create new pxeboot feed refresh script and service 2022-11-20 15:36:23 +00:00
pxeboot_setup.sh Debian: add controller-0 pxeboot grub menu setup utility 2022-06-17 15:02:55 +00:00