From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Greylist: delayed 900 seconds by postgrey-1.34 at layers.openembedded.org; Mon, 08 Oct 2018 13:58:26 UTC Received: from mail1.essvote.com (mail1.essvote.com [66.37.226.19]) by mail.openembedded.org (Postfix) with ESMTP id 1AE78799B1 for ; Mon, 8 Oct 2018 13:58:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; d=essvote.com; s=omaha.092018; c=relaxed/relaxed; q=dns/txt; i=@essvote.com; t=1539006207; x=1541598207; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=auSsKadGKILPzhKFUf8YgtFlEQ5crM7LkS2c3Dhygbw=; b=QzRksPnCfNHz0+s79hPdWZbW6kP7ywx7mJKVMxeVgvWTFUpb9L9WbQgXuw5ouWW3 iIEhMKx+ioWvD5QZj6pltpAxLZdv4sX/BjMgQdnSQwkww6+kYgwgjpB+5joKJaTb 7RbHkSLccM7rHQ3WG7L74VqCj1+/vytlX/3UvAub0fog+V9Ct7BRY4VJSq2WPIqX 55LOOEB/Kd+q0W6uA+T5ytor7nCCC2Q2GZl0Yzejfa6KMtohehUDK4z8zsH+3vKr Jf5YGGgg/6QRkVCi+1yv4wJBH7DSJGXnWsFZhtXwOMrfXafrhkXWfYgfbHnpGh56 NBM+aXJNODbvOdWnQluzxQ==; X-AuditID: 0a000213-0fbff700000067f8-25-5bbb5efe4977 Received: from ESS-EX01.essvote.corp.local (Unknown_Domain [172.16.110.40]) by mail1.essvote.com (Symantec Messaging Gateway) with SMTP id 7D.72.26616.EFE5BBB5; Mon, 8 Oct 2018 08:43:27 -0500 (CDT) Received: from ESS-EX01.essvote.corp.local ([fe80::b1d4:5b04:bc85:956e]) by ESS-EX01.essvote.corp.local ([fe80::b1d4:5b04:bc85:956e%16]) with mapi id 14.03.0301.000; Mon, 8 Oct 2018 08:43:26 -0500 From: "Davis, Michael" To: "openembedded-core@lists.openembedded.org" Thread-Topic: [OE-core][PATCH] Support for changing the imager used in wic. Thread-Index: AdRfDOMfZNJ5lI+RR+6vWw46bhcPjg== Date: Mon, 8 Oct 2018 13:43:25 +0000 Message-ID: <655290B7709079438B7932553958E60DA15843CA@ESS-EX01.essvote.corp.local> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.1.20.33] MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrJLMWRmVeSWpSXmKPExsWyRiBPQ/d/3O5og8Z5PBZ3fr5jd2D0OLdx BWMAYxSXTUpqTmZZapG+XQJXxrfdnxkL7nhV9E0/ztrA2OfUxcjJISFgItHfeZ+5i5GLQ0jg BKPElMMrmUASYM765QEgNpuAkcS565sYQWwRgWiJpTNmsoPYwgJuEhsfHmCCiHtL/Fr3AKiG A8jWk7i6yxfEZBFQkVj1OQ2kglcgSGJm+01mEJtRQEzi+6k1YJ3MAuISt57MZ4I4R0BiyZ7z zBC2qMTLx/9YQcZICMhJHL4VCVGeL3F++XsWiJGCEidnPmGZwCg4C8mkWUjKZiEpg4jrSCzY /YkNwtaWWLbwNTOMfebAYyZk8QWM7KsYBXMTM3MM9VKLi8vyS1L1kvNzNzECg52LgUl4B+OC GbGHGAU4GJV4eA8H7o4WYk0sK67MPcQozcGiJM67vWtztJBAemJJanZqakFqUXxRaU5q8SFG Jg5OEMEl1cA4wdFWtT38w30BtRl86rnTdjUqf2WoKT4ZPOmN+D7lmw/OXG+/pFAuVZf1WCfR vJApZtpK5z2ztj5273H+7RtYo9gtuP/eaknTeveSAytrFr+u0dKuOXVr52e5f6IlTlk+1zpm Mv9//1tuVpKB+cNrJg/aixVOfT2z3ipYeemCBO/KWI7HOk5KLMUZiYZazEXFiQAjhPByXAIA AA== Subject: [PATCH] Support for changing the imager used in wic. X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Oct 2018 13:58:27 -0000 Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_655290B7709079438B7932553958E60DA15843CAESSEX01essvotec_" --_000_655290B7709079438B7932553958E60DA15843CAESSEX01essvotec_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable >From 136d6214b6fc2c1118dac5b7f3e029ed006fab8a Mon Sep 17 00:00:00 2001 From: Paul Knopf > Date: Mon, 21 May 2018 16:56:51 -0400 Subject: [PATCH] Support for changing the imager used in wic. --- scripts/lib/wic/engine.py | 2 +- scripts/wic | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/lib/wic/engine.py b/scripts/lib/wic/engine.py index edcfab3..d7c5c11 100644 --- a/scripts/lib/wic/engine.py +++ b/scripts/lib/wic/engine.py @@ -191,7 +191,7 @@ def wic_create(wks_file, rootfs_dir, bootimg_dir, kernel_dir, if not os.path.exists(options.outdir): os.makedirs(options.outdir) - pname =3D 'direct' + pname =3D options.imager plugin_class =3D PluginMgr.get_plugins('imager').get(pname) if not plugin_class: raise WicError('Unknown plugin: %s' % pname) diff --git a/scripts/wic b/scripts/wic index 7392bc4..255e524 100755 --- a/scripts/wic +++ b/scripts/wic @@ -360,6 +360,7 @@ def wic_init_parser_create(subparser): subparser.add_argument("-v", "--vars", dest=3D'vars_dir', help=3D"directory with .env files that store = " "bitbake variables") + subparser.add_argument("-i", "--imager", dest=3D"imager", default=3D"direct", help=3D"the wic imager plugin") subparser.add_argument("-D", "--debug", dest=3D"debug", action=3D"store_true", default=3DFalse, help=3D"output debug information") return -- 2.7.4 I found this patch that got sent to the yocto mailing list, but never made = it to the correct mailing list. I would really like to have the functionality if it is possible to get it p= ulled in. --_000_655290B7709079438B7932553958E60DA15843CAESSEX01essvotec_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
>From 136d6214b6fc2c1118dac5b7f3e029=
ed006fab8a Mon Sep 17 00:00:00 2001
From: Paul Knopf <pauldotknopf at gmail.com>=
Date: Mon, 21 May 2018 16:56:51 -0400=
Subject: [PATCH] Support for changing the =
imager used in wic.
 
---
 scripts/lib/wic/engine.py | 2 +-=
 scripts/wic     =
          | 1 +=
 2 files changed, 2 insertions(+), 1 d=
eletion(-)
 
diff --git a/scripts/lib/wic/engine.py b/s=
cripts/lib/wic/engine.py
index edcfab3..d7c5c11 100644
--- a/scripts/lib/wic/engine.py=
+++ b/scripts/lib/wic/engine.p=
y
@@ -191,7 +191,7 @@ def wic_create(wks=
_file, rootfs_dir, bootimg_dir,
kernel_dir,
     if not os.path.ex=
ists(options.outdir):
       =
  os.makedirs(options.outdir)
 
-    pname =3D 'direct'
+    pname =3D options.=
imager
     plugin_class =3D =
PluginMgr.get_plugins('imager').get(pname)
     if not plugin_cla=
ss:
       =
  raise WicError('Unknown plugin: %s' % pname)
diff --git a/scripts/wic b/scripts/wic
index 7392bc4..255e524 100755
--- a/scripts/wic
+++ b/scripts/wic
@@ -360,6 +360,7 @@ def wic_init_parse=
r_create(subparser):
     subparser.add_arg=
ument("-v", "--vars", dest=3D'vars_dir',
       =
            &nb=
sp;   help=3D"directory with <image>.env files that st=
ore "
       =
            &nb=
sp;        "bitbake variables"=
)
+    subparser.add_argu=
ment("-i", "--imager", dest=3D"imager",<=
/o:p>
default=3D"direct", help=3D"=
;the wic imager plugin")
     subparser.add_arg=
ument("-D", "--debug", dest=3D"debug",
action=3D"store_true",
       =
            &nb=
sp;   default=3DFalse, help=3D"output debug information"=
;)
     return=
-- 
2.7.4

 

 

I found this patch that got sent to the yocto mailin= g list, but never made it to the correct mailing list.

I would really like to have the functionality if it = is possible to get it pulled in.

 

--_000_655290B7709079438B7932553958E60DA15843CAESSEX01essvotec_--