root/build-tools/stx
Dostoievski Batista a1a167bb71 Change scripts names in the patch's metadata
When adding a pre-install or post-install script to the patch, we rename
it to "pre-install.sh" or "post-install.sh" to facilitate the use of the
patch afterwards. This change makes the metadata inside the patch
reflect this. Together with this change we move PATCH_SCRIPTS constant
to separate file as the same will be call in different files.

Test plan:
    PASS: Create patch without any scripts
    PASS: Create patch with only pre-install script
    PASS: Create patch with only post-install script
    PASS: Create patch with all scripts
    PASS: Install patch with all scripts in a running AIO-SX,
    check if scripts are present in /opt/software/software-scripts/
    PASS: Delete patch with all scripts in a running AIO-SX,
    check if scripts are not present in /opt/software/software-scripts/

Story: 2010676
Task: 50926

Change-Id: I639ff15e306ec69ed1bbbfea8c99aa96affa1dec
Signed-off-by: Dostoievski Batista <dostoievski.albinobatista@windriver.com>
2024-08-28 09:56:23 -03:00
..
patch Change scripts names in the patch's metadata 2024-08-28 09:56:23 -03:00
.gitignore stx: discover buildable packages 2022-04-19 17:42:35 +08:00
aptly_deb_usage.py aptly: update expired GPG key 2024-02-23 22:46:41 -05:00
build-image build-image: rename ISO to reflect build timestamp 2024-06-17 15:28:32 -04:00
build-pkgs build-pkgs: Fixed "exit on failure" feature broken 2024-02-28 00:53:49 +08:00
circular_dep.conf Set build order for ca-certificates 2024-07-15 13:48:38 +00:00
debdownloader build-tools: apt repo priority based on "Origin" 2022-07-05 20:39:40 -04:00
debian-image.inc Remove ntpdate package 2024-07-24 14:46:55 +00:00
debrepack.py downloader: save file names of required downloads 2024-07-26 11:48:33 -04:00
debsentry.py build-pkgs: Fixed the deb packages missing issue after reuse 2023-05-25 18:33:57 +08:00
discovery.py Remove CentOS/OpenSUSE build support 2024-08-06 13:43:50 +00:00
downloader downloader: fix logger exception 2024-08-08 11:18:21 -04:00
dsc_depend.py Log members of a circular dependency 2023-11-07 10:19:04 -05:00
dsccache.py Reuse fix to not rebuild if no source changes 2022-12-16 13:12:03 -08:00
git_utils.py stx: discover buildable packages 2022-04-19 17:42:35 +08:00
image-layers.conf Create layer-specific aptly binary repositories 2023-10-05 00:39:09 +00:00
repo_manage.py Allow our repositories to have multiple versions of a package 2023-10-05 00:41:20 +00:00
repo_utils.py stx: discover buildable packages 2022-04-19 17:42:35 +08:00
utils.py downloader: succeed on GPG errors in DSCs files 2024-07-11 20:40:49 -04:00