handheld-common.conf, pcmcia-cs, pcmciautils: revert virtual/pcmcia-manager changes...
authorRene Wagner <rw@handhelds.org>
Mon, 19 Dec 2005 14:46:10 +0000 (14:46 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Mon, 19 Dec 2005 14:46:10 +0000 (14:46 +0000)
  - Having packages that cannot be used interchangeably provide the same
    virtual package leads to all sorts of breakage on the build system
    and runtime dependencies levels.
  - If you want to use pcmciautils instead of pcmcia-cs for your machine now,
    add PCMCIA_MANAGER = "pcmciautils" in your MACHINE .conf before including
    handheld-common.conf.

conf/machine/handheld-common.conf
packages/pcmcia-cs/pcmcia-cs_3.2.8.bb
packages/pcmciautils/pcmciautils_010.bb

index 8aad984..40fd978 100644 (file)
@@ -16,11 +16,11 @@ irda irlan irnet irport irtty ircomm-tty \
 input uinput \
 "
 
-PREFERRED_PROVIDER_virtual/pcmcia-manager ?= "pcmcia-cs"
+PCMCIA_MANAGER ?= "pcmcia-cs"
 
 # Configuration bits for "generic handheld"
-BOOTSTRAP_EXTRA_DEPENDS += "virtual/pcmcia-manager apmd ppp wireless-tools irda-utils openswan wpa-supplicant-nossl lrzsz ppp-dialin network-suspend-scripts"
-BOOTSTRAP_EXTRA_RDEPENDS +=  "virtual/pcmcia-manager apm apmd network-suspend-scripts"
+BOOTSTRAP_EXTRA_DEPENDS += "${PCMCIA_MANAGER} apmd ppp wireless-tools irda-utils openswan wpa-supplicant-nossl lrzsz ppp-dialin network-suspend-scripts"
+BOOTSTRAP_EXTRA_RDEPENDS +=  "${PCMCIA_MANAGER} apm apmd network-suspend-scripts"
 BOOTSTRAP_EXTRA_RRECOMMENDS += "ppp wireless-tools irda-utils openswan wpa-supplicant-nossl lrzsz ppp-dialin ${@linux_module_packages('${HANDHELD_MODULES}', d)}"
 
 INHERIT += "linux_modules"
index 285c263..31d90f6 100644 (file)
@@ -1,11 +1,9 @@
 DESCRIPTION = "Utilities and system configuration files for the Linux PCMCIA card services"
 SECTION = "base"
 PRIORITY = "required"
-PROVIDES = "virtual/pcmcia-manager"
-RPROVIDES = "virtual/pcmcia-manager"
 LICENSE = "GPL"
 DEPENDS = "virtual/kernel"
-PR = "r25"
+PR = "r26"
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/pcmcia-cs/pcmcia-cs-${PV}.tar.gz \
           file://busybox.patch;patch=1 \
index f405eea..8045a0e 100644 (file)
@@ -4,7 +4,6 @@ RDEPENDS = "udev module-init-tools"
 HOMEPAGE = "http://kernel.org/pub/linux/utils/kernel/pcmcia/pcmcia.html"
 SECTION = "kernel/userland"
 PRIORITY = "optional"
-PROVIDES = "virtual/pcmcia-manager"
 
 SRC_URI = "http://kernel.org/pub/linux/utils/kernel/pcmcia/pcmciautils-${PV}.tar.bz2"
 S = "${WORKDIR}/pcmciautils-${PV}"