summaryrefslogtreecommitdiffstats
path: root/meta/files/device_table-minimal.txt
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2015-09-15 15:29:55 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-09-28 12:00:19 +0100
commitcb24cbbb0262a9273cc41f0e3355c94e717bcff3 (patch)
tree2dd5f1067949fe113dde24b765ea0bb58c13ff1b /meta/files/device_table-minimal.txt
parent217cccd0af91dbe82990d727566c8cb3f482d1ec (diff)
downloadpoky-cb24cbbb0262a9273cc41f0e3355c94e717bcff3.tar.gz
rpm: search for gpg if gpg2 is not found
Some (host) systems only have a binary named 'gpg' (e.g. Fedora) while some only have 'gpg2' (Ubuntu) and others have both of them (openSUSE). Currently the behavior of rpm-native with regards to GnuPG depends on the host platform: rpm(-native) is configured to use GnuPG binary of the host system if 'gpg2' is found in $PATH. Otherwise, rpm(-native) will default to using '%{_bindir}/gpg2' which will be pointing to a sysroot binary which usually does not exist. This patch changes rpm to look for both 'gpg' and 'gpg2' when searching for the GnuPG binary in PATH. This makes possible to create signed RPM packages on different host platforms, using the GnuPG binary of the host, without the need to explicitly define the gpg binary in bitbake configuration (via GPG_BIN variable). [YOCTO #8134] (From OE-Core rev: eb76b668e815fbecd18271808b871fc3b0f15e65) Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/files/device_table-minimal.txt')
0 files changed, 0 insertions, 0 deletions