summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/build-compare
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2016-07-17 20:32:41 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-07-25 23:46:58 +0100
commit038c09d6ab9581030efdc16aa1b96972970eeaab (patch)
tree78bc1a90ce9cdfd8629d11d9d2225496a9bde94c /meta/recipes-devtools/build-compare
parenteb7f08c4c01313afc8350200eeb63daefde8a6f6 (diff)
downloadopenembedded-core-038c09d6ab9581030efdc16aa1b96972970eeaab.tar.gz
openembedded-core-038c09d6ab9581030efdc16aa1b96972970eeaab.tar.bz2
openembedded-core-038c09d6ab9581030efdc16aa1b96972970eeaab.zip
rpm: make --nosignature work
OE-core uses rpm's --nosignature, but it never worked: self._invoke_smart('config --set rpm-check-signatures=false') Now fix it with: * Define SUPPORT_NOSIGNATURES to 1 in system.h * !QVA_ISSET(qva->qva_flags, SIGNATURE) -> QVA_ISSET(qva->qva_flags, SIGNATURE), otherwise, when use --nosignature would read database and verify signature, this is not expected. This can fix some race issues, for example, when more than one process are querying rpm file with "rpm -qp --nosignature", they may hang up because of race issues (the processes are trying to get RW/RD lock on the database, but they shouldn't read the database at all since -qp and --nosignature are used). Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-devtools/build-compare')
0 files changed, 0 insertions, 0 deletions