diff options
author | Guocai He <guocai.he.cn@windriver.com> | 2025-08-08 17:00:09 +0800 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2025-08-18 13:18:01 -0700 |
commit | 1afc7cf4cf4d3b8053f2ce9471690ea60f39c955 (patch) | |
tree | 77d4f9046359f2a7d48a64eb353c19e9ee4fe2be | |
parent | 423e0ff3fbdff2504931731f6e18e8cb3a9486b2 (diff) | |
download | poky-1afc7cf4cf4d3b8053f2ce9471690ea60f39c955.tar.gz |
gnupg: disable tests to avoid running target binaries at build time
By default, the tests are built and run at do_compile and we can see
errors like below in log.do_compile:
gnupg-2.3.7/tests/cms/inittests: line 99: ../../sm/gpgsm: cannot execute binary file: Exec format error
Note that the do_compile process still succeeds. However, we'd better avoid
executing these target binaries at build time.
(From OE-Core rev: b02f99a0b82ed55a07c00b32805ad676c04ee4ab)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(master rev: 74d48497470ce209bc6bdf49c2e2cfda67dce6ae)
Signed-off-by: Guocai He <guocai.he.cn@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
-rw-r--r-- | meta/recipes-support/gnupg/gnupg_2.3.7.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-support/gnupg/gnupg_2.3.7.bb b/meta/recipes-support/gnupg/gnupg_2.3.7.bb index 461ec6687c..27b2d3682a 100644 --- a/meta/recipes-support/gnupg/gnupg_2.3.7.bb +++ b/meta/recipes-support/gnupg/gnupg_2.3.7.bb | |||
@@ -37,6 +37,7 @@ EXTRA_OECONF = "--disable-ldap \ | |||
37 | --with-readline=${STAGING_LIBDIR}/.. \ | 37 | --with-readline=${STAGING_LIBDIR}/.. \ |
38 | --with-mailprog=${sbindir}/sendmail \ | 38 | --with-mailprog=${sbindir}/sendmail \ |
39 | --enable-gpg-is-gpg2 \ | 39 | --enable-gpg-is-gpg2 \ |
40 | --disable-tests \ | ||
40 | " | 41 | " |
41 | 42 | ||
42 | # A minimal package containing just enough to run gpg+gpgagent (E.g. use gpgme in opkg) | 43 | # A minimal package containing just enough to run gpg+gpgagent (E.g. use gpgme in opkg) |