From c5ca18126dc23e2ee99409661c23fff986bb9908 Mon Sep 17 00:00:00 2001 From: ldhana149 Date: Wed, 12 Jun 2024 16:05:48 +0000 Subject: [PATCH] RDKE-100: Fix Nothing provides error for foundation layer recipes Reason for change: Fixes build issues with rpi specific package dependencies for foundation layer * packagegorup-base (linux-firmware-rpidistro, bluez-firmware-rpidistro, udev-rules-rpi) are commented * GPLv3 packages - dosfstools, coreutils, findutils are whitelisted Test Procedure: Build and verify Risks: Low Priority: P1 Signed-off-by: ldhana149 --- conf/machine/include/rpi-base.inc | 5 ++++- conf/machine/raspberrypi4-64.conf | 11 +++++++---- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/conf/machine/include/rpi-base.inc b/conf/machine/include/rpi-base.inc index cd6d0b0..bd5032c 100644 --- a/conf/machine/include/rpi-base.inc +++ b/conf/machine/include/rpi-base.inc @@ -79,7 +79,10 @@ MACHINE_FEATURES += "apm usbhost keyboard vfat ext2 screen touchscreen alsa blue # Raspberry Pi has no hardware clock MACHINE_FEATURES_BACKFILL_CONSIDERED = "rtc" -MACHINE_EXTRA_RRECOMMENDS += "kernel-modules udev-rules-rpi" +#RDKE-100: Commenting to resolve nothing provides err with packagegroup-base(foundation-layer) +#MACHINE_EXTRA_RRECOMMENDS += "kernel-modules udev-rules-rpi" +MACHINE_EXTRA_RRECOMMENDS += "kernel-modules" + MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "${@oe.utils.conditional('ENABLE_I2C', '1', 'kernel-module-i2c-dev kernel-module-i2c-bcm2708', '', d)}" MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "${@oe.utils.conditional('ENABLE_IR', '1', 'kernel-module-gpio-ir kernel-module-gpio-ir-tx', '', d)}" diff --git a/conf/machine/raspberrypi4-64.conf b/conf/machine/raspberrypi4-64.conf index 57005d8..3a6bcac 100644 --- a/conf/machine/raspberrypi4-64.conf +++ b/conf/machine/raspberrypi4-64.conf @@ -5,10 +5,11 @@ MACHINEOVERRIDES = "raspberrypi4:${MACHINE}" MACHINE_FEATURES += "pci" -MACHINE_EXTRA_RRECOMMENDS += "\ - linux-firmware-rpidistro-bcm43455 \ - bluez-firmware-rpidistro-bcm4345c0-hcd \ -" +# RDKE-100 - Commenting to resolve Nothing provides error with packagegroup-base +#MACHINE_EXTRA_RRECOMMENDS += "\ +# linux-firmware-rpidistro-bcm43455 \ +# bluez-firmware-rpidistro-bcm4345c0-hcd \ +#" require conf/machine/include/tune-cortexa72.inc include conf/machine/include/rpi-base.inc @@ -35,3 +36,5 @@ RPI_EXTRA_CONFIG ?= "\n# Force arm in 64bit mode. See: https://github.com/raspbe ARMSTUB ?= "armstub8-gic.bin" +WHITELIST_GPLv3 += "${MLPREFIX}dosfstools ${MLPREFIX}coreutils ${MLPREFIX}findutils" +WHITELIST_GPL-3.0 = "${WHITELIST_GPLv3}"