From: Denys Dmytriyenko <[email protected]>

ASSUME_PROVIDED only covers build dependencies, while package manager will
still try to install necessary packages if they are in the dependency chain.
Since nativesdk-autoconf depends on nativesdk-perl, use dummy provider from
OE-Core with few extra nativesdk-perl-modules to satisfy package manager.

Signed-off-by: Denys Dmytriyenko <[email protected]>
---
 .../recipes-core/meta/meta-toolchain-arago.bb         |  4 +++-
 .../meta/nativesdk-buildtools-perl-dummy.bbappend     | 19 +++++++++++++++++++
 2 files changed, 22 insertions(+), 1 deletion(-)
 create mode 100644 
meta-arago-extras/recipes-core/meta/nativesdk-buildtools-perl-dummy.bbappend

diff --git a/meta-arago-extras/recipes-core/meta/meta-toolchain-arago.bb 
b/meta-arago-extras/recipes-core/meta/meta-toolchain-arago.bb
index 3ea63ec..3d827a7 100644
--- a/meta-arago-extras/recipes-core/meta/meta-toolchain-arago.bb
+++ b/meta-arago-extras/recipes-core/meta/meta-toolchain-arago.bb
@@ -1,16 +1,18 @@
 TOOLCHAIN_HOST_TASK ?= "nativesdk-packagegroup-arago-sdk-host"
+TOOLCHAIN_HOST_TASK += "nativesdk-buildtools-perl-dummy"
 TOOLCHAIN_HOST_TASK += "packagegroup-arago-cross-canadian-${MACHINE}"
 TOOLCHAIN_TARGET_TASK ?= "packagegroup-arago-standalone-sdk-target"
 TOOLCHAIN_SUFFIX ?= "-sdk"
 TOOLCHAIN_OUTPUTNAME ?= 
"${SDK_NAME}-${ARMPKGARCH}-${TARGET_OS}${TOOLCHAIN_SUFFIX}"
 TOOLCHAIN_CLEANUP_PACKAGES ?= ""
 SDKIMAGE_FEATURES = "package-management"
+SDK_PACKAGE_ARCHS += "buildtools-dummy-${SDKPKGSUFFIX}"
 
 inherit toolchain-scripts
 
 require recipes-core/meta/meta-toolchain.bb
 
-PR = "r34"
+PR = "r35"
 
 XZ_COMPRESSION_LEVEL ?= "-e -6"
 XZ_INTEGRITY_CHECK ?= "crc32"
diff --git 
a/meta-arago-extras/recipes-core/meta/nativesdk-buildtools-perl-dummy.bbappend 
b/meta-arago-extras/recipes-core/meta/nativesdk-buildtools-perl-dummy.bbappend
new file mode 100644
index 0000000..26d6ddb
--- /dev/null
+++ 
b/meta-arago-extras/recipes-core/meta/nativesdk-buildtools-perl-dummy.bbappend
@@ -0,0 +1,19 @@
+DUMMYPROVIDES += "\
+    nativesdk-perl-module-bytes \
+    nativesdk-perl-module-carp \
+    nativesdk-perl-module-constant \
+    nativesdk-perl-module-data-dumper \
+    nativesdk-perl-module-errno \
+    nativesdk-perl-module-exporter \
+    nativesdk-perl-module-file-basename \
+    nativesdk-perl-module-file-compare \
+    nativesdk-perl-module-file-copy \
+    nativesdk-perl-module-file-find \
+    nativesdk-perl-module-file-glob \
+    nativesdk-perl-module-file-stat \
+    nativesdk-perl-module-getopt-long \
+    nativesdk-perl-module-io-file \
+    nativesdk-perl-module-posix \
+    nativesdk-perl-module-thread-queue \
+    nativesdk-perl-module-threads \
+"
-- 
2.7.4

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to