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,10 +5,15 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3
ALLOW_EMPTY = "1" ALLOW_EMPTY = "1"
PR = "r1"
require packagegroup-efl-sdk.inc require packagegroup-efl-sdk.inc
PACKAGES = "${PN}" PACKAGES = "${PN}"
RPROVIDES_${PN} += "task-efl-sdk"
RREPLACES_${PN} += "task-efl-sdk"
RCONFLICTS_${PN} += "task-efl-sdk"
RDEPENDS_${PN} = "\ RDEPENDS_${PN} = "\
packagegroup-core-sdk \ packagegroup-core-sdk \
${SDK-EFL} \ ${SDK-EFL} \
@@ -5,10 +5,15 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3
ALLOW_EMPTY = "1" ALLOW_EMPTY = "1"
PR = "r1"
require packagegroup-efl-sdk.inc require packagegroup-efl-sdk.inc
PACKAGES = "${PN} ${PN}-dbg" PACKAGES = "${PN} ${PN}-dbg"
RPROVIDES_${PN} += "task-efl-standalone-sdk-target"
RREPLACES_${PN} += "task-efl-standalone-sdk-target"
RCONFLICTS_${PN} += "task-efl-standalone-sdk-target"
RDEPENDS_${PN} = "\ RDEPENDS_${PN} = "\
packagegroup-core-standalone-sdk-target \ packagegroup-core-standalone-sdk-target \
${SDK-EFL} \ ${SDK-EFL} \
@@ -5,7 +5,7 @@ DESCRIPTION = "Basic task to get a device online"
LICENSE = "MIT" LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58" LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"
PR = "r9" PR = "r10"
inherit packagegroup inherit packagegroup
@@ -23,6 +23,9 @@ MACHINE_EXTRA_RRECOMMENDS ?= ""
# #
TASK_BASIC_SSHDAEMON ?= "dropbear openssh-sftp openssh-sftp-server" 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 # 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. # when writing image recipes.
@@ -2,7 +2,7 @@ DESCRIPTION = "Basic task to get a device booting"
LICENSE = "MIT" LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58" LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"
PR = "r57" PR = "r58"
inherit packagegroup inherit packagegroup
@@ -19,6 +19,10 @@ MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS ?= ""
# Make sure we build the kernel # Make sure we build the kernel
DEPENDS = "virtual/kernel" DEPENDS = "virtual/kernel"
RPROVIDES_${PN} += "task-boot"
RREPLACES_${PN} += "task-boot"
RCONFLICTS_${PN} += "task-boot"
# #
# minimal set of packages - needed to boot # minimal set of packages - needed to boot
# #
@@ -4,12 +4,19 @@ SECTION = "console"
LICENSE = "MIT" LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
PV = "1.0" PV = "1.0"
PR = "r19" PR = "r20"
inherit packagegroup allarch inherit packagegroup allarch
PACKAGES += "${PN}-debug" 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} = "\ RDEPENDS_${PN} = "\
dbus-daemon-proxy \ dbus-daemon-proxy \
dosfstools \ dosfstools \
@@ -2,9 +2,13 @@ DESCRIPTION = "Packages required for a target (on-device) SDK"
LICENSE = "MIT" LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58" LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"
PR = "r1"
inherit packagegroup allarch inherit packagegroup allarch
RPROVIDES_${PN} = "packagegroup-native-sdk" RPROVIDES_${PN} += "packagegroup-native-sdk task-sdk-target task-native-sdk"
RREPLACES_${PN} += "packagegroup-native-sdk task-sdk-target task-native-sdk"
RCONFLICTS_${PN} += "packagegroup-native-sdk task-sdk-target task-native-sdk"
RDEPENDS_${PN} = "gcc-symlinks g++-symlinks cpp cpp-symlinks \ RDEPENDS_${PN} = "gcc-symlinks g++-symlinks cpp cpp-symlinks \
binutils-symlinks \ binutils-symlinks \
perl-modules \ perl-modules \
@@ -3,7 +3,7 @@ SECTION = "fonts"
LICENSE = "MIT" LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
PV = "1.0" PV = "1.0"
PR = "r1" PR = "r2"
inherit packagegroup allarch inherit packagegroup allarch
@@ -12,14 +12,26 @@ PACKAGES += "\
${PN}-chinese \ ${PN}-chinese \
${PN}-japanese \ ${PN}-japanese \
" "
RPROVIDES_${PN} += "task-fonts-truetype"
RPROVIDES_${PN}-core += "task-fonts-truetype-core"
RPROVIDES_${PN}-chinese += "task-fonts-truetype-chinese"
RPROVIDES_${PN}-japanese += "task-fonts-truetype-japanese"
RREPLACES_${PN} += "task-fonts-truetype"
RREPLACES_${PN}-core += "task-fonts-truetype-core"
RREPLACES_${PN}-chinese += "task-fonts-truetype-chinese"
RREPLACES_${PN}-japanese += "task-fonts-truetype-japanese"
RCONFLICTS_${PN} += "task-fonts-truetype"
RCONFLICTS_${PN}-core += "task-fonts-truetype-core"
RCONFLICTS_${PN}-chinese += "task-fonts-truetype-chinese"
RCONFLICTS_${PN}-japanese += "task-fonts-truetype-japanese"
RRECOMMENDS_packagegroup-fonts-truetype = "\ RRECOMMENDS_${PN} = "\
${PN}-core \ ${PN}-core \
${PN}-chinese \ ${PN}-chinese \
${PN}-japanese \ ${PN}-japanese \
" "
RDEPENDS_packagegroup-fonts-truetype-core = "\ RDEPENDS_${PN}-core = "\
fontconfig-utils \ fontconfig-utils \
\ \
ttf-dejavu-common \ ttf-dejavu-common \
@@ -28,12 +40,12 @@ RDEPENDS_packagegroup-fonts-truetype-core = "\
" "
# ttf-dejavu-serif \ # ttf-dejavu-serif \
RDEPENDS_packagegroup-fonts-truetype-chinese = "\ RDEPENDS_${PN}-chinese = "\
${PN}-core \ ${PN}-core \
ttf-arphic-uming \ ttf-arphic-uming \
" "
RDEPENDS_packagegroup-fonts-truetype-japanese = "\ RDEPENDS_${PN}-japanese = "\
${PN}-core \ ${PN}-core \
ttf-sazanami-gothic \ ttf-sazanami-gothic \
ttf-sazanami-mincho \ ttf-sazanami-mincho \
@@ -2,10 +2,14 @@ DESCRIPTION = "All packages required for a base installation of XFCE"
SECTION = "x11/wm" SECTION = "x11/wm"
LICENSE = "MIT" LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58" LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"
PR = "r2" PR = "r3"
inherit packagegroup inherit packagegroup
RPROVIDES_${PN} += "task-xfce-base"
RREPLACES_${PN} += "task-xfce-base"
RCONFLICTS_${PN} += "task-xfce-base"
RDEPENDS_${PN} = " \ RDEPENDS_${PN} = " \
xfwm4 \ xfwm4 \
xfwm4-theme-default \ xfwm4-theme-default \
@@ -3,10 +3,14 @@ SECTION = "x11/wm"
LICENSE = "MIT" LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58" LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"
PR = "r3" PR = "r4"
inherit packagegroup inherit packagegroup
RPROVIDES_${PN} += "task-xfce-extended"
RREPLACES_${PN} += "task-xfce-extended"
RCONFLICTS_${PN} += "task-xfce-extended"
# mandatory # mandatory
RDEPENDS_${PN} = " \ RDEPENDS_${PN} = " \
packagegroup-xfce-base \ packagegroup-xfce-base \