summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
authorPascal Bach <pascal.bach@siemens.com>2015-01-21 11:30:25 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-01-29 15:36:47 +0000
commitdb8e08ca921367c007acbba870d4e9ca0841c2cd (patch)
treee150a4f4aafe46b9a7c2f76f375592c99db72be4 /meta/recipes-core
parent99ee41b204e1abd99ef345293d53b01cae7eb932 (diff)
downloadpoky-db8e08ca921367c007acbba870d4e9ca0841c2cd.tar.gz
base-passwd: Don't replace $ variables in passwd and group files
This allows the usage of "$type$salt$encrypted_password" passwords in the passwd file. (From OE-Core rev: 620b100f54c379661a8c48a1eb78ed94cd3b7a49) Signed-off-by: Pascal Bach <pascal.bach@siemens.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r--meta/recipes-core/base-passwd/base-passwd_3.5.29.bb4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-core/base-passwd/base-passwd_3.5.29.bb b/meta/recipes-core/base-passwd/base-passwd_3.5.29.bb
index ec8f2afb22..a35ea9bd08 100644
--- a/meta/recipes-core/base-passwd/base-passwd_3.5.29.bb
+++ b/meta/recipes-core/base-passwd/base-passwd_3.5.29.bb
@@ -75,11 +75,11 @@ python populate_packages_prepend() {
75 preinst = """#!/bin/sh 75 preinst = """#!/bin/sh
76mkdir -p $D${sysconfdir} 76mkdir -p $D${sysconfdir}
77if [ ! -e $D${sysconfdir}/passwd ]; then 77if [ ! -e $D${sysconfdir}/passwd ]; then
78\tcat << EOF > $D${sysconfdir}/passwd 78\tcat << 'EOF' > $D${sysconfdir}/passwd
79""" + passwd + """EOF 79""" + passwd + """EOF
80fi 80fi
81if [ ! -e $D${sysconfdir}/group ]; then 81if [ ! -e $D${sysconfdir}/group ]; then
82\tcat << EOF > $D${sysconfdir}/group 82\tcat << 'EOF' > $D${sysconfdir}/group
83""" + group + """EOF 83""" + group + """EOF
84fi 84fi
85""" 85"""