[OE-core] [PATCH 8/8] rpm: move ASNEEDED over-ride into the rpm recipe
Peter Kjellerstedt
peter.kjellerstedt at axis.com
Fri May 4 23:23:39 UTC 2018
> -----Original Message-----
> From: openembedded-core-bounces at lists.openembedded.org
> [mailto:openembedded-core-bounces at lists.openembedded.org] On Behalf Of
> Andre McCurdy
> Sent: den 5 maj 2018 00:53
> To: openembedded-core at lists.openembedded.org
> Subject: [OE-core] [PATCH 8/8] rpm: move ASNEEDED over-ride into the
> rpm recipe
>
> Move the recipe specific over-ride for ASNEEDED into the recipe to
> make it more apparent that the over-ride is being applied (and that
> it should be re-checked on version updates, etc).
>
> Signed-off-by: Andre McCurdy <armccurdy at gmail.com>
> ---
> meta/recipes-devtools/rpm/rpm_4.14.1.bb | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/meta/recipes-devtools/rpm/rpm_4.14.1.bb b/meta/recipes-devtools/rpm/rpm_4.14.1.bb
> index 818d3ef..d49530e 100644
> --- a/meta/recipes-devtools/rpm/rpm_4.14.1.bb
> +++ b/meta/recipes-devtools/rpm/rpm_4.14.1.bb
> @@ -73,6 +73,8 @@ BBCLASSEXTEND = "native nativesdk"
> PACKAGECONFIG ??= ""
> PACKAGECONFIG[imaevm] = "--with-imaevm,,ima-evm-utils"
>
> +ASNEEDED = ""
> +
> # Direct rpm-native to read configuration from our sysroot, not the one it was compiled in
> # libmagic also has sysroot path contamination, so override it
> do_install_append_class-native() {
> --
> 1.9.1
This patch does not remove ASNEEDED_pn-rpm = "" from the
meta/conf/distro/include/as-needed.inc file.
Also, shouldn't ASNEEDED_pn-openobex = "" in
meta/conf/distro/include/as-needed.inc be moved to the recipe
in meta-oe to complete the patch set?
//Peter
More information about the Openembedded-core
mailing list