Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH v2 0/1] image.bbclass: set consistent staging dirs
@ 2018-10-15  6:31 kai.kang
  2018-10-15  6:31 ` [PATCH 1/1] " kai.kang
  2018-10-15  7:29 ` [PATCH v2 0/1] " Kang Kai
  0 siblings, 2 replies; 3+ messages in thread
From: kai.kang @ 2018-10-15  6:31 UTC (permalink / raw)
  To: richard.purdie; +Cc: openembedded-core

From: Kai Kang <kai.kang@windriver.com>

V2:
* set consistent staging dirs for all images


The following changes since commit b02f3bfe2fee291a9db85094e5f31b1933acf871:

  local.conf.sample.extended: add another warning to comment about GLIBC_GENERATE_LOCALES (2018-10-14 23:45:40 +0100)

are available in the Git repository at:

  git://git.pokylinux.org/poky-contrib kangkai/image
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=kangkai/image

Kai Kang (1):
  image.bbclass: set consistent staging dirs

 meta/classes/image.bbclass | 5 +++++
 1 file changed, 5 insertions(+)

-- 
2.18.0



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

* [PATCH 1/1] image.bbclass: set consistent staging dirs
  2018-10-15  6:31 [PATCH v2 0/1] image.bbclass: set consistent staging dirs kai.kang
@ 2018-10-15  6:31 ` kai.kang
  2018-10-15  7:29 ` [PATCH v2 0/1] " Kang Kai
  1 sibling, 0 replies; 3+ messages in thread
From: kai.kang @ 2018-10-15  6:31 UTC (permalink / raw)
  To: richard.purdie; +Cc: openembedded-core

From: Kai Kang <kai.kang@windriver.com>

When enable multilib, staging dirs are expanded with ${MLPREFIX} in
multilib.conf. For multilib image such as lib32-core-image-minimal, it
requires 64 bit packages at some situation. For example, it requires
syslinux, grub-efi etc when build 'wic' rootfs. But these 64 bit
packages are populated to 'recipe-sysroot' rather than
'lib32-recipe-sysroot'. And then causes do image fails.

Set consistent staging dirs for image to fix such issues.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
---
 meta/classes/image.bbclass | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index 34fdbb0850..8e958ba919 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -603,6 +603,11 @@ MULTILIBRE_ALLOW_REP =. "${base_bindir}|${base_sbindir}|${bindir}|${sbindir}|${l
 MULTILIB_CHECK_FILE = "${WORKDIR}/multilib_check.py"
 MULTILIB_TEMP_ROOTFS = "${WORKDIR}/multilib"
 
+# set consistent staging dirs
+RECIPE_SYSROOT = "${WORKDIR}/recipe-sysroot"
+STAGING_DIR_HOST = "${WORKDIR}/recipe-sysroot"
+STAGING_DIR_TARGET = "${WORKDIR}/recipe-sysroot"
+
 do_fetch[noexec] = "1"
 do_unpack[noexec] = "1"
 do_patch[noexec] = "1"
-- 
2.18.0



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

* Re: [PATCH v2 0/1] image.bbclass: set consistent staging dirs
  2018-10-15  6:31 [PATCH v2 0/1] image.bbclass: set consistent staging dirs kai.kang
  2018-10-15  6:31 ` [PATCH 1/1] " kai.kang
@ 2018-10-15  7:29 ` Kang Kai
  1 sibling, 0 replies; 3+ messages in thread
From: Kang Kai @ 2018-10-15  7:29 UTC (permalink / raw)
  To: openembedded-core

On 2018年10月15日 14:31, kai.kang@windriver.com wrote:
> From: Kai Kang <kai.kang@windriver.com>
>
> V2:
> * set consistent staging dirs for all images

Missing Richard's comment, please ignore this patch.

--Kai

>
>
> The following changes since commit b02f3bfe2fee291a9db85094e5f31b1933acf871:
>
>    local.conf.sample.extended: add another warning to comment about GLIBC_GENERATE_LOCALES (2018-10-14 23:45:40 +0100)
>
> are available in the Git repository at:
>
>    git://git.pokylinux.org/poky-contrib kangkai/image
>    http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=kangkai/image
>
> Kai Kang (1):
>    image.bbclass: set consistent staging dirs
>
>   meta/classes/image.bbclass | 5 +++++
>   1 file changed, 5 insertions(+)
>

-- 
Regards,
Neil | Kai Kang



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

end of thread, other threads:[~2018-10-15  7:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-15  6:31 [PATCH v2 0/1] image.bbclass: set consistent staging dirs kai.kang
2018-10-15  6:31 ` [PATCH 1/1] " kai.kang
2018-10-15  7:29 ` [PATCH v2 0/1] " Kang Kai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox