On Thu, 16 Dec 2021 at 05:09, Chen Qi <[email protected]> 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.
Feels to me that this is working around a problem instead of fixing the problem. This happens for -tiny-initramfs because the root fs contains a populated /dev tree, with device nodes in. There is no hard association between "has a static /dev" and "SDKs are meaningless", so a better fix would be to remove /dev from the SDK entirely, instead of removing SDKs from one image, when this is a general problem. Ross
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#160039): https://lists.openembedded.org/g/openembedded-core/message/160039 Mute This Topic: https://lists.openembedded.org/mt/87761444/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
