summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-core/meta/wic-tools.bb3
-rw-r--r--scripts/lib/wic/engine.py3
2 files changed, 4 insertions, 2 deletions
diff --git a/meta/recipes-core/meta/wic-tools.bb b/meta/recipes-core/meta/wic-tools.bb
index 428befe862..57dd37a440 100644
--- a/meta/recipes-core/meta/wic-tools.bb
+++ b/meta/recipes-core/meta/wic-tools.bb
@@ -5,7 +5,8 @@ LICENSE = "MIT"
5DEPENDS = "\ 5DEPENDS = "\
6 parted-native syslinux-native gptfdisk-native dosfstools-native \ 6 parted-native syslinux-native gptfdisk-native dosfstools-native \
7 mtools-native bmap-tools-native grub-efi-native cdrtools-native \ 7 mtools-native bmap-tools-native grub-efi-native cdrtools-native \
8 btrfs-tools-native squashfs-tools-native pseudo-native e2fsprogs-native \ 8 btrfs-tools-native squashfs-tools-native pseudo-native \
9 e2fsprogs-native util-linux-native \
9 " 10 "
10DEPENDS_append_x86 = " syslinux grub-efi systemd-boot" 11DEPENDS_append_x86 = " syslinux grub-efi systemd-boot"
11DEPENDS_append_x86-64 = " syslinux grub-efi systemd-boot" 12DEPENDS_append_x86-64 = " syslinux grub-efi systemd-boot"
diff --git a/scripts/lib/wic/engine.py b/scripts/lib/wic/engine.py
index 9f2e87f88b..4ffb08d1c8 100644
--- a/scripts/lib/wic/engine.py
+++ b/scripts/lib/wic/engine.py
@@ -276,7 +276,8 @@ class Disk:
276 276
277 def __getattr__(self, name): 277 def __getattr__(self, name):
278 """Get path to the executable in a lazy way.""" 278 """Get path to the executable in a lazy way."""
279 if name in ("mdir", "mcopy", "mdel", "mdeltree"): 279 if name in ("mdir", "mcopy", "mdel", "mdeltree", "sfdisk", "e2fsck",
280 "resize2fs", "mkswap", "mkdosfs"):
280 aname = "_%s" % name 281 aname = "_%s" % name
281 if aname not in self.__dict__: 282 if aname not in self.__dict__:
282 setattr(self, aname, find_executable(name, self.paths)) 283 setattr(self, aname, find_executable(name, self.paths))