mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 05:09:24 +00:00
packagegroup-base: remove some useless items
* Bootloader selection (u-boot, redboot, etc.) is not handled using feature selection anymore, so remove these packages * Realistically there are no packages we can always know that need to be installed for a screen/touchscreen these days, so remove these * Similarly, all RAID configurations can't be supported just using one package or list of packages, so remove the raid package. * Remove default settings of MACHINE_ESSENTIAL_*, these variables aren't referred to in this recipe. * Remove some outdated comments * Fix indenting (From OE-Core rev: 2abf70dc1f43a245d56ef85950be17db1ff32c06) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
272cb74d70
commit
ca8f7ecca7
@@ -23,16 +23,10 @@ PACKAGES = ' \
|
||||
${@base_contains("MACHINE_FEATURES", "pci", "packagegroup-base-pci", "",d)} \
|
||||
${@base_contains("MACHINE_FEATURES", "pcmcia", "packagegroup-base-pcmcia", "", d)} \
|
||||
${@base_contains("MACHINE_FEATURES", "phone", "packagegroup-base-phone", "", d)} \
|
||||
${@base_contains("MACHINE_FEATURES", "screen", "packagegroup-base-screen", "", d)} \
|
||||
${@base_contains("MACHINE_FEATURES", "serial", "packagegroup-base-serial", "", d)} \
|
||||
${@base_contains("MACHINE_FEATURES", "touchscreen", "packagegroup-base-touchscreen", "", d)} \
|
||||
${@base_contains("MACHINE_FEATURES", "usbgadget", "packagegroup-base-usbgadget", "", d)} \
|
||||
${@base_contains("MACHINE_FEATURES", "usbhost", "packagegroup-base-usbhost", "", d)} \
|
||||
\
|
||||
${@base_contains("MACHINE_FEATURES", "uboot", "packagegroup-base-uboot", "",d)} \
|
||||
${@base_contains("MACHINE_FEATURES", "redboot", "packagegroup-base-redboot", "",d)} \
|
||||
${@base_contains("MACHINE_FEATURES", "apex", "packagegroup-base-apex", "",d)} \
|
||||
\
|
||||
${@base_contains("DISTRO_FEATURES", "bluetooth", "packagegroup-base-bluetooth", "", d)} \
|
||||
${@base_contains("DISTRO_FEATURES", "wifi", "packagegroup-base-wifi", "", d)} \
|
||||
${@base_contains("DISTRO_FEATURES", "3g", "packagegroup-base-3g", "", d)} \
|
||||
@@ -42,7 +36,6 @@ PACKAGES = ' \
|
||||
${@base_contains("DISTRO_FEATURES", "nfs", "packagegroup-base-nfs", "", d)} \
|
||||
${@base_contains("DISTRO_FEATURES", "ppp", "packagegroup-base-ppp", "", d)} \
|
||||
${@base_contains("DISTRO_FEATURES", "smbfs", "packagegroup-base-smbfs", "", d)} \
|
||||
${@base_contains("DISTRO_FEATURES", "raid", "packagegroup-base-raid", "",d)} \
|
||||
${@base_contains("DISTRO_FEATURES", "zeroconf", "packagegroup-base-zeroconf", "", d)} \
|
||||
\
|
||||
'
|
||||
@@ -54,12 +47,6 @@ ALLOW_EMPTY = "1"
|
||||
#
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
#
|
||||
# those ones can be set in machine config to supply packages needed to get machine booting
|
||||
#
|
||||
MACHINE_ESSENTIAL_EXTRA_RDEPENDS ?= ""
|
||||
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS ?= ""
|
||||
|
||||
#
|
||||
# packagegroup-base contain stuff needed for base system (machine related)
|
||||
#
|
||||
@@ -85,9 +72,6 @@ RDEPENDS_packagegroup-base = "\
|
||||
${@base_contains('COMBINED_FEATURES', 'bluetooth', 'packagegroup-base-bluetooth', '',d)} \
|
||||
${@base_contains('COMBINED_FEATURES', 'wifi', 'packagegroup-base-wifi', '',d)} \
|
||||
${@base_contains('COMBINED_FEATURES', '3g', 'packagegroup-base-3g', '',d)} \
|
||||
${@base_contains('COMBINED_FEATURES', 'uboot', 'packagegroup-base-uboot', '',d)} \
|
||||
${@base_contains('COMBINED_FEATURES', 'redboot', 'packagegroup-base-redboot', '',d)} \
|
||||
${@base_contains('COMBINED_FEATURES', 'apex', 'packagegroup-base-apex', '',d)} \
|
||||
\
|
||||
${@base_contains('DISTRO_FEATURES', 'nfs', 'packagegroup-base-nfs', '',d)} \
|
||||
${@base_contains('DISTRO_FEATURES', 'cramfs', 'packagegroup-base-cramfs', '',d)} \
|
||||
@@ -95,7 +79,6 @@ RDEPENDS_packagegroup-base = "\
|
||||
${@base_contains('DISTRO_FEATURES', 'ipv6', 'packagegroup-base-ipv6', '',d)} \
|
||||
${@base_contains('DISTRO_FEATURES', 'ipsec', 'packagegroup-base-ipsec', '',d)} \
|
||||
${@base_contains('DISTRO_FEATURES', 'ppp', 'packagegroup-base-ppp', '',d)} \
|
||||
${@base_contains('DISTRO_FEATURES', 'raid', 'packagegroup-base-raid', '',d)} \
|
||||
${@base_contains('DISTRO_FEATURES', 'zeroconf', 'packagegroup-base-zeroconf', '',d)} \
|
||||
"
|
||||
|
||||
@@ -128,13 +111,13 @@ python __anonymous () {
|
||||
machine_features= set(d.getVar("MACHINE_FEATURES", True).split())
|
||||
|
||||
if "bluetooth" in distro_features and not "bluetooth" in machine_features and ("pcmcia" in machine_features or "pci" in machine_features or "usbhost" in machine_features):
|
||||
d.setVar("ADD_BT", "packagegroup-base-bluetooth")
|
||||
d.setVar("ADD_BT", "packagegroup-base-bluetooth")
|
||||
|
||||
if "wifi" in distro_features and not "wifi" in machine_features and ("pcmcia" in machine_features or "pci" in machine_features or "usbhost" in machine_features):
|
||||
d.setVar("ADD_WIFI", "packagegroup-base-wifi")
|
||||
d.setVar("ADD_WIFI", "packagegroup-base-wifi")
|
||||
|
||||
if "3g" in distro_features and not "3g" in machine_features and ("pcmcia" in machine_features or "pci" in machine_features or "usbhost" in machine_features):
|
||||
d.setVar("ADD_3G", "packagegroup-base-3g")
|
||||
d.setVar("ADD_3G", "packagegroup-base-3g")
|
||||
}
|
||||
|
||||
#
|
||||
@@ -188,8 +171,6 @@ RRECOMMENDS_packagegroup-base-alsa = "\
|
||||
RDEPENDS_packagegroup-base-pcmcia = "\
|
||||
pcmciautils \
|
||||
"
|
||||
#${@base_contains('DISTRO_FEATURES', 'wifi', 'prism-firmware', '',d)}
|
||||
#${@base_contains('DISTRO_FEATURES', 'wifi', 'spectrum-fw', '',d)}
|
||||
|
||||
|
||||
RRECOMMENDS_packagegroup-base-pcmcia = "\
|
||||
@@ -203,8 +184,6 @@ RRECOMMENDS_packagegroup-base-pcmcia = "\
|
||||
${@base_contains('DISTRO_FEATURES', 'wifi', 'kernel-module-orinoco-cs', '',d)} \
|
||||
${@base_contains('DISTRO_FEATURES', 'wifi', 'kernel-module-spectrum-cs', '',d)}"
|
||||
|
||||
# Provide bluez-utils-compat utils for the time being, the binaries in that package will vanish soon from upstream releases, so beware!
|
||||
|
||||
RDEPENDS_packagegroup-base-bluetooth = "\
|
||||
bluez4 \
|
||||
${@base_contains('COMBINED_FEATURES', 'alsa', 'libasound-module-bluez', '',d)} \
|
||||
@@ -333,18 +312,6 @@ RRECOMMENDS_packagegroup-base-nfs = "\
|
||||
RDEPENDS_packagegroup-base-zeroconf = "\
|
||||
avahi-daemon"
|
||||
|
||||
RDEPENDS_packagegroup-base-raid = "\
|
||||
"
|
||||
|
||||
RDEPENDS_packagegroup-base-screen = "\
|
||||
"
|
||||
|
||||
#
|
||||
# GPE/OPIE/OpenMoko provide own touchscreen calibration utils
|
||||
#
|
||||
RDEPENDS_packagegroup-base-touchscreen = "\
|
||||
"
|
||||
|
||||
RDEPENDS_packagegroup-base-ipv6 = "\
|
||||
"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user