On 2/22/22 9:26 PM, Stefan Herbrechtsmeier wrote:
[Please note: This e-mail is from an EXTERNAL e-mail address]
Hi,
Am 22.02.2022 um 10:20 schrieb Yu, Mingli:
Hi,
On 2/2/22 3:35 PM, Stefan Herbrechtsmeier wrote:
[Please note: This e-mail is from an EXTERNAL e-mail address]
From: Stefan Herbrechtsmeier <stefan.herbrechtsme...@weidmueller.com>
Link udev shared with systemd helper to minimize the udev package size
if DISTRO_FEATURES contains systemd.
It is only usefull to link udev static with systemd helper if udev
should be installed without systemd.
Signed-off-by: Stefan Herbrechtsmeier
<stefan.herbrechtsme...@weidmueller.com>
---
(no changes since v1)
meta/recipes-core/systemd/systemd_249.7.bb | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/recipes-core/systemd/systemd_249.7.bb
b/meta/recipes-core/systemd/systemd_249.7.bb
index 739f3aae86..431781e6c7 100644
--- a/meta/recipes-core/systemd/systemd_249.7.bb
+++ b/meta/recipes-core/systemd/systemd_249.7.bb
@@ -66,6 +66,7 @@ PACKAGECONFIG ??= " \
${@bb.utils.filter('DISTRO_FEATURES', 'acl audit efi ldconfig
pam selinux smack usrmerge polkit seccomp', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'wifi', 'rfkill', '',
d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xkbcommon', '',
d)} \
+ ${@bb.utils.contains('DISTRO_FEATURES', 'systemd',
'link-udev-shared', '', d)} \
After this change, the iso image failed to boot with below error:
Cannot find rootfs.img file in /run/media/*, dropping to a shell
And more detailed about the error as the attached.
Steps to reproduce:
1, update conf/local.conf to use systemd as the default init manager
DISTRO_FEATURES:append = " systemd"
DISTRO_FEATURES_BACKFILL_CONSIDERED += "sysvinit"
VIRTUAL-RUNTIME_init_manager = "systemd"
VIRTUAL-RUNTIME_initscripts = "systemd-compat-units"
KERNEL_FEATURES:append = " cfg/systemd.scc"
You have to set the INIT_MANAGER variable instead or set the
VIRTUAL-RUNTIME_dev_manager variable to systemd.
2, bitbake core-image-minimal
3, runqemu qemux86-64 core-image-minimal iso
A revert of the commit solve your problem?
Yes, the issue is gone after revert the commit.
Thanks,
Regards
Stefan
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#162239):
https://lists.openembedded.org/g/openembedded-core/message/162239
Mute This Topic: https://lists.openembedded.org/mt/88853822/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-