packagegroup: add RPROVIDES/RREPLACES/RCONFLICTS and bump PR to get some upgrade path

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Martin Jansa
2012-09-04 14:33:50 +02:00
committed by Koen Kooi
parent 21a4be0e36
commit 49e269ecc6
9 changed files with 59 additions and 11 deletions
@@ -5,7 +5,7 @@ DESCRIPTION = "Basic task to get a device online"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"
PR = "r9"
PR = "r10"
inherit packagegroup
@@ -23,6 +23,9 @@ MACHINE_EXTRA_RRECOMMENDS ?= ""
#
TASK_BASIC_SSHDAEMON ?= "dropbear openssh-sftp openssh-sftp-server"
RPROVIDES_${PN} += "task-basic"
RREPLACES_${PN} += "task-basic"
RCONFLICTS_${PN} += "task-basic"
#
# The section below is designed to match with packagegroup-boot, but doesn't depend on it to allow for more freedom
# when writing image recipes.
@@ -2,7 +2,7 @@ DESCRIPTION = "Basic task to get a device booting"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"
PR = "r57"
PR = "r58"
inherit packagegroup
@@ -19,6 +19,10 @@ MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS ?= ""
# Make sure we build the kernel
DEPENDS = "virtual/kernel"
RPROVIDES_${PN} += "task-boot"
RREPLACES_${PN} += "task-boot"
RCONFLICTS_${PN} += "task-boot"
#
# minimal set of packages - needed to boot
#
@@ -4,12 +4,19 @@ SECTION = "console"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
PV = "1.0"
PR = "r19"
PR = "r20"
inherit packagegroup allarch
PACKAGES += "${PN}-debug"
RPROVIDES_${PN} += "task-cli-tools"
RPROVIDES_${PN}-debug += "task-cli-tools-debug"
RREPLACES_${PN} += "task-cli-tools"
RREPLACES_${PN}-debug += "task-cli-tools-debug"
RCONFLICTS_${PN} += "task-cli-tools"
RCONFLICTS_${PN}-debug += "task-cli-tools-debug"
RDEPENDS_${PN} = "\
dbus-daemon-proxy \
dosfstools \