All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-swupd][PATCH] layer.conf: exclude libarchive (bsdtar) dependency from swupd-client
@ 2017-11-16 10:02 André Draszik
  2017-11-16 10:04 ` André Draszik
  2017-11-16 13:32 ` Patrick Ohly
  0 siblings, 2 replies; 3+ messages in thread
From: André Draszik @ 2017-11-16 10:02 UTC (permalink / raw)
  To: yocto

From: André Draszik <adraszik@tycoint.com>

The swupd-client doesn't need to be rebuilt if libarchive
changes, because swupd-client just invokes the command line
utility bsdtar from the libarchive recipe, it doesn't link
against libarchive.
The bsdtar binary changing doesn't matter, as bsdtar's ABI
(command line argument handling) wouldn't be changing.

Signed-off-by: André Draszik <adraszik@tycoint.com>
---
 conf/layer.conf | 1 +
 1 file changed, 1 insertion(+)

diff --git a/conf/layer.conf b/conf/layer.conf
index 50e7558..3af6992 100644
--- a/conf/layer.conf
+++ b/conf/layer.conf
@@ -14,4 +14,5 @@ LAYERVERSION_meta-swupd = "1"
 SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += "\
   oe-swupd-helpers->bash \
   oe-swupd-helpers->busybox \
+  swupd-client->libarchive \
 "
-- 
2.15.0.rc1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [meta-swupd][PATCH] layer.conf: exclude libarchive (bsdtar) dependency from swupd-client
  2017-11-16 10:02 [meta-swupd][PATCH] layer.conf: exclude libarchive (bsdtar) dependency from swupd-client André Draszik
@ 2017-11-16 10:04 ` André Draszik
  2017-11-16 13:32 ` Patrick Ohly
  1 sibling, 0 replies; 3+ messages in thread
From: André Draszik @ 2017-11-16 10:04 UTC (permalink / raw)
  To: yocto

On Thu, 2017-11-16 at 10:02 +0000, André Draszik wrote:
> From: André Draszik <adraszik@tycoint.com>
> 
> The swupd-client doesn't need to be rebuilt if libarchive
> changes, because swupd-client just invokes the command line
> utility bsdtar from the libarchive recipe, it doesn't link
> against libarchive.
> The bsdtar binary changing doesn't matter, as bsdtar's ABI
> (command line argument handling) wouldn't be changing.
> 
> Signed-off-by: André Draszik <adraszik@tycoint.com>
> ---
>  conf/layer.conf | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/conf/layer.conf b/conf/layer.conf
> index 50e7558..3af6992 100644
> --- a/conf/layer.conf
> +++ b/conf/layer.conf
> @@ -14,4 +14,5 @@ LAYERVERSION_meta-swupd = "1"
>  SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += "\
>    oe-swupd-helpers->bash \
>    oe-swupd-helpers->busybox \
> +  swupd-client->libarchive \
>  "

I hope I understood the description of SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS
correctly...

Cheers,
Andre'



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [meta-swupd][PATCH] layer.conf: exclude libarchive (bsdtar) dependency from swupd-client
  2017-11-16 10:02 [meta-swupd][PATCH] layer.conf: exclude libarchive (bsdtar) dependency from swupd-client André Draszik
  2017-11-16 10:04 ` André Draszik
@ 2017-11-16 13:32 ` Patrick Ohly
  1 sibling, 0 replies; 3+ messages in thread
From: Patrick Ohly @ 2017-11-16 13:32 UTC (permalink / raw)
  To: André Draszik, yocto

On Thu, 2017-11-16 at 10:02 +0000, André Draszik wrote:
> From: André Draszik <adraszik@tycoint.com>
> 
> The swupd-client doesn't need to be rebuilt if libarchive
> changes, because swupd-client just invokes the command line
> utility bsdtar from the libarchive recipe, it doesn't link
> against libarchive.
> The bsdtar binary changing doesn't matter, as bsdtar's ABI
> (command line argument handling) wouldn't be changing.

This is about to change: 
https://github.com/clearlinux/swupd-client/issues/285 is being workedon, see 
https://github.com/clearlinux/swupd-client/pull/327

> Signed-off-by: André Draszik <adraszik@tycoint.com>
> ---
>  conf/layer.conf | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/conf/layer.conf b/conf/layer.conf
> index 50e7558..3af6992 100644
> --- a/conf/layer.conf
> +++ b/conf/layer.conf
> @@ -14,4 +14,5 @@ LAYERVERSION_meta-swupd = "1"
>  SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += "\
>    oe-swupd-helpers->bash \
>    oe-swupd-helpers->busybox \
> +  swupd-client->libarchive \
>  "

For now this change is okay.

I just have one general problem: I'm not sure whether I should consider
myself the maintainer who merges this. I know that I am listed as
"tentative" maintainer, but it practice it hasn't been my job and I
don't have time for it in my spare time either.

I did some work with swupd again recently, resulting in https://github.
com/pohly/meta-swupd/commits/master and https://github.com/intel/intel-
iot-refkit/pull/318, but that's just a temporary activity.

I understand that this isn't a tenable situation for those of you using
meta-swupd; hopefully by the end of the year at the latest it'll be
resolved.

-- 
Best Regards, Patrick Ohly

The content of this message is my personal opinion only and although
I am an employee of Intel, the statements I make here in no way
represent Intel's position on the issue, nor am I authorized to speak
on behalf of Intel on this matter.




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-11-16 13:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-16 10:02 [meta-swupd][PATCH] layer.conf: exclude libarchive (bsdtar) dependency from swupd-client André Draszik
2017-11-16 10:04 ` André Draszik
2017-11-16 13:32 ` Patrick Ohly

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.