build-img: build PATCH.img-addon as REL and non-RR patch

Added parameters --status REL and --reboot-required N when
PATCH.img-addon is created from build-img script.
In order to allow to sw-patch commits the PATCH.img-addon.patch

Story: 2007858
Task: 42316

Signed-off-by: Giana Francisco <francisco.giana@windriver.com>
Change-Id: Ief73924e52f364e70f7ad2713480536c953c055b
This commit is contained in:
Giana Francisco 2021-04-21 09:33:40 -03:00
parent b1a3208e1b
commit 0178b539ed

View File

@ -566,7 +566,7 @@ if [ ${#RPM_ADDON_LIST[@]} -gt 0 ] ; then
pushd $MY_WORKSPACE
patch_file="PATCH.img-addon"
patched_iso="$TEMPFILES_DIR/bootimage_${AUTO_MODE}${GRAPHICAL_SUFFIX}_patched.iso"
cmd=("$PATCH_BUILD" --id "${patch_file}" --summary "additional packages for qcow2 image" --desc "Adds customizations to qcow2 image")
cmd=("$PATCH_BUILD" --id "${patch_file}" --summary "additional packages for qcow2 image" --desc "Adds customizations to qcow2 image" --status "REL" --reboot-required "N")
for rpm_addon in "${RPM_ADDON_LIST[@]}"; do
cmd+=(--all-nodes "${rpm_addon}")
done