Files
metal/kickstart
Matheus Guilhermino cdc2129575 miniboot: ensure /opt/software/rel-* is created
During miniboot installs the versioned USM release directory
(/opt/software/rel-<release>/bin) was not being created, unlike
kickstart installs. This prevented USM operations (patching,
upgrades, software-deploy) from functioning correctly on systems
installed with miniboot.

This change adds the missing logic from kickstart to miniboot’s
%post --nochroot stage:

- Create /opt/software/rel-<release>.<patch>/bin inside the target
- Copy USM software-deploy scripts from /instboot into the release
  bin directory

With this change, miniboot installs are aligned with kickstart
installs and properly support patching and upgrade flows.

Closes-bug: 2125233

Test Plan:
PASS: boot ISO and install Central Cloud.
PASS: Verify that /opt/software/rel-<release>/bin exists
PASS: Install and reinstall a subcloud
PASS: Verify that /opt/software/rel-<release>/bin exists
	 on the subcloud after the reinstall

Change-Id: I955ee4181cbc2d69c3c5f5281ed7a7f819aeb6cc
Signed-off-by: Matheus Guilhermino <mmachado@windriver.com>
Signed-off-by: Lindley Vieira <lindley.vieira@windriver.com>
2025-09-19 16:54:31 -04:00
..
2018-05-31 07:36:43 -07:00