diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2012-09-04 17:43:26 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-09-04 18:03:18 +0100 |
commit | 29c19460e242c37e2cd12577e5835829ffa16b98 (patch) | |
tree | e73dc8ddb7fef074dafd689377ef51a4d262bde5 /meta/recipes-core/packagegroups | |
parent | 748e48249d1f7817f670d8d00ace34cbf2c11b29 (diff) | |
download | poky-29c19460e242c37e2cd12577e5835829ffa16b98.tar.gz |
packagegroup-*: add RREPLACES/RCONFLICTS
These are needed to support upgrading from task-* to packagegroup-*
within existing target images at runtime.
Note: these settings will very likely be moved out to a separate inc
file at some point in the future.
(From OE-Core rev: 5dd4de086d744c81d2275077ad0e0022204b0a68)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/packagegroups')
9 files changed, 31 insertions, 7 deletions
diff --git a/meta/recipes-core/packagegroups/packagegroup-core-boot.bb b/meta/recipes-core/packagegroups/packagegroup-core-boot.bb index d29dc2befe..16ad4e3ef8 100644 --- a/meta/recipes-core/packagegroups/packagegroup-core-boot.bb +++ b/meta/recipes-core/packagegroups/packagegroup-core-boot.bb | |||
@@ -6,7 +6,7 @@ SUMMARY = "Minimal boot requirements" | |||
6 | DESCRIPTION = "The minimal set of packages required to boot the system" | 6 | DESCRIPTION = "The minimal set of packages required to boot the system" |
7 | LICENSE = "MIT" | 7 | LICENSE = "MIT" |
8 | DEPENDS = "virtual/kernel" | 8 | DEPENDS = "virtual/kernel" |
9 | PR = "r9" | 9 | PR = "r10" |
10 | 10 | ||
11 | inherit packagegroup | 11 | inherit packagegroup |
12 | 12 | ||
@@ -20,6 +20,8 @@ MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS ?= "" | |||
20 | 20 | ||
21 | # For backwards compatibility after rename | 21 | # For backwards compatibility after rename |
22 | RPROVIDES_${PN} = "task-core-boot" | 22 | RPROVIDES_${PN} = "task-core-boot" |
23 | RREPLACES_${PN} = "task-core-boot" | ||
24 | RCONFLICTS_${PN} = "task-core-boot" | ||
23 | 25 | ||
24 | # Distro can override the following VIRTUAL-RUNTIME providers: | 26 | # Distro can override the following VIRTUAL-RUNTIME providers: |
25 | VIRTUAL-RUNTIME_dev_manager ?= "udev" | 27 | VIRTUAL-RUNTIME_dev_manager ?= "udev" |
diff --git a/meta/recipes-core/packagegroups/packagegroup-core-nfs.bb b/meta/recipes-core/packagegroups/packagegroup-core-nfs.bb index 03f9c12a24..531eceb5af 100644 --- a/meta/recipes-core/packagegroups/packagegroup-core-nfs.bb +++ b/meta/recipes-core/packagegroups/packagegroup-core-nfs.bb | |||
@@ -4,7 +4,7 @@ | |||
4 | 4 | ||
5 | DESCRIPTION = "NFS package groups" | 5 | DESCRIPTION = "NFS package groups" |
6 | LICENSE = "MIT" | 6 | LICENSE = "MIT" |
7 | PR = "r1" | 7 | PR = "r2" |
8 | 8 | ||
9 | inherit packagegroup | 9 | inherit packagegroup |
10 | 10 | ||
@@ -12,6 +12,8 @@ PACKAGES = "${PN}-server" | |||
12 | 12 | ||
13 | # For backwards compatibility after rename | 13 | # For backwards compatibility after rename |
14 | RPROVIDES_${PN}-server = "task-core-nfs-server" | 14 | RPROVIDES_${PN}-server = "task-core-nfs-server" |
15 | RREPLACES_${PN}-server = "task-core-nfs-server" | ||
16 | RCONFLICTS_${PN}-server = "task-core-nfs-server" | ||
15 | 17 | ||
16 | SUMMARY_${PN}-server = "NFS server" | 18 | SUMMARY_${PN}-server = "NFS server" |
17 | RDEPENDS_${PN}-server = "\ | 19 | RDEPENDS_${PN}-server = "\ |
diff --git a/meta/recipes-core/packagegroups/packagegroup-core-sdk.bb b/meta/recipes-core/packagegroups/packagegroup-core-sdk.bb index f05e099a58..b00bf0704c 100644 --- a/meta/recipes-core/packagegroups/packagegroup-core-sdk.bb +++ b/meta/recipes-core/packagegroups/packagegroup-core-sdk.bb | |||
@@ -4,7 +4,7 @@ | |||
4 | 4 | ||
5 | SUMMARY = "Software development tools" | 5 | SUMMARY = "Software development tools" |
6 | LICENSE = "MIT" | 6 | LICENSE = "MIT" |
7 | PR = "r8" | 7 | PR = "r9" |
8 | 8 | ||
9 | inherit packagegroup | 9 | inherit packagegroup |
10 | 10 | ||
@@ -12,6 +12,8 @@ inherit packagegroup | |||
12 | 12 | ||
13 | # For backwards compatibility after rename | 13 | # For backwards compatibility after rename |
14 | RPROVIDES_packagegroup-core-sdk = "task-core-sdk" | 14 | RPROVIDES_packagegroup-core-sdk = "task-core-sdk" |
15 | RREPLACES_packagegroup-core-sdk = "task-core-sdk" | ||
16 | RCONFLICTS_packagegroup-core-sdk = "task-core-sdk" | ||
15 | 17 | ||
16 | RDEPENDS_packagegroup-core-sdk = "\ | 18 | RDEPENDS_packagegroup-core-sdk = "\ |
17 | autoconf \ | 19 | autoconf \ |
diff --git a/meta/recipes-core/packagegroups/packagegroup-core-ssh-dropbear.bb b/meta/recipes-core/packagegroups/packagegroup-core-ssh-dropbear.bb index 7fa06e959e..458d8fa036 100644 --- a/meta/recipes-core/packagegroups/packagegroup-core-ssh-dropbear.bb +++ b/meta/recipes-core/packagegroups/packagegroup-core-ssh-dropbear.bb | |||
@@ -1,10 +1,12 @@ | |||
1 | SUMMARY = "Dropbear SSH client/server" | 1 | SUMMARY = "Dropbear SSH client/server" |
2 | LICENSE = "MIT" | 2 | LICENSE = "MIT" |
3 | PR = "r0" | 3 | PR = "r1" |
4 | 4 | ||
5 | inherit packagegroup | 5 | inherit packagegroup |
6 | 6 | ||
7 | # For backwards compatibility after rename | 7 | # For backwards compatibility after rename |
8 | RPROVIDES_${PN} = "task-core-ssh-dropbear" | 8 | RPROVIDES_${PN} = "task-core-ssh-dropbear" |
9 | RREPLACES_${PN} = "task-core-ssh-dropbear" | ||
10 | RCONFLICTS_${PN} = "task-core-ssh-dropbear" | ||
9 | 11 | ||
10 | RDEPENDS_${PN} = "dropbear" | 12 | RDEPENDS_${PN} = "dropbear" |
diff --git a/meta/recipes-core/packagegroups/packagegroup-core-ssh-openssh.bb b/meta/recipes-core/packagegroups/packagegroup-core-ssh-openssh.bb index 3221e8b57d..df70962912 100644 --- a/meta/recipes-core/packagegroups/packagegroup-core-ssh-openssh.bb +++ b/meta/recipes-core/packagegroups/packagegroup-core-ssh-openssh.bb | |||
@@ -1,10 +1,12 @@ | |||
1 | SUMMARY = "OpenSSH SSH client/server" | 1 | SUMMARY = "OpenSSH SSH client/server" |
2 | LICENSE = "MIT" | 2 | LICENSE = "MIT" |
3 | PR = "r0" | 3 | PR = "r1" |
4 | 4 | ||
5 | inherit packagegroup | 5 | inherit packagegroup |
6 | 6 | ||
7 | # For backwards compatibility after rename | 7 | # For backwards compatibility after rename |
8 | RPROVIDES_${PN} = "task-core-ssh-openssh" | 8 | RPROVIDES_${PN} = "task-core-ssh-openssh" |
9 | RREPLACES_${PN} = "task-core-ssh-openssh" | ||
10 | RCONFLICTS_${PN} = "task-core-ssh-openssh" | ||
9 | 11 | ||
10 | RDEPENDS_${PN} = "openssh" | 12 | RDEPENDS_${PN} = "openssh" |
diff --git a/meta/recipes-core/packagegroups/packagegroup-core-standalone-sdk-target.bb b/meta/recipes-core/packagegroups/packagegroup-core-standalone-sdk-target.bb index 6af299521d..c8b5623bf5 100644 --- a/meta/recipes-core/packagegroups/packagegroup-core-standalone-sdk-target.bb +++ b/meta/recipes-core/packagegroups/packagegroup-core-standalone-sdk-target.bb | |||
@@ -1,12 +1,16 @@ | |||
1 | DESCRIPTION = "Target packages for the standalone SDK" | 1 | DESCRIPTION = "Target packages for the standalone SDK" |
2 | PR = "r7" | 2 | PR = "r8" |
3 | LICENSE = "MIT" | 3 | LICENSE = "MIT" |
4 | 4 | ||
5 | inherit packagegroup | 5 | inherit packagegroup |
6 | 6 | ||
7 | # For backwards compatibility after rename | 7 | # For backwards compatibility after rename |
8 | RPROVIDES_${PN} = "task-core-standalone-sdk-target" | 8 | RPROVIDES_${PN} = "task-core-standalone-sdk-target" |
9 | RREPLACES_${PN} = "task-core-standalone-sdk-target" | ||
10 | RCONFLICTS_${PN} = "task-core-standalone-sdk-target" | ||
9 | RPROVIDES_${PN}-dbg = "task-core-standalone-sdk-target-dbg" | 11 | RPROVIDES_${PN}-dbg = "task-core-standalone-sdk-target-dbg" |
12 | RREPLACES_${PN}-dbg = "task-core-standalone-sdk-target-dbg" | ||
13 | RCONFLICTS_${PN}-dbg = "task-core-standalone-sdk-target-dbg" | ||
10 | 14 | ||
11 | RDEPENDS_${PN} = "\ | 15 | RDEPENDS_${PN} = "\ |
12 | libgcc \ | 16 | libgcc \ |
diff --git a/meta/recipes-core/packagegroups/packagegroup-core-tools-debug.bb b/meta/recipes-core/packagegroups/packagegroup-core-tools-debug.bb index 6687b32841..d49f2249d8 100644 --- a/meta/recipes-core/packagegroups/packagegroup-core-tools-debug.bb +++ b/meta/recipes-core/packagegroups/packagegroup-core-tools-debug.bb | |||
@@ -7,12 +7,14 @@ LICENSE = "MIT" | |||
7 | 7 | ||
8 | inherit packagegroup | 8 | inherit packagegroup |
9 | 9 | ||
10 | PR = "r1" | 10 | PR = "r2" |
11 | 11 | ||
12 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 12 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
13 | 13 | ||
14 | # For backwards compatibility after rename | 14 | # For backwards compatibility after rename |
15 | RPROVIDES_${PN} = "task-core-tools-debug" | 15 | RPROVIDES_${PN} = "task-core-tools-debug" |
16 | RREPLACES_${PN} = "task-core-tools-debug" | ||
17 | RCONFLICTS_${PN} = "task-core-tools-debug" | ||
16 | 18 | ||
17 | MTRACE = "" | 19 | MTRACE = "" |
18 | MTRACE_libc-glibc = "libc-mtrace" | 20 | MTRACE_libc-glibc = "libc-mtrace" |
diff --git a/meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb b/meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb index 931984eb17..103503645d 100644 --- a/meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb +++ b/meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb | |||
@@ -5,12 +5,16 @@ | |||
5 | SUMMARY = "Profiling tools" | 5 | SUMMARY = "Profiling tools" |
6 | LICENSE = "MIT" | 6 | LICENSE = "MIT" |
7 | 7 | ||
8 | PR = "r1" | ||
9 | |||
8 | inherit packagegroup | 10 | inherit packagegroup |
9 | 11 | ||
10 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 12 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
11 | 13 | ||
12 | # For backwards compatibility after rename | 14 | # For backwards compatibility after rename |
13 | RPROVIDES_${PN} = "task-core-tools-profile" | 15 | RPROVIDES_${PN} = "task-core-tools-profile" |
16 | RREPLACES_${PN} = "task-core-tools-profile" | ||
17 | RCONFLICTS_${PN} = "task-core-tools-profile" | ||
14 | 18 | ||
15 | RRECOMMENDS_${PN} = "\ | 19 | RRECOMMENDS_${PN} = "\ |
16 | perf \ | 20 | perf \ |
diff --git a/meta/recipes-core/packagegroups/packagegroup-core-tools-testapps.bb b/meta/recipes-core/packagegroups/packagegroup-core-tools-testapps.bb index 9720e5ac62..514e4ecf84 100644 --- a/meta/recipes-core/packagegroups/packagegroup-core-tools-testapps.bb +++ b/meta/recipes-core/packagegroups/packagegroup-core-tools-testapps.bb | |||
@@ -5,12 +5,16 @@ | |||
5 | SUMMARY = "Testing tools/applications" | 5 | SUMMARY = "Testing tools/applications" |
6 | LICENSE = "MIT" | 6 | LICENSE = "MIT" |
7 | 7 | ||
8 | PR = "r1" | ||
9 | |||
8 | inherit packagegroup | 10 | inherit packagegroup |
9 | 11 | ||
10 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 12 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
11 | 13 | ||
12 | # For backwards compatibility after rename | 14 | # For backwards compatibility after rename |
13 | RPROVIDES_${PN} = "task-core-tools-testapps" | 15 | RPROVIDES_${PN} = "task-core-tools-testapps" |
16 | RREPLACES_${PN} = "task-core-tools-testapps" | ||
17 | RCONFLICTS_${PN} = "task-core-tools-testapps" | ||
14 | 18 | ||
15 | # kexec-tools doesn't work on Mips | 19 | # kexec-tools doesn't work on Mips |
16 | KEXECTOOLS ?= "kexec" | 20 | KEXECTOOLS ?= "kexec" |