summaryrefslogtreecommitdiff
path: root/meta/files/ext-sdk-prepare.py
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-09-23 15:26:18 +0100
commit6a09190c7b7b316c9988b7e5e279bd124f331b17 (patch)
tree0c23b63164413280683537557fc3edd77302e40e /meta/files/ext-sdk-prepare.py
parentc126a48a38e4f9c57f48b9ef77537cfd98901fb3 (diff)
downloadopenembedded-core-6a09190c7b7b316c9988b7e5e279bd124f331b17.tar.gz
openembedded-core-6a09190c7b7b316c9988b7e5e279bd124f331b17.tar.bz2
openembedded-core-6a09190c7b7b316c9988b7e5e279bd124f331b17.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). (From OE-Core rev: 038c09d6ab9581030efdc16aa1b96972970eeaab) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta/files/ext-sdk-prepare.py')
0 files changed, 0 insertions, 0 deletions