Skip to contentSkip to conversation

core-image-tiny-initramfs: delete populate_sdk task

PATCH In review Chen Qi 2 participants 3 messages Dec 16, 2021 – Dec 28, 2021

lore
Share & tools
lore

Chen Qi

author
#0 lore raw

PATCH 1/1 core-image-tiny-initramfs: delete populate_sdk task

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.

---
 meta/recipes-core/images/core-image-tiny-initramfs.bb | 2 ++
 1 file changed, 2 insertions(+)
meta/recipes-core/images/core-image-tiny-initramfs.bb +2 -0
index 47470849ed..66c73e4261 100644
@@ -23,6 +23,8 @@ IMAGE_FSTYPES = "${INITRAMFS_FSTYPES}"
 
 inherit core-image
 
+deltask do_populate_sdk
+
 IMAGE_ROOTFS_SIZE = "8192"
 IMAGE_ROOTFS_EXTRA_SPACE = "0"
 
Signature · 1 line
2.33.0
#1 lore raw
Quoted 10 lines · Chen Qi

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

Quoted 32 lines

---
 meta/recipes-core/images/core-image-tiny-initramfs.bb | 2 ++

 1 file changed, 2 insertions(+)
meta/recipes-core/images/core-image-tiny-initramfs.bb +0 -0
index 47470849ed..66c73e4261 100644
@@ -23,6 +23,8 @@ IMAGE_FSTYPES = "${INITRAMFS_FSTYPES}"


 inherit core-image

meta/recipes-core/images/core-image-tiny-initramfs.bb +2 -0
+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: [email protected] Unsubscribe:
https://lists.openembedded.org/g/openembedded-core/unsub [
[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

author
#2 lore raw

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 <[email protected]>
Sent: Tuesday, December 28, 2021 12:20 PM
To: Chen, Qi <[email protected]>; [email protected]
Subject: Re: [OE-core][hardknott][PATCH] core-image-tiny-initramfs: delete populate_sdk task

Quoted 9 lines · Chen Qi

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

Quoted 32 lines

---
 meta/recipes-core/images/core-image-tiny-initramfs.bb | 2 ++

 1 file changed, 2 insertions(+)
meta/recipes-core/images/core-image-tiny-initramfs.bb +0 -0
index 47470849ed..66c73e4261 100644
@@ -23,6 +23,8 @@ IMAGE_FSTYPES = "${INITRAMFS_FSTYPES}"


 inherit core-image

meta/recipes-core/images/core-image-tiny-initramfs.bb +2 -0
+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: [email protected] Unsubscribe:
https://lists.openembedded.org/g/openembedded-core/unsub [
[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-