diff options
| -rw-r--r-- | meta/recipes-core/base-passwd/base-passwd_3.5.26.bb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-core/base-passwd/base-passwd_3.5.26.bb b/meta/recipes-core/base-passwd/base-passwd_3.5.26.bb index 2b1dc1c5b7..dd310af198 100644 --- a/meta/recipes-core/base-passwd/base-passwd_3.5.26.bb +++ b/meta/recipes-core/base-passwd/base-passwd_3.5.26.bb | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | SUMMARY = "Base system master password/group files." | 1 | SUMMARY = "Base system master password/group files." |
| 2 | DESCRIPTION = "The master copies of the user database files (/etc/passwd and /etc/group). The update-passwd tool is also provided to keep the system databases synchronized with these master files." | 2 | DESCRIPTION = "The master copies of the user database files (/etc/passwd and /etc/group). The update-passwd tool is also provided to keep the system databases synchronized with these master files." |
| 3 | SECTION = "base" | 3 | SECTION = "base" |
| 4 | PR = "r0" | 4 | PR = "r1" |
| 5 | LICENSE = "GPLv2+" | 5 | LICENSE = "GPLv2+" |
| 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a" | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a" |
| 7 | 7 | ||
| @@ -64,6 +64,7 @@ python populate_packages_prepend() { | |||
| 64 | f.close() | 64 | f.close() |
| 65 | 65 | ||
| 66 | preinst = """#!/bin/sh | 66 | preinst = """#!/bin/sh |
| 67 | mkdir -p $D${sysconfdir} | ||
| 67 | if [ ! -e $D${sysconfdir}/passwd ]; then | 68 | if [ ! -e $D${sysconfdir}/passwd ]; then |
| 68 | \tcat << EOF > $D${sysconfdir}/passwd | 69 | \tcat << EOF > $D${sysconfdir}/passwd |
| 69 | """ + passwd + """EOF | 70 | """ + passwd + """EOF |
