I have an unsolved mystery here.

If I build an image with "debug-tweaks" in [EXTRA_]IMAGE_FEATURES, I get a normal image, where logging in as root works as expected.

If i replace "debug-tweaks" with other options, for example one of these:
EXTRA_IMAGE_FEATURES = "empty-root-password allow-empty-password allow-root-login post-install-logging"
EXTRA_IMAGE_FEATURES = "empty-root-password allow-root-login"


That first variant should be equal to "debug-tweaks" according to the descriptions in core-image.bbclass and rootfs-postcommands.bbclass.


However, the end result is that the image ends up without /etc/shadow and though one can log in as root, the system doesn't actually seem to know who you are, so "root" does not appear in the prompt, "~" does not match "/homw/root", and UID 0 does not match "root".

It's a total mystery to me how "debug-tweaks" has any effect on that.

I'm currently using langdale branch and initscripts.


Any thoughts?


--
Mike Looijmans
System Expert

TOPIC Embedded Products B.V.
Materiaalweg 4, 5681 RJ Best
The Netherlands

T: +31 (0) 499 33 69 69
E: mike.looijm...@topic.nl
W: www.topic.nl

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#185458): 
https://lists.openembedded.org/g/openembedded-core/message/185458
Mute This Topic: https://lists.openembedded.org/mt/100521656/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to