Skip to contentSkip to conversation

buildtools-tarball: add wic dependency into extended buildtools

PATCH New Changqing Li 1 participant 1 message Nov 25, 2020

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 buildtools-tarball: add wic dependency into extended buildtools

fix below error:
wic ls ./core-image-minimal-intel-x86-64.wic

ERROR: Can't find executable parted

wic depend on some tools like parted/mtools/..., and we have those tools in native_sysroot. so above problem can be avoided by run command like wic ls imagename.wic --native-sysroot <path>

but this cannot cover condition that usr don't have build the image, the image just copy from somewhere.

---
 meta/recipes-core/meta/buildtools-extended-tarball.bb | 3 +++
 1 file changed, 3 insertions(+)
meta/recipes-core/meta/buildtools-extended-tarball.bb +3 -0
index c32d0107c3..0816486754 100644
@@ -29,6 +29,9 @@ TOOLCHAIN_HOST_TASK += "\
     nativesdk-pkgconfig \
     nativesdk-glibc-utils \
     nativesdk-libxcrypt-dev \
+    nativesdk-parted \
+    nativesdk-dosfstools \
+    nativesdk-gptfdisk \
     "
 
 TOOLCHAIN_OUTPUTNAME = "${SDK_ARCH}-buildtools-extended-nativesdk-standalone-${DISTRO_VERSION}"
Signature · 1 line
2.17.1