All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] wic: misc.py: Added more mtools binaries
@ 2017-10-23 23:59 Saul Wold
  2017-10-23 23:59 ` [PATCH 2/2] wic: misc.py: Use mmd from mtools instead of syslinux Saul Wold
  0 siblings, 1 reply; 2+ messages in thread
From: Saul Wold @ 2017-10-23 23:59 UTC (permalink / raw)
  To: openembedded-core, richard.purdie

This fixes the issue that if you don't have mtools installed on the host
thus causing host contamination, that the correct binaries would be selected
from the native sysroot.

[YOCTO #12173]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 scripts/lib/wic/misc.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/scripts/lib/wic/misc.py b/scripts/lib/wic/misc.py
index 0792480f869..cc28c95fda5 100644
--- a/scripts/lib/wic/misc.py
+++ b/scripts/lib/wic/misc.py
@@ -43,6 +43,9 @@ NATIVE_RECIPES = {"bmaptool": "bmap-tools",
                   "grub-mkimage": "grub-efi",
                   "isohybrid": "syslinux",
                   "mcopy": "mtools",
+                  "mdel" : "mtools",
+                  "mdeltree" : "mtools",
+                  "mdir" : "mtools",
                   "mkdosfs": "dosfstools",
                   "mkisofs": "cdrtools",
                   "mkfs.btrfs": "btrfs-tools",
-- 
2.13.5



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

* [PATCH 2/2] wic: misc.py: Use mmd from mtools instead of syslinux
  2017-10-23 23:59 [PATCH 1/2] wic: misc.py: Added more mtools binaries Saul Wold
@ 2017-10-23 23:59 ` Saul Wold
  0 siblings, 0 replies; 2+ messages in thread
From: Saul Wold @ 2017-10-23 23:59 UTC (permalink / raw)
  To: openembedded-core, richard.purdie

mtools already provides a suite of msdos utilities, switch to this
one also.  This could allow for future changes to reduce wic's
dependecies.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 scripts/lib/wic/misc.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/lib/wic/misc.py b/scripts/lib/wic/misc.py
index cc28c95fda5..ee888b478cc 100644
--- a/scripts/lib/wic/misc.py
+++ b/scripts/lib/wic/misc.py
@@ -55,7 +55,7 @@ NATIVE_RECIPES = {"bmaptool": "bmap-tools",
                   "mkfs.vfat": "dosfstools",
                   "mksquashfs": "squashfs-tools",
                   "mkswap": "util-linux",
-                  "mmd": "syslinux",
+                  "mmd": "mtools",
                   "parted": "parted",
                   "sfdisk": "util-linux",
                   "sgdisk": "gptfdisk",
-- 
2.13.5



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

end of thread, other threads:[~2017-10-23 23:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-23 23:59 [PATCH 1/2] wic: misc.py: Added more mtools binaries Saul Wold
2017-10-23 23:59 ` [PATCH 2/2] wic: misc.py: Use mmd from mtools instead of syslinux Saul Wold

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.