Skip to contentSkip to conversation

packagegroup-arago-sysvinit-boot: fix tiny image unable to login issue

PATCH New Denys Dmytriyenko 1 participant 1 message Jul 20, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 packagegroup-arago-sysvinit-boot: fix tiny image unable to login issue

From: Denys Dmytriyenko <[email protected]>

Commit 292b4549c14c73c7b9d50051ef7a999377ab8f40 changed how login_manager gets set conditionally for systemd vs. sysvinit builds. But tiny image is rather special as it uses sysvinit even during systemd build. That's why all other conditional VIRTUAL_RUNTIME variables were being forced in the packagegroup-arago-sysvinit-boot - need to do the same for login_manager. Otherwise it pulls shadow-base into a tiny image w/o additional required dependencies for securetty and few pam plugins, preventing root user from being able to login.

---
 .../packagegroups/packagegroup-arago-sysvinit-boot.bb            | 1 +
 1 file changed, 1 insertion(+)
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-sysvinit-boot.bb +1 -0
index 9f937343..df7ff960 100644
@@ -12,3 +12,4 @@ VIRTUAL-RUNTIME_dev_manager = ""
 VIRTUAL-RUNTIME_init_manager = "sysvinit"
 VIRTUAL-RUNTIME_initscripts = "initscripts"
 VIRTUAL-RUNTIME_initramfs = "sysvinit-initramfs"
+VIRTUAL-RUNTIME_login_manager = "busybox"
Signature · 1 line
2.25.1