aboutsummaryrefslogtreecommitdiff
path: root/system/system.mk
diff options
context:
space:
mode:
authorGravatar Yann E. MORIN <yann.morin.1998@free.fr>2013-01-05 04:52:02 +0000
committerGravatar Peter Korsgaard <jacmet@sunsite.dk>2013-01-06 21:46:47 +0100
commitb98b191b5cb628ed8dd32236c4b08d025b65941f (patch)
tree3d014a19ba514ff7a838dabafaa2255d5ad6d30e /system/system.mk
parent4ec970246547dce915aaeff8394a3b0303a205db (diff)
downloadbuildroot-b98b191b5cb628ed8dd32236c4b08d025b65941f.tar.gz
buildroot-b98b191b5cb628ed8dd32236c4b08d025b65941f.tar.bz2
system: set root password only for default skeleton
In case one is using a custom skeleton, the root pasword might already be set in this case, and should not be overriden. Just ask for (and set) the root password only for the default skeleton. Reported-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Peter Korsgaard <jacmet@uclibc.org> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'system/system.mk')
-rw-r--r--system/system.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/system/system.mk b/system/system.mk
index 3c4d06e69c..651f7df0f6 100644
--- a/system/system.mk
+++ b/system/system.mk
@@ -47,7 +47,9 @@ ifneq ($(TARGET_GENERIC_ISSUE),)
TARGETS += target-generic-issue
endif
+ifeq ($(BR2_ROOTFS_SKELETON_DEFAULT),y)
TARGETS += target-root-passwd
+endif
ifneq ($(TARGET_GENERIC_GETTY),)
ifeq ($(BR2_ROOTFS_SKELETON_DEFAULT),y)