The stx-10 -> stx-11 enabler patch adds some services related to the LVM snapshot feature auto-recovery requirement, and while these services are being correctly added after the patch is deployed, they aren't being enabled accordingly as they are on the presets, so this commit adds two instructions to the post install script to reload the systemd configuration. Test Plan PASS: install patch, verify the systemd configuration is updated PASS: remove patch, verify the systemd configuration is updated Closes-bug: 2127192 Change-Id: Ib6fc17db10771c1f0219bcd37810d4b97d7a0eed Signed-off-by: Heitor Matsui <heitorvieira.matsui@windriver.com>
Install Scripts Management
This repository manages pre-install and post-install shell scripts used in the patch deployment process.
They run for each patch at the beginning and at the end of software deploy host for both inservice and reboot required patches.
Folder Structure
install-scripts/
├── boilerplate/
│ ├── pre-install.sh
│ └── post-install.sh
├── 24.09.400/
│ ├── pre-install.sh
│ └── post-install.sh
├── examples/
└── ...
-
boilerplate/: Contains the default scripts. These are the standard versions used for most software releases. -
MM.mm.pp/: Contains version-specific scripts, only when changes are required that differ from the boilerplate. -
examples/: Contains previous scripts examples. Scripts used in old releases.
Usage
Default Case
If the pre and post install steps remain unchanged:
- Use the scripts in the
boilerplate/folder. - No need to create a version-specific directory.
When Customization Is Needed
If any version of the software requires changes to the install scripts:
-
Create a version folder (e.g.,
24.09.400/):mkdir install-scripts/24.09.400 -
Copy the boilerplate scripts:
cp install-scripts/boilerplate/*.sh start-scripts/24.09.400/ -
Edit the scripts in
24.09.400/as needed.
Always start from the boilerplate to ensure consistency.
Tips
- Include comments in versioned scripts, noting what the change is doing.
- Use previous versions as examples of what these scripts can do.
License
Include the license in all scripts
Copyright (c) 2025 Wind River Systems, Inc.
SPDX-License-Identifier: Apache-2.0