[yocto] [meta-selinux][PATCH] semodule-utils: create empty package
Khem Raj
raj.khem at gmail.com
Fri Jun 8 18:18:31 PDT 2018
Hi George
On 6/8/18 3:06 PM, George McCollister wrote:
> Allow creation of an empty package since semodule-utils itself doesn't
> actually contain any files but is still required by semodule-utils-dev.
> This recipe places every file under one of it's sub-packages.
>
> This fixes an error encountered when building an SDK:
> nothing provides semodule-utils = 2.7-r0 needed by
> semodule-utils-dev-2.7-r0.core2-32
>
> Signed-off-by: George McCollister <george.mccollister at gmail.com>
> ---
> recipes-security/selinux/semodule-utils.inc | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/recipes-security/selinux/semodule-utils.inc b/recipes-security/selinux/semodule-utils.inc
> index 1e92745..114b4b1 100644
> --- a/recipes-security/selinux/semodule-utils.inc
> +++ b/recipes-security/selinux/semodule-utils.inc
> @@ -8,6 +8,8 @@ LICENSE = "GPLv2+"
>
> DEPENDS += "libsepol"
>
> +ALLOW_EMPTY_${PN} = "1"
> +
Perhaps
RDEPENDS_${PN}-dev = ""
Would solve it without a need to create empty package.
> EXTRA_OEMAKE += "LIBSEPOLA=${STAGING_LIBDIR}/libsepol.a"
>
> PACKAGES =+ "\
>
More information about the yocto
mailing list