From c519334742781ff8556a2c782518d935bd411208 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Mon, 1 Sep 2025 11:01:11 +0200 Subject: [PATCH] system: drop superfluous negative condition for default PATH Kconfig applies the default values in the order they are defined, and stops at the first which condition is met. In this case, the two conditions are mutually exclusive, so we can drop the second one. This also makes it obvious there actually is a default value. Signed-off-by: Yann E. MORIN Acked-by: Arnout Vandecappelle Signed-off-by: Romain Naour --- system/Config.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/Config.in b/system/Config.in index 1bc8b61f11..b24004c533 100644 --- a/system/Config.in +++ b/system/Config.in @@ -535,7 +535,7 @@ endif # BR2_ROOTFS_SKELETON_DEFAULT config BR2_SYSTEM_DEFAULT_PATH string "Set the system's default PATH" default "/usr/bin:/usr/sbin" if BR2_ROOTFS_MERGED_USR - default "/bin:/sbin:/usr/bin:/usr/sbin" if !BR2_ROOTFS_MERGED_USR + default "/bin:/sbin:/usr/bin:/usr/sbin" help Sets the system's default PATH. It is being used in /etc/profile in the skeleton-init-common package and by some