diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2012-08-29 13:04:45 +0100 |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2012-09-03 22:52:50 -0700 |
commit | 2abf70dc1f43a245d56ef85950be17db1ff32c06 (patch) | |
tree | 8c3a2bea6689ae24a93677834be38745550c5bbc | |
parent | 424dcf7046e4ad09dcc664eb1992201195247fcf (diff) | |
download | openembedded-core-2abf70dc1f43a245d56ef85950be17db1ff32c06.tar.gz openembedded-core-2abf70dc1f43a245d56ef85950be17db1ff32c06.tar.bz2 openembedded-core-2abf70dc1f43a245d56ef85950be17db1ff32c06.zip |
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
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
-rw-r--r-- | meta/recipes-core/packagegroups/packagegroup-base.bb | 39 |
1 files changed, 3 insertions, 36 deletions
diff --git a/meta/recipes-core/packagegroups/packagegroup-base.bb b/meta/recipes-core/packagegroups/packagegroup-base.bb index ea894b2e2b..85acd1fe72 100644 --- a/meta/recipes-core/packagegroups/packagegroup-base.bb +++ b/meta/recipes-core/packagegroups/packagegroup-base.bb @@ -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)} \ \ ' @@ -55,12 +48,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) # RDEPENDS_packagegroup-base = "\ @@ -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 = "\ " |