]> code.ossystems Code Review - openembedded-core.git/commit
deb: do not insert feed uris if apt not installed
authorHongxu Jia <hongxu.jia@windriver.com>
Sat, 16 Jan 2021 03:49:11 +0000 (11:49 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 16 Jan 2021 22:39:17 +0000 (22:39 +0000)
commit9ec65b77c9a4a0ba240117edee0e84208c58328e
tree8dcf5ec802a36b8e2efcdb9023da0fbdcbc80508
parenta69eee72b25411880146821fe4ec07be4704afee
deb: do not insert feed uris if apt not installed

- The dir /etc/apt was created in package apt, if package apt was not
installed, there is no need to insert package feed. Otherwise, it
will fail with no such dir

- Output the result of apt install

- Explicitly trust the deb package repository from build
This could avoid apt install warning:
...
WARNING: The following packages cannot be authenticated!
...

- Also trust the inserted deb package repository from PACKAGE_FEED_URIS

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/package_manager/deb/__init__.py