aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArsalan H. Awan <Arsalan_Awan@mentor.com>2019-09-14 16:11:27 +0500
committerArsalan H. Awan <Arsalan_Awan@mentor.com>2019-09-14 16:11:27 +0500
commitbc4d5973dacabe7c4e3e436c1c8434aeb2d8ad23 (patch)
tree750a3bfa70f1334567b5c8922bf6ecab03aa08a1
parent34830f2d2f31be93a808948e57452d966c1c5f8b (diff)
downloadmeta-amd-bc4d5973dacabe7c4e3e436c1c8434aeb2d8ad23.tar.gz
meta-amd-bc4d5973dacabe7c4e3e436c1c8434aeb2d8ad23.tar.bz2
meta-amd-bc4d5973dacabe7c4e3e436c1c8434aeb2d8ad23.zip
distro/poky-amd.conf: fix sdk build with debian package-management
Exclude complementary (-src,-dbg & -dev) pkgs of the following recipes as they are not required while populate_sdk, and they fail to get installed due to missing dependencies, therefore generate a warning and even the rest of the complementary pkgs in the list don't get installed when using debian based package-managemant. PACKAGE_EXCLUDE_COMPLEMENTARY = "dpkg|autoconf|automake|packagegroup-core-buildessential|packagegroup-core-sdk|packagegroup-core-tools-profile|perf|quilt|systemtap|target-sdk-provides-dummy" "apt" is an exception to the above PACKAGE_EXCLUDE_COMPLEMENTARY list as oe uses apt itself to install/remove/exclude the above-listed complementary pkgs, and when apt is listed in the above-listed PACKAGE_EXCLUDE_COMPLEMENTARY, it tries to removes itself, and it asks for user input and oe gets out of there and our complementary pkgs don't get installed, but they are required for development and debugging purposes using the SDK. TOOLCHAIN_TARGET_TASK_remove = " apt" Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
-rw-r--r--meta-amd-distro/conf/distro/poky-amd.conf16
1 files changed, 16 insertions, 0 deletions
diff --git a/meta-amd-distro/conf/distro/poky-amd.conf b/meta-amd-distro/conf/distro/poky-amd.conf
index 16abc73e..71db5ed5 100644
--- a/meta-amd-distro/conf/distro/poky-amd.conf
+++ b/meta-amd-distro/conf/distro/poky-amd.conf
@@ -41,3 +41,19 @@ IMAGE_BOOT_FILES = " \
do_image_wic[depends] += "${IMAGE_BASENAME}:do_bootimg"
IMAGE_OVERHEAD_FACTOR = "1.1"
+
+# Exclude complementary (-src,-dbg & -dev) pkgs of the following
+# recipes as they are not required while populate_sdk, and they fail
+# to get installed due to missing dependencies, therefore generate a
+# warning and even the rest of the complementary pkgs in the list
+# don't get installed when using debian based package-managemant.
+PACKAGE_EXCLUDE_COMPLEMENTARY = "dpkg|autoconf|automake|packagegroup-core-buildessential|packagegroup-core-sdk|packagegroup-core-tools-profile|perf|quilt|systemtap|target-sdk-provides-dummy"
+
+# "apt" is an exception to the above PACKAGE_EXCLUDE_COMPLEMENTARY list
+# as oe uses apt itself to install/remove/exclude the above-listed
+# complementary pkgs, and when apt is listed in the above-listed
+# PACKAGE_EXCLUDE_COMPLEMENTARY, it tries to removes itself, and it
+# asks for user input and oe gets out of there and our complementary
+# pkgs don't get installed, but they are required for development and
+# debugging purposes using the SDK.
+TOOLCHAIN_TARGET_TASK_remove = " apt"