]> code.ossystems Code Review - openembedded-core.git/commit
opkg-keyrings: check if opkg-key exists before run postinst
authorYi Zhao <yi.zhao@windriver.com>
Thu, 7 May 2020 03:24:32 +0000 (11:24 +0800)
committerSteve Sakoman <steve@sakoman.com>
Mon, 11 May 2020 16:14:33 +0000 (06:14 -1000)
commit174c27e4edea0af92f60779cf3f63d21f6bce6fe
treeadfb71ee9b4eab163043cc08138f8d6adb3e4c7a
parent8587149c49dd8d1e1a0a0b5cf81e458bfa88547e
opkg-keyrings: check if opkg-key exists before run postinst

By default, the opkg-key command is not included in pokg package because
it is only installed when gpg support is enabled. We'd better check if
it exists before run 'opkg-key populate' in pkg_postinst.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-devtools/opkg/opkg-keyrings_1.0.bb