public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH v2 0/1] Fail on errors in chroot subshell
@ 2022-10-25 10:15 T. Schaffner
  2022-10-25 10:15 ` [PATCH v2 1/1] " T. Schaffner
  2022-11-03  8:54 ` [PATCH v2 0/1] " Anton Mikanovich
  0 siblings, 2 replies; 3+ messages in thread
From: T. Schaffner @ 2022-10-25 10:15 UTC (permalink / raw)
  To: isar-users; +Cc: Tobias Schaffner

From: Tobias Schaffner <tobias.schaffner@siemens.com>

Changes since v1:
- Resend patch with correct formatting

Tobias Schaffner (1):
  Fail on errors in chroot subshell

 meta/classes/image-locales-extension.bbclass | 1 +
 1 file changed, 1 insertion(+)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH v2 1/1] Fail on errors in chroot subshell
  2022-10-25 10:15 [PATCH v2 0/1] Fail on errors in chroot subshell T. Schaffner
@ 2022-10-25 10:15 ` T. Schaffner
  2022-11-03  8:54 ` [PATCH v2 0/1] " Anton Mikanovich
  1 sibling, 0 replies; 3+ messages in thread
From: T. Schaffner @ 2022-10-25 10:15 UTC (permalink / raw)
  To: isar-users; +Cc: Tobias Schaffner

From: Tobias Schaffner <tobias.schaffner@siemens.com>

Let the chroot subshell in the image locales extension fail on errors.

Signed-off-by: Tobias Schaffner <tobias.schaffner@siemens.com>
---
 meta/classes/image-locales-extension.bbclass | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/classes/image-locales-extension.bbclass b/meta/classes/image-locales-extension.bbclass
index 2db6d4a..01163bb 100644
--- a/meta/classes/image-locales-extension.bbclass
+++ b/meta/classes/image-locales-extension.bbclass
@@ -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
-- 
2.34.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v2 0/1] Fail on errors in chroot subshell
  2022-10-25 10:15 [PATCH v2 0/1] Fail on errors in chroot subshell T. Schaffner
  2022-10-25 10:15 ` [PATCH v2 1/1] " T. Schaffner
@ 2022-11-03  8:54 ` Anton Mikanovich
  1 sibling, 0 replies; 3+ messages in thread
From: Anton Mikanovich @ 2022-11-03  8:54 UTC (permalink / raw)
  To: T. Schaffner, isar-users

25.10.2022 13:15, T. Schaffner wrote:
> From: Tobias Schaffner <tobias.schaffner@siemens.com>
>
> Changes since v1:
> - Resend patch with correct formatting
>
> Tobias Schaffner (1):
>    Fail on errors in chroot subshell
>
>   meta/classes/image-locales-extension.bbclass | 1 +
>   1 file changed, 1 insertion(+)
>
Applied to next, thanks.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-11-03  8:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-25 10:15 [PATCH v2 0/1] Fail on errors in chroot subshell T. Schaffner
2022-10-25 10:15 ` [PATCH v2 1/1] " T. Schaffner
2022-11-03  8:54 ` [PATCH v2 0/1] " Anton Mikanovich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox