On Fri, Nov 20, 2015 at 07:22:04PM +0800, [email protected] wrote:
> From: Jackie Huang <[email protected]>
> 
> isadump and isaset are only built on x86 machines,
> so allow lmsensors-isatools to be empty.
> 
> Signed-off-by: Jackie Huang <[email protected]>
> ---
>  meta-oe/recipes-support/lm_sensors/lmsensors_3.4.0.bb | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/meta-oe/recipes-support/lm_sensors/lmsensors_3.4.0.bb 
> b/meta-oe/recipes-support/lm_sensors/lmsensors_3.4.0.bb
> index 62ea131..364eb9e 100644
> --- a/meta-oe/recipes-support/lm_sensors/lmsensors_3.4.0.bb
> +++ b/meta-oe/recipes-support/lm_sensors/lmsensors_3.4.0.bb
> @@ -131,3 +131,7 @@ RDEPENDS_${PN}-pwmconfig = "${PN}-fancontrol"
>  FILES_${PN}-isatools = "${sbindir}/isa*"
>  FILES_${PN}-isatools-dbg = "${sbindir}/.debug/isa*"
>  FILES_${PN}-isatools-doc = "${mandir}/man8/isa*"
> +
> +# isadump and isaset are only built on x86 machines,
> +# so allow it to be empty.
> +ALLOW_EMPTY_${PN}-isatools = "1"

Why should anyone on !x86 install lmsensors-isatools package?

And if (s)he does, then why should s(he) be happy with empty package?

Package manager saying that the package doesn't exist is much better
user experience than it happily installing completely useless empty
package.

-- 
Martin 'JaMa' Jansa     jabber: [email protected]

Attachment: signature.asc
Description: Digital signature

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Reply via email to