public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Wadim Klincov <wadim@klincov.com>
To: isar-users@googlegroups.com
Cc: Wadim Klincov <wadim@klincov.com>
Subject: [PATCH] Add missing WicError import
Date: Mon, 14 Mar 2022 10:55:53 +0000	[thread overview]
Message-ID: <20220314105543.100423-1-wadim@klincov.com> (raw)

This patch adds the missing import of `WicError`, making any potential errors when building wic images easier to understand.

Signed-off-by: Wadim Klincov <wadim@klincov.com>
---
 meta/scripts/lib/wic/plugins/isarpluginbase.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/scripts/lib/wic/plugins/isarpluginbase.py b/meta/scripts/lib/wic/plugins/isarpluginbase.py
index 185e2ea..68af220 100644
--- a/meta/scripts/lib/wic/plugins/isarpluginbase.py
+++ b/meta/scripts/lib/wic/plugins/isarpluginbase.py
@@ -8,6 +8,8 @@

 import os

+from wic import WicError
+
 def isar_populate_boot_cmd(rootfs_dir, hdddir):
     # copy all files from rootfs/boot into boot partition
     # no not copy symlinks (ubuntu places them here) because targetfs is fat
--
2.35.1



             reply	other threads:[~2022-03-14 10:58 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-14 10:55 Wadim Klincov [this message]
2022-03-16  8:24 ` Henning Schild
2022-03-16  9:03   ` Anton Mikanovich
2022-03-16 10:12     ` Henning Schild
2022-03-16  9:12   ` Wadim Klincov
2022-03-16 11:13     ` Henning Schild
2022-03-17  9:00       ` Wadim Klincov
2022-03-21 15:02 ` Anton Mikanovich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220314105543.100423-1-wadim@klincov.com \
    --to=wadim@klincov.com \
    --cc=isar-users@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox