diff options
| author | Martin Jansa <Martin.Jansa@gmail.com> | 2012-09-04 14:33:50 +0200 |
|---|---|---|
| committer | Koen Kooi <koen@dominion.thruhere.net> | 2012-09-05 10:05:06 +0200 |
| commit | 49e269ecc66adda341922cbd86167bbfa97c54ca (patch) | |
| tree | c8a49f67708832dc9aa613bb45ef62c06d9a0c62 /meta-oe | |
| parent | 21a4be0e36bb1ee6c3c469c83a623c5d9a45257a (diff) | |
| download | meta-openembedded-49e269ecc66adda341922cbd86167bbfa97c54ca.tar.gz | |
packagegroup: add RPROVIDES/RREPLACES/RCONFLICTS and bump PR to get some upgrade path
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe')
5 files changed, 39 insertions, 9 deletions
diff --git a/meta-oe/recipes-core/packagegroups/packagegroup-basic.bb b/meta-oe/recipes-core/packagegroups/packagegroup-basic.bb index e46afc2788..493ef5e330 100644 --- a/meta-oe/recipes-core/packagegroups/packagegroup-basic.bb +++ b/meta-oe/recipes-core/packagegroups/packagegroup-basic.bb | |||
| @@ -5,7 +5,7 @@ DESCRIPTION = "Basic task to get a device online" | |||
| 5 | LICENSE = "MIT" | 5 | LICENSE = "MIT" |
| 6 | LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58" | 6 | LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58" |
| 7 | 7 | ||
| 8 | PR = "r9" | 8 | PR = "r10" |
| 9 | 9 | ||
| 10 | inherit packagegroup | 10 | inherit packagegroup |
| 11 | 11 | ||
| @@ -23,6 +23,9 @@ MACHINE_EXTRA_RRECOMMENDS ?= "" | |||
| 23 | # | 23 | # |
| 24 | TASK_BASIC_SSHDAEMON ?= "dropbear openssh-sftp openssh-sftp-server" | 24 | TASK_BASIC_SSHDAEMON ?= "dropbear openssh-sftp openssh-sftp-server" |
| 25 | 25 | ||
| 26 | RPROVIDES_${PN} += "task-basic" | ||
| 27 | RREPLACES_${PN} += "task-basic" | ||
| 28 | RCONFLICTS_${PN} += "task-basic" | ||
| 26 | # | 29 | # |
| 27 | # The section below is designed to match with packagegroup-boot, but doesn't depend on it to allow for more freedom | 30 | # The section below is designed to match with packagegroup-boot, but doesn't depend on it to allow for more freedom |
| 28 | # when writing image recipes. | 31 | # when writing image recipes. |
diff --git a/meta-oe/recipes-core/packagegroups/packagegroup-boot.bb b/meta-oe/recipes-core/packagegroups/packagegroup-boot.bb index ac31118346..1d6ae9eda0 100644 --- a/meta-oe/recipes-core/packagegroups/packagegroup-boot.bb +++ b/meta-oe/recipes-core/packagegroups/packagegroup-boot.bb | |||
| @@ -2,7 +2,7 @@ DESCRIPTION = "Basic task to get a device booting" | |||
| 2 | LICENSE = "MIT" | 2 | LICENSE = "MIT" |
| 3 | LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58" | 3 | LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58" |
| 4 | 4 | ||
| 5 | PR = "r57" | 5 | PR = "r58" |
| 6 | 6 | ||
| 7 | inherit packagegroup | 7 | inherit packagegroup |
| 8 | 8 | ||
| @@ -19,6 +19,10 @@ MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS ?= "" | |||
| 19 | # Make sure we build the kernel | 19 | # Make sure we build the kernel |
| 20 | DEPENDS = "virtual/kernel" | 20 | DEPENDS = "virtual/kernel" |
| 21 | 21 | ||
| 22 | RPROVIDES_${PN} += "task-boot" | ||
| 23 | RREPLACES_${PN} += "task-boot" | ||
| 24 | RCONFLICTS_${PN} += "task-boot" | ||
| 25 | |||
| 22 | # | 26 | # |
| 23 | # minimal set of packages - needed to boot | 27 | # minimal set of packages - needed to boot |
| 24 | # | 28 | # |
diff --git a/meta-oe/recipes-core/packagegroups/packagegroup-cli-tools.bb b/meta-oe/recipes-core/packagegroups/packagegroup-cli-tools.bb index 0ab3703bd9..07fb056f6d 100644 --- a/meta-oe/recipes-core/packagegroups/packagegroup-cli-tools.bb +++ b/meta-oe/recipes-core/packagegroups/packagegroup-cli-tools.bb | |||
| @@ -4,12 +4,19 @@ SECTION = "console" | |||
| 4 | LICENSE = "MIT" | 4 | LICENSE = "MIT" |
| 5 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" | 5 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" |
| 6 | PV = "1.0" | 6 | PV = "1.0" |
| 7 | PR = "r19" | 7 | PR = "r20" |
| 8 | 8 | ||
| 9 | inherit packagegroup allarch | 9 | inherit packagegroup allarch |
| 10 | 10 | ||
| 11 | PACKAGES += "${PN}-debug" | 11 | PACKAGES += "${PN}-debug" |
| 12 | 12 | ||
| 13 | RPROVIDES_${PN} += "task-cli-tools" | ||
| 14 | RPROVIDES_${PN}-debug += "task-cli-tools-debug" | ||
| 15 | RREPLACES_${PN} += "task-cli-tools" | ||
| 16 | RREPLACES_${PN}-debug += "task-cli-tools-debug" | ||
| 17 | RCONFLICTS_${PN} += "task-cli-tools" | ||
| 18 | RCONFLICTS_${PN}-debug += "task-cli-tools-debug" | ||
| 19 | |||
| 13 | RDEPENDS_${PN} = "\ | 20 | RDEPENDS_${PN} = "\ |
| 14 | dbus-daemon-proxy \ | 21 | dbus-daemon-proxy \ |
| 15 | dosfstools \ | 22 | dosfstools \ |
diff --git a/meta-oe/recipes-devtools/packagegroups/packagegroup-sdk-target.bb b/meta-oe/recipes-devtools/packagegroups/packagegroup-sdk-target.bb index 3ad9b55577..b9e5a296ce 100644 --- a/meta-oe/recipes-devtools/packagegroups/packagegroup-sdk-target.bb +++ b/meta-oe/recipes-devtools/packagegroups/packagegroup-sdk-target.bb | |||
| @@ -2,9 +2,13 @@ DESCRIPTION = "Packages required for a target (on-device) SDK" | |||
| 2 | LICENSE = "MIT" | 2 | LICENSE = "MIT" |
| 3 | LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58" | 3 | LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58" |
| 4 | 4 | ||
| 5 | PR = "r1" | ||
| 6 | |||
| 5 | inherit packagegroup allarch | 7 | inherit packagegroup allarch |
| 6 | 8 | ||
| 7 | RPROVIDES_${PN} = "packagegroup-native-sdk" | 9 | RPROVIDES_${PN} += "packagegroup-native-sdk task-sdk-target task-native-sdk" |
| 10 | RREPLACES_${PN} += "packagegroup-native-sdk task-sdk-target task-native-sdk" | ||
| 11 | RCONFLICTS_${PN} += "packagegroup-native-sdk task-sdk-target task-native-sdk" | ||
| 8 | RDEPENDS_${PN} = "gcc-symlinks g++-symlinks cpp cpp-symlinks \ | 12 | RDEPENDS_${PN} = "gcc-symlinks g++-symlinks cpp cpp-symlinks \ |
| 9 | binutils-symlinks \ | 13 | binutils-symlinks \ |
| 10 | perl-modules \ | 14 | perl-modules \ |
diff --git a/meta-oe/recipes-graphics/packagegroups/packagegroup-fonts-truetype.bb b/meta-oe/recipes-graphics/packagegroups/packagegroup-fonts-truetype.bb index 816a67f593..76126fc81c 100644 --- a/meta-oe/recipes-graphics/packagegroups/packagegroup-fonts-truetype.bb +++ b/meta-oe/recipes-graphics/packagegroups/packagegroup-fonts-truetype.bb | |||
| @@ -3,7 +3,7 @@ SECTION = "fonts" | |||
| 3 | LICENSE = "MIT" | 3 | LICENSE = "MIT" |
| 4 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" | 4 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" |
| 5 | PV = "1.0" | 5 | PV = "1.0" |
| 6 | PR = "r1" | 6 | PR = "r2" |
| 7 | 7 | ||
| 8 | inherit packagegroup allarch | 8 | inherit packagegroup allarch |
| 9 | 9 | ||
| @@ -12,14 +12,26 @@ PACKAGES += "\ | |||
| 12 | ${PN}-chinese \ | 12 | ${PN}-chinese \ |
| 13 | ${PN}-japanese \ | 13 | ${PN}-japanese \ |
| 14 | " | 14 | " |
| 15 | RPROVIDES_${PN} += "task-fonts-truetype" | ||
| 16 | RPROVIDES_${PN}-core += "task-fonts-truetype-core" | ||
| 17 | RPROVIDES_${PN}-chinese += "task-fonts-truetype-chinese" | ||
| 18 | RPROVIDES_${PN}-japanese += "task-fonts-truetype-japanese" | ||
| 19 | RREPLACES_${PN} += "task-fonts-truetype" | ||
| 20 | RREPLACES_${PN}-core += "task-fonts-truetype-core" | ||
| 21 | RREPLACES_${PN}-chinese += "task-fonts-truetype-chinese" | ||
| 22 | RREPLACES_${PN}-japanese += "task-fonts-truetype-japanese" | ||
| 23 | RCONFLICTS_${PN} += "task-fonts-truetype" | ||
| 24 | RCONFLICTS_${PN}-core += "task-fonts-truetype-core" | ||
| 25 | RCONFLICTS_${PN}-chinese += "task-fonts-truetype-chinese" | ||
| 26 | RCONFLICTS_${PN}-japanese += "task-fonts-truetype-japanese" | ||
| 15 | 27 | ||
| 16 | RRECOMMENDS_packagegroup-fonts-truetype = "\ | 28 | RRECOMMENDS_${PN} = "\ |
| 17 | ${PN}-core \ | 29 | ${PN}-core \ |
| 18 | ${PN}-chinese \ | 30 | ${PN}-chinese \ |
| 19 | ${PN}-japanese \ | 31 | ${PN}-japanese \ |
| 20 | " | 32 | " |
| 21 | 33 | ||
| 22 | RDEPENDS_packagegroup-fonts-truetype-core = "\ | 34 | RDEPENDS_${PN}-core = "\ |
| 23 | fontconfig-utils \ | 35 | fontconfig-utils \ |
| 24 | \ | 36 | \ |
| 25 | ttf-dejavu-common \ | 37 | ttf-dejavu-common \ |
| @@ -28,12 +40,12 @@ RDEPENDS_packagegroup-fonts-truetype-core = "\ | |||
| 28 | " | 40 | " |
| 29 | # ttf-dejavu-serif \ | 41 | # ttf-dejavu-serif \ |
| 30 | 42 | ||
| 31 | RDEPENDS_packagegroup-fonts-truetype-chinese = "\ | 43 | RDEPENDS_${PN}-chinese = "\ |
| 32 | ${PN}-core \ | 44 | ${PN}-core \ |
| 33 | ttf-arphic-uming \ | 45 | ttf-arphic-uming \ |
| 34 | " | 46 | " |
| 35 | 47 | ||
| 36 | RDEPENDS_packagegroup-fonts-truetype-japanese = "\ | 48 | RDEPENDS_${PN}-japanese = "\ |
| 37 | ${PN}-core \ | 49 | ${PN}-core \ |
| 38 | ttf-sazanami-gothic \ | 50 | ttf-sazanami-gothic \ |
| 39 | ttf-sazanami-mincho \ | 51 | ttf-sazanami-mincho \ |
