diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/useradd.bbclass | 2 | ||||
-rw-r--r-- | meta/recipes-core/base-passwd/base-passwd_3.6.3.bb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/useradd.bbclass b/meta/classes/useradd.bbclass index cb809b5dd7..a58f8287c9 100644 --- a/meta/classes/useradd.bbclass +++ b/meta/classes/useradd.bbclass | |||
@@ -167,7 +167,7 @@ python useradd_sysroot_sstate () { | |||
167 | if scriptfile: | 167 | if scriptfile: |
168 | bb.utils.mkdirhier(os.path.dirname(scriptfile)) | 168 | bb.utils.mkdirhier(os.path.dirname(scriptfile)) |
169 | with open(scriptfile, 'w') as script: | 169 | with open(scriptfile, 'w') as script: |
170 | script.write("#!/bin/sh\n") | 170 | script.write("#!/bin/sh -e\n") |
171 | bb.data.emit_func("useradd_sysroot", script, d) | 171 | bb.data.emit_func("useradd_sysroot", script, d) |
172 | script.write("useradd_sysroot\n") | 172 | script.write("useradd_sysroot\n") |
173 | os.chmod(scriptfile, 0o755) | 173 | os.chmod(scriptfile, 0o755) |
diff --git a/meta/recipes-core/base-passwd/base-passwd_3.6.3.bb b/meta/recipes-core/base-passwd/base-passwd_3.6.3.bb index 9d7703b1c0..bf50b01fd5 100644 --- a/meta/recipes-core/base-passwd/base-passwd_3.6.3.bb +++ b/meta/recipes-core/base-passwd/base-passwd_3.6.3.bb | |||
@@ -54,7 +54,7 @@ do_install () { | |||
54 | } | 54 | } |
55 | 55 | ||
56 | basepasswd_sysroot_postinst() { | 56 | basepasswd_sysroot_postinst() { |
57 | #!/bin/sh | 57 | #!/bin/sh -e |
58 | 58 | ||
59 | # Install passwd.master and group.master to sysconfdir | 59 | # Install passwd.master and group.master to sysconfdir |
60 | install -d -m 755 ${STAGING_DIR_TARGET}${sysconfdir} | 60 | install -d -m 755 ${STAGING_DIR_TARGET}${sysconfdir} |