summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/base-passwd/base-passwd_3.5.22.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/base-passwd/base-passwd_3.5.22.bb')
-rw-r--r--meta/recipes-core/base-passwd/base-passwd_3.5.22.bb4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-core/base-passwd/base-passwd_3.5.22.bb b/meta/recipes-core/base-passwd/base-passwd_3.5.22.bb
index 92ad0d9776..ae3864c0a6 100644
--- a/meta/recipes-core/base-passwd/base-passwd_3.5.22.bb
+++ b/meta/recipes-core/base-passwd/base-passwd_3.5.22.bb
@@ -63,10 +63,10 @@ python populate_packages_prepend() {
63 # time before the files from the package may be available, hence 63 # time before the files from the package may be available, hence
64 # storing the data from the files in the preinst directly. 64 # storing the data from the files in the preinst directly.
65 65
66 f = open(bb.data.expand("${STAGING_DATADIR}/base-passwd/passwd.master", d), 'r') 66 f = open(d.expand("${STAGING_DATADIR}/base-passwd/passwd.master"), 'r')
67 passwd = "".join(f.readlines()) 67 passwd = "".join(f.readlines())
68 f.close() 68 f.close()
69 f = open(bb.data.expand("${STAGING_DATADIR}/base-passwd/group.master", d), 'r') 69 f = open(d.expand("${STAGING_DATADIR}/base-passwd/group.master"), 'r')
70 group = "".join(f.readlines()) 70 group = "".join(f.readlines())
71 f.close() 71 f.close()
72 72