]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.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)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 9 May 2020 17:55:43 +0000 (18:55 +0100)
commit096a03659cdfa99ca2b4b50ff37d6f2001d0bc90
tree90dba3fc8ac57a1bd6e11d072fed5b648fee5d7a
parent2873d4afac0845955e0811281203a39f4074b2c3
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>
meta/recipes-devtools/opkg/opkg-keyrings_1.0.bb