diff options
author | Richard Purdie <richard@openedhand.com> | 2007-10-15 15:45:14 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2007-10-15 15:45:14 +0000 |
commit | 264a9add8d77f24f9a50f47d407261620ff4a2d7 (patch) | |
tree | 4a3b5e3f13821bdebd66acebf9fc50789573b79e /meta/packages/update-alternatives | |
parent | 38edf0a1dcf0db23019d692c1ac20f8876e05e53 (diff) | |
download | poky-264a9add8d77f24f9a50f47d407261620ff4a2d7.tar.gz |
update-alternatives: Set PROVIDES/RPROVIDES/DEPENDS correctly
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2880 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/update-alternatives')
6 files changed, 9 insertions, 3 deletions
diff --git a/meta/packages/update-alternatives/update-alternatives-cworth-native_0.99.154.bb b/meta/packages/update-alternatives/update-alternatives-cworth-native_0.99.154.bb index 36f023ec3a..5c7b7289ab 100644 --- a/meta/packages/update-alternatives/update-alternatives-cworth-native_0.99.154.bb +++ b/meta/packages/update-alternatives/update-alternatives-cworth-native_0.99.154.bb | |||
@@ -2,6 +2,7 @@ require update-alternatives-cworth.inc | |||
2 | inherit native | 2 | inherit native |
3 | 3 | ||
4 | PROVIDES += "virtual/update-alternatives-native" | 4 | PROVIDES += "virtual/update-alternatives-native" |
5 | RPROVIDES += "update-alternatives-native" | ||
5 | 6 | ||
6 | do_stage () { | 7 | do_stage () { |
7 | install -d ${sbindir} \ | 8 | install -d ${sbindir} \ |
diff --git a/meta/packages/update-alternatives/update-alternatives-cworth.inc b/meta/packages/update-alternatives/update-alternatives-cworth.inc index d2d78c9a00..5a1cf3e7ed 100644 --- a/meta/packages/update-alternatives/update-alternatives-cworth.inc +++ b/meta/packages/update-alternatives/update-alternatives-cworth.inc | |||
@@ -3,3 +3,4 @@ SECTION = "base" | |||
3 | SRC_URI = "${HANDHELDS_CVS};module=familiar/dist/ipkg;tag=${@'V' + bb.data.getVar('PV',d,1).replace('.', '-')}" | 3 | SRC_URI = "${HANDHELDS_CVS};module=familiar/dist/ipkg;tag=${@'V' + bb.data.getVar('PV',d,1).replace('.', '-')}" |
4 | S = "${WORKDIR}/ipkg/C" | 4 | S = "${WORKDIR}/ipkg/C" |
5 | PACKAGE_ARCH = "all" | 5 | PACKAGE_ARCH = "all" |
6 | PR = "r1" | ||
diff --git a/meta/packages/update-alternatives/update-alternatives-cworth_0.99.154.bb b/meta/packages/update-alternatives/update-alternatives-cworth_0.99.154.bb index 18dab4e65f..cf3c8fbc2b 100644 --- a/meta/packages/update-alternatives/update-alternatives-cworth_0.99.154.bb +++ b/meta/packages/update-alternatives/update-alternatives-cworth_0.99.154.bb | |||
@@ -1,6 +1,7 @@ | |||
1 | require update-alternatives-cworth.inc | 1 | require update-alternatives-cworth.inc |
2 | 2 | ||
3 | RPROVIDES_${PN} = "update-alternatives" | 3 | PROVIDES += "virtual/update-alternatives" |
4 | RPROVIDES_${PN} += "update-alternatives" | ||
4 | 5 | ||
5 | do_install () { | 6 | do_install () { |
6 | install -d ${D}${sbindir} \ | 7 | install -d ${D}${sbindir} \ |
diff --git a/meta/packages/update-alternatives/update-alternatives-dpkg-native_1.13.22.bb b/meta/packages/update-alternatives/update-alternatives-dpkg-native_1.13.22.bb index 6c193f9603..0cbdc5ac77 100644 --- a/meta/packages/update-alternatives/update-alternatives-dpkg-native_1.13.22.bb +++ b/meta/packages/update-alternatives/update-alternatives-dpkg-native_1.13.22.bb | |||
@@ -2,6 +2,7 @@ require update-alternatives-dpkg.inc | |||
2 | inherit native | 2 | inherit native |
3 | 3 | ||
4 | PROVIDES += "virtual/update-alternatives-native" | 4 | PROVIDES += "virtual/update-alternatives-native" |
5 | RPROVIDES += "update-alternatives-native" | ||
5 | DEPENDS += "perl-native dpkg-native" | 6 | DEPENDS += "perl-native dpkg-native" |
6 | DEFAULT_PREFERENCE = "-1" | 7 | DEFAULT_PREFERENCE = "-1" |
7 | 8 | ||
diff --git a/meta/packages/update-alternatives/update-alternatives-dpkg.inc b/meta/packages/update-alternatives/update-alternatives-dpkg.inc index cffcf836bf..66232139d4 100644 --- a/meta/packages/update-alternatives/update-alternatives-dpkg.inc +++ b/meta/packages/update-alternatives/update-alternatives-dpkg.inc | |||
@@ -3,6 +3,7 @@ SECTION = "base" | |||
3 | SRC_URI = "${DEBIAN_MIRROR}/main/d/dpkg/dpkg_${PV}.tar.gz" | 3 | SRC_URI = "${DEBIAN_MIRROR}/main/d/dpkg/dpkg_${PV}.tar.gz" |
4 | S = "${WORKDIR}/dpkg-${PV}" | 4 | S = "${WORKDIR}/dpkg-${PV}" |
5 | PACKAGE_ARCH = "all" | 5 | PACKAGE_ARCH = "all" |
6 | PR = "r1" | ||
6 | 7 | ||
7 | do_patch () { | 8 | do_patch () { |
8 | cat ${S}/scripts/update-alternatives.pl | \ | 9 | cat ${S}/scripts/update-alternatives.pl | \ |
diff --git a/meta/packages/update-alternatives/update-alternatives-dpkg_1.13.22.bb b/meta/packages/update-alternatives/update-alternatives-dpkg_1.13.22.bb index a07d5e36d4..ea759fc202 100644 --- a/meta/packages/update-alternatives/update-alternatives-dpkg_1.13.22.bb +++ b/meta/packages/update-alternatives/update-alternatives-dpkg_1.13.22.bb | |||
@@ -1,7 +1,8 @@ | |||
1 | require update-alternatives-dpkg.inc | 1 | require update-alternatives-dpkg.inc |
2 | 2 | ||
3 | RPROVIDES_${PN} = "update-alternatives" | 3 | PROVIDES += "virtual/update-alternatives" |
4 | RDEPENDS_${PN} = "perl dpkg" | 4 | RPROVIDES_${PN} += "update-alternatives" |
5 | RDEPENDS_${PN} += "perl dpkg" | ||
5 | 6 | ||
6 | do_install () { | 7 | do_install () { |
7 | install -d ${D}${sbindir} \ | 8 | install -d ${D}${sbindir} \ |