Openembedded Core Discussions
 help / color / mirror / Atom feed
* [OE-core][hardknott][PATCH] core-image-tiny-initramfs: delete populate_sdk task
@ 2021-12-16  5:09 Chen Qi
  2021-12-28  4:20 ` Mittal, Anuj
  0 siblings, 1 reply; 3+ messages in thread
From: Chen Qi @ 2021-12-16  5:09 UTC (permalink / raw)
  To: openembedded-core

Currently, if we do `bitbake core-image-tiny-initramfs' and then
install the generated SDK, the following error appears.

  tar: ./sysroots/core2-64-poky-linux/dev/console: Cannot mknod: Operation not permitted

The populate_sdk task does not make much sense for this recipe and
considering the fact the its SDK cannot be installed, we'd better just
delete the task.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
 meta/recipes-core/images/core-image-tiny-initramfs.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-core/images/core-image-tiny-initramfs.bb b/meta/recipes-core/images/core-image-tiny-initramfs.bb
index 47470849ed..66c73e4261 100644
--- a/meta/recipes-core/images/core-image-tiny-initramfs.bb
+++ b/meta/recipes-core/images/core-image-tiny-initramfs.bb
@@ -23,6 +23,8 @@ IMAGE_FSTYPES = "${INITRAMFS_FSTYPES}"
 
 inherit core-image
 
+deltask do_populate_sdk
+
 IMAGE_ROOTFS_SIZE = "8192"
 IMAGE_ROOTFS_EXTRA_SPACE = "0"
 
-- 
2.33.0



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

* Re: [OE-core][hardknott][PATCH] core-image-tiny-initramfs: delete populate_sdk task
  2021-12-16  5:09 [OE-core][hardknott][PATCH] core-image-tiny-initramfs: delete populate_sdk task Chen Qi
@ 2021-12-28  4:20 ` Mittal, Anuj
  2021-12-28  5:38   ` Chen, Qi
  0 siblings, 1 reply; 3+ messages in thread
From: Mittal, Anuj @ 2021-12-28  4:20 UTC (permalink / raw)
  To: Qi.Chen@windriver.com, openembedded-core@lists.openembedded.org

On Wed, 2021-12-15 at 21:09 -0800, Chen Qi wrote:
> Currently, if we do `bitbake core-image-tiny-initramfs' and then
> install the generated SDK, the following error appears.
> 
>   tar: ./sysroots/core2-64-poky-linux/dev/console: Cannot mknod:
> Operation not permitted
> 
> The populate_sdk task does not make much sense for this recipe and
> considering the fact the its SDK cannot be installed, we'd better
> just
> delete the task.

Is this not required for master? Is this hardknott specific?

Thanks,

Anuj

> 
> Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
> ---
>  meta/recipes-core/images/core-image-tiny-initramfs.bb | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/meta/recipes-core/images/core-image-tiny-initramfs.bb
> b/meta/recipes-core/images/core-image-tiny-initramfs.bb
> index 47470849ed..66c73e4261 100644
> --- a/meta/recipes-core/images/core-image-tiny-initramfs.bb
> +++ b/meta/recipes-core/images/core-image-tiny-initramfs.bb
> @@ -23,6 +23,8 @@ IMAGE_FSTYPES = "${INITRAMFS_FSTYPES}"
>  
>  inherit core-image
>  
> +deltask do_populate_sdk
> +
>  IMAGE_ROOTFS_SIZE = "8192"
>  IMAGE_ROOTFS_EXTRA_SPACE = "0"
>  
> 
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#159772):
> https://lists.openembedded.org/g/openembedded-core/message/159772
> Mute This Topic: https://lists.openembedded.org/mt/87761452/3616702
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe:
> https://lists.openembedded.org/g/openembedded-core/unsub [
> anuj.mittal@intel.com]
> -=-=-=-=-=-=-=-=-=-=-=-
> 


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

* RE: [OE-core][hardknott][PATCH] core-image-tiny-initramfs: delete populate_sdk task
  2021-12-28  4:20 ` Mittal, Anuj
@ 2021-12-28  5:38   ` Chen, Qi
  0 siblings, 0 replies; 3+ messages in thread
From: Chen, Qi @ 2021-12-28  5:38 UTC (permalink / raw)
  To: Mittal, Anuj, openembedded-core@lists.openembedded.org

Hi Anuj,

It's for both master and hardknott. I sent out two patches, one for master and one for hardknott.

Regards,
Qi

-----Original Message-----
From: Mittal, Anuj <anuj.mittal@intel.com> 
Sent: Tuesday, December 28, 2021 12:20 PM
To: Chen, Qi <Qi.Chen@windriver.com>; openembedded-core@lists.openembedded.org
Subject: Re: [OE-core][hardknott][PATCH] core-image-tiny-initramfs: delete populate_sdk task

On Wed, 2021-12-15 at 21:09 -0800, Chen Qi wrote:
> Currently, if we do `bitbake core-image-tiny-initramfs' and then 
> install the generated SDK, the following error appears.
> 
>   tar: ./sysroots/core2-64-poky-linux/dev/console: Cannot mknod:
> Operation not permitted
> 
> The populate_sdk task does not make much sense for this recipe and 
> considering the fact the its SDK cannot be installed, we'd better just 
> delete the task.

Is this not required for master? Is this hardknott specific?

Thanks,

Anuj

> 
> Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
> ---
>  meta/recipes-core/images/core-image-tiny-initramfs.bb | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/meta/recipes-core/images/core-image-tiny-initramfs.bb
> b/meta/recipes-core/images/core-image-tiny-initramfs.bb
> index 47470849ed..66c73e4261 100644
> --- a/meta/recipes-core/images/core-image-tiny-initramfs.bb
> +++ b/meta/recipes-core/images/core-image-tiny-initramfs.bb
> @@ -23,6 +23,8 @@ IMAGE_FSTYPES = "${INITRAMFS_FSTYPES}"
>  
>  inherit core-image
>  
> +deltask do_populate_sdk
> +
>  IMAGE_ROOTFS_SIZE = "8192"
>  IMAGE_ROOTFS_EXTRA_SPACE = "0"
>  
> 
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#159772):
> https://lists.openembedded.org/g/openembedded-core/message/159772
> Mute This Topic: https://lists.openembedded.org/mt/87761452/3616702
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe:
> https://lists.openembedded.org/g/openembedded-core/unsub [ 
> anuj.mittal@intel.com]
> -=-=-=-=-=-=-=-=-=-=-=-
> 


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

end of thread, other threads:[~2021-12-28  5:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-16  5:09 [OE-core][hardknott][PATCH] core-image-tiny-initramfs: delete populate_sdk task Chen Qi
2021-12-28  4:20 ` Mittal, Anuj
2021-12-28  5:38   ` Chen, Qi

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