From a2a2087c7df085e9c582a531f05fe0befd3281db Mon Sep 17 00:00:00 2001 From: Richard Marian Thomaiyar Date: Sat, 2 Nov 2019 21:16:40 +0530 Subject: Use debug-tweaks, allow-root-login to allow root. root user account is enabled with proper privilege and group, only if debug-tweaks or allow-root-login FEATURES is defined. Note: This will not remove root user getting managed from phosphor-user-manager, instead it will make sure, the privilege and groups are empty for the root user. Tested: 1. Verified the default build, which has debug-tweaks, allowing root user to be with priv-admin, and enabled for all groups. 2. Verified by removing debug-tweaks from the local.conf, and root user privilege & groups are empty. (From meta-phosphor rev: b1b8251f4e5f19189057cdeb998cf119be1c27b8) Change-Id: Iec2a0b1a9f84c27dd4947125903ce43f3a9c3c2c Signed-off-by: Richard Marian Thomaiyar Signed-off-by: Brad Bishop --- meta-phosphor/conf/distro/include/phosphor-base.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta-phosphor/conf/distro') diff --git a/meta-phosphor/conf/distro/include/phosphor-base.inc b/meta-phosphor/conf/distro/include/phosphor-base.inc index 20fd21643..7970fefcd 100644 --- a/meta-phosphor/conf/distro/include/phosphor-base.inc +++ b/meta-phosphor/conf/distro/include/phosphor-base.inc @@ -133,7 +133,7 @@ include conf/distro/include/openbmc-phosphor/${MACHINE}.inc KERNEL_FEATURES_append = " phosphor-gpio-keys" KERNEL_FEATURES_remove_qemuall = " phosphor-gpio-keys" -IMAGE_CLASSES_append = " image_types_phosphor" +IMAGE_CLASSES_append = " image_types_phosphor phosphor-rootfs-postcommands" IMAGE_CLASSES_append_npcm7xx = " image_types_phosphor_nuvoton" IMAGE_INSTALL_append = " dbus-broker" -- cgit v1.2.3