mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
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>
This commit is contained in:
@@ -37,6 +37,7 @@ EXTRA_OECONF = "--disable-ldap \
|
||||
--with-readline=${STAGING_LIBDIR}/.. \
|
||||
--with-mailprog=${sbindir}/sendmail \
|
||||
--enable-gpg-is-gpg2 \
|
||||
--disable-tests \
|
||||
"
|
||||
|
||||
# A minimal package containing just enough to run gpg+gpgagent (E.g. use gpgme in opkg)
|
||||
|
||||
Reference in New Issue
Block a user