Zhang Xiao 0f1d695379 Debian: pkgbuilder: adjust apt key and repositories of sbuild
Without related apt key, `apt update` on related repository will lead
to warning messages as below, add apt key to avoid it:
W: GPG error: http://stx-stx-repomgr:80/deb-local-binary bullseye
InRelease: The following signatures couldn't be verified because the
public key is not available: NO_PUBKEY FAAD0555200D6582

There are duplicate repositories in apt sources list, remove one of
them to avoid warning messages as below:
W: Target Packages (main/binary-amd64/Packages) is configured multiple
times in /etc/apt/sources.list:1 and
/etc/apt/sources.list.d/sbuild-extra-repositories.list:1
...

Test Plan:
PASS: ./stx-init-env --rebuild
PASS: build-pkgs -a; build-image
PASS: No such warning message any more

Story: 2010643
Task: 47639

Signed-off-by: Zhang Xiao <xiao.zhang@windriver.com>
Change-Id: Ia4907fa92a92afeeca73abc35dfb712ea6ae8cb4
2023-03-15 09:24:53 +08:00
..
2022-04-20 15:07:26 -04:00