update/software/service-files
Heitor Matsui 33cd1e0a1c Avoid duplicate gpg-verify lines in ostree config
Currently the software-controller-init.sh script may append
the config 'gpg-verify=false' to the end of the current feed
and sysroot ostree 'config' files everytime the host reboots.

This commit fix the issue by allowing the script to append the
config only if it does not exist.

Test Plan
PASS: AIO-DX - major release deployment stx8 -> stx10
PASS: verify the feed and sysroot ostree config files

Story: 2010676
Task: 51035

Change-Id: I912d5cb74090d343bb4b4bf9c08f3fec89ac3b78
Signed-off-by: Heitor Matsui <heitorvieira.matsui@windriver.com>
2024-09-17 17:58:11 -03:00
..