Skip to content

Commit

Permalink
Fail on errors in chroot subshell
Browse files Browse the repository at this point in the history
Let the chroot subshell in the image locales extension fail on errors.

Signed-off-by: Tobias Schaffner <[email protected]>
  • Loading branch information
TobiasSchaffner authored and amikan committed Nov 3, 2022
1 parent 613f77a commit ca6b3e5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions meta/classes/image-locales-extension.bbclass
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ __EOF__

# Enter image and trigger locales config and localepurge:
chroot '${ROOTFSDIR}' /bin/sh <<'EOSH'
set -e

echo 'running locale debconf-set-selections'
debconf-set-selections /tmp/locale.debconf
Expand Down

0 comments on commit ca6b3e5

Please sign in to comment.