All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-swupd][PATCH] swupd-client: fix invalid directory in do_install_append()
@ 2016-11-28 12:18 André Draszik
  2016-11-30 13:18 ` Patrick Ohly
  0 siblings, 1 reply; 2+ messages in thread
From: André Draszik @ 2016-11-28 12:18 UTC (permalink / raw)
  To: yocto

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

Signed-off-by: André Draszik <adraszik@tycoint.com>
---
 recipes-core/swupd-client/swupd-client_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-core/swupd-client/swupd-client_git.bb b/recipes-core/swupd-client/swupd-client_git.bb
index fd4716f..3aed480 100644
--- a/recipes-core/swupd-client/swupd-client_git.bb
+++ b/recipes-core/swupd-client/swupd-client_git.bb
@@ -38,7 +38,7 @@ SWUPD_FORMAT ??= "3"
 SWUPD_PINNED_PUBKEY ??= ""
 do_install_append () {
     # TODO: This should be a less os-specific directory and not hard-code datadir
-    install -d ${D}$/usr/share/clear/bundles
+    install -d ${D}/usr/share/clear/bundles
 
     # Write default values to the configuration hierarchy (since 3.4.0)
     install -d ${D}/usr/share/defaults/swupd
-- 
2.10.2



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

* Re: [meta-swupd][PATCH] swupd-client: fix invalid directory in do_install_append()
  2016-11-28 12:18 [meta-swupd][PATCH] swupd-client: fix invalid directory in do_install_append() André Draszik
@ 2016-11-30 13:18 ` Patrick Ohly
  0 siblings, 0 replies; 2+ messages in thread
From: Patrick Ohly @ 2016-11-30 13:18 UTC (permalink / raw)
  To: André Draszik; +Cc: yocto

On Mon, 2016-11-28 at 12:18 +0000, André Draszik wrote:
> diff --git a/recipes-core/swupd-client/swupd-client_git.bb b/recipes-core/swupd-client/swupd-client_git.bb
> index fd4716f..3aed480 100644
> --- a/recipes-core/swupd-client/swupd-client_git.bb
> +++ b/recipes-core/swupd-client/swupd-client_git.bb
> @@ -38,7 +38,7 @@ SWUPD_FORMAT ??= "3"
>  SWUPD_PINNED_PUBKEY ??= ""
>  do_install_append () {
>      # TODO: This should be a less os-specific directory and not hard-code datadir
> -    install -d ${D}$/usr/share/clear/bundles
> +    install -d ${D}/usr/share/clear/bundles
>  
>      # Write default values to the configuration hierarchy (since 3.4.0)
>      install -d ${D}/usr/share/defaults/swupd

I'm about to remove this entire do_install_append.
create_bundle_manifest() in swupd-image.bbclass is what really creates
that directory, and onfiguring the image so that the swupd-client is
usable is part of image creation, not of compiling the client.

For example, different images may need different settings, and that
can't be done with settings compiled into swupd-client because it gets
built only once.

-- 
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] 2+ messages in thread

end of thread, other threads:[~2016-11-30 13:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-28 12:18 [meta-swupd][PATCH] swupd-client: fix invalid directory in do_install_append() André Draszik
2016-11-30 13:18 ` 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.