summaryrefslogtreecommitdiffstats
path: root/meta/classes-recipe/core-image.bbclass
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2024-11-07 13:47:52 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-11-07 22:17:24 +0000
commit43b8b3fa72d75d8d82a478613a4d9bf4645b5389 (patch)
treefca85b34d6faae9c904159aef0da40fe045bf6f2 /meta/classes-recipe/core-image.bbclass
parent226ec2ce7487d35d1aba0e80c23b892f3a47442a (diff)
downloadpoky-43b8b3fa72d75d8d82a478613a4d9bf4645b5389.tar.gz
classes-recipe/core-image: drop debug-tweaks IMAGE_FEATURE
Remove the 'debug-tweaks' IMAGE_FEATURE. It sounds friendly and kind to developers, but it results primarily in an image which root can login remotely without a password. This is incredibly useful for local development and testing purposes, but we really want to be explicit that this is what is happening instead of hiding it behind a vague "debug tweaks" statement. To preserve the eixsting behaviour, debug-tweaks should be replaced with these features: allow-empty-password empty-root-password allow-root-login post-install-logging (From OE-Core rev: 2c229f9542c6ba608912e14c9c3f783c3fa89349) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes-recipe/core-image.bbclass')
-rw-r--r--meta/classes-recipe/core-image.bbclass11
1 files changed, 6 insertions, 5 deletions
diff --git a/meta/classes-recipe/core-image.bbclass b/meta/classes-recipe/core-image.bbclass
index 40fc15cb04..4072e420c5 100644
--- a/meta/classes-recipe/core-image.bbclass
+++ b/meta/classes-recipe/core-image.bbclass
@@ -26,11 +26,6 @@
26# - ssh-server-openssh - SSH server (openssh) 26# - ssh-server-openssh - SSH server (openssh)
27# - hwcodecs - Install hardware acceleration codecs 27# - hwcodecs - Install hardware acceleration codecs
28# - package-management - installs package management tools and preserves the package manager database 28# - package-management - installs package management tools and preserves the package manager database
29# - debug-tweaks - makes an image suitable for development, e.g. allowing passwordless root logins
30# - empty-root-password
31# - allow-empty-password
32# - allow-root-login
33# - post-install-logging
34# - serial-autologin-root - with 'empty-root-password': autologin 'root' on the serial console 29# - serial-autologin-root - with 'empty-root-password': autologin 'root' on the serial console
35# - dev-pkgs - development packages (headers, etc.) for all installed packages in the rootfs 30# - dev-pkgs - development packages (headers, etc.) for all installed packages in the rootfs
36# - dbg-pkgs - debug symbol packages for all installed packages in the rootfs 31# - dbg-pkgs - debug symbol packages for all installed packages in the rootfs
@@ -43,6 +38,12 @@
43# - stateless-rootfs - systemctl-native not run, image populated by systemd at runtime 38# - stateless-rootfs - systemctl-native not run, image populated by systemd at runtime
44# - splash - bootup splash screen 39# - splash - bootup splash screen
45# 40#
41# Features for development purposes (previously part of debug-tweaks):
42# - empty-root-password - the root user has no password set
43# - allow-empty-password - users can have an empty password
44# - allow-root-login - the root user can login
45# - post-install-logging - log the output of postinstall scriptlets
46#
46FEATURE_PACKAGES_weston = "packagegroup-core-weston" 47FEATURE_PACKAGES_weston = "packagegroup-core-weston"
47FEATURE_PACKAGES_x11 = "packagegroup-core-x11" 48FEATURE_PACKAGES_x11 = "packagegroup-core-x11"
48FEATURE_PACKAGES_x11-base = "packagegroup-core-x11-base" 49FEATURE_PACKAGES_x11-base = "packagegroup-core-x11-base"