Fix update-alternatives and RPM package dependencies
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest17 patches 8 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/17 | update-alternatives.bbclass: Ensure alternatives end up in per file depsmeta/ meta/ meta/ | +77 | 2 replies | |
| 2/17 | coreutils_*.bb: Use update alternatives and add missing manual alt linksmeta/ meta/ | +34 | 0 replies | |
| 3/17 | coreutils_*.bb: Sync up file path with busybox and minor cleanupmeta/ meta/ | +10 | 2 replies | |
| 4/17 | grep: Use update-alternativesmeta/ meta/ | +17 | 0 replies | |
| 5/17 | openssh: Use update-alternativesmeta/ | +6 | 0 replies | |
| 6/17 | hdparm: Use update-alternativesmeta/ | +6 | 0 replies | |
| 7/17 | iputils: Use update-alternativesmeta/ | +4 | 0 replies | |
| 8/17 | net-tools: Use update-alternativesmeta/ | +9 | 0 replies | |
| 9/17 | shadow: Use update-alternativesmeta/ | +20 | 0 replies | |
| 10/17 | findutils: Use update-alternativesmeta/ meta/ meta/ | +10 | 0 replies | |
| 11/17 | gzip: Use update-alternatives classmeta/ meta/ meta/ | +18 | 0 replies | |
| 12/17 | module-init-tools: Update to use update-alternatives classmeta/ | +21 | 0 replies | |
| 13/17 | kbd: Use update-alternativesmeta/ | +7 | 0 replies | |
| 14/17 | console-tools: Use update-alternativesmeta/ | +5 | 0 replies | |
| 15/17 | sysvinit: Use update-alternatives in a different waymeta/ | +12 | 0 replies | |
| 16/17 | lrzsz: sz, sx and sb were linked incorrectlymeta/ | +9 | 1 reply | |
| 17/17 | lrzsz: Use update-alternatives to set providesmeta/ | +9 | 0 replies |
Reviews trailers per patch
None of the 17 patches has a Reviewed-by or Acked-by.
| Patch | Mark Hatle |
|---|---|
| 1/17 | |
| 2/17 | |
| 3/17 | |
| 4/17 | |
| 5/17 | |
| 6/17 | |
| 7/17 | |
| 8/17 | |
| 9/17 | |
| 10/17 | |
| 11/17 | |
| 12/17 | |
| 13/17 | |
| 14/17 | |
| 15/17 | |
| 16/17 | |
| 17/17 | Signed-by |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/17] Fix update-alternatives and RPM package dependencies
It was recently noticed that many packages that use update-alternatives were not setting package level provides. So a package that required /usr/bin/env would not be satisfied by coreutils, even though it had a /usr/bin/env alternative.
The first patch in the series adds the enhanced alternatives capatibilities.
The patches that follow resolve Yocto defect 2289 and use these new capabilities to ensure the produced packages are correct.
(Note, this only affects RPM packages as they have enhanced dependency scanning and resolution compared to deb and ipk.)
These patches were tested by running a core-image-minimal build on both qemux86 and qemumips. I also ran a core-image-sato on qemux86 and built each of the items affected manually. Once build, I verified the install time scriptlets were correct and each package provided the correct "Provides".
The following changes since commit 03cfc6ea6df9d1fbf5520c9707a725e38d2e377b:
libzypp: add libproxy to DEPENDS (2012-04-16 23:30:41 +0100)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib mhatle/upd-alt
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=mhatle/upd-alt
Mark Hatle (17):
update-alternatives.bbclass: Ensure alternatives end up in per file
deps
coreutils_*.bb: Use update alternatives and add missing manual alt
links
coreutils_*.bb: Sync up file path with busybox and minor cleanup
grep: Use update-alternatives
openssh: Use update-alternatives
hdparm: Use update-alternatives
iputils: Use update-alternatives
net-tools: Use update-alternatives
shadow: Use update-alternatives
findutils: Use update-alternatives
gzip: Use update-alternatives class
module-init-tools: Update to use update-alternatives class
kbd: Use update-alternatives
console-tools: Use update-alternatives
sysvinit: Use update-alternatives in a different way
lrzsz: sz, sx and sb were linked incorrectly
lrzsz: Use update-alternatives to set provides
meta/classes/package.bbclass | 16 +++-- meta/classes/package_rpm.bbclass | 4 - meta/classes/update-alternatives.bbclass | 69 +++++++++++++++++++- meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb | 21 +++++- meta/recipes-connectivity/openssh/openssh_5.9p1.bb | 9 ++- .../console-tools/console-tools_0.3.2.bb | 27 ++------ meta/recipes-core/coreutils/coreutils_6.9.bb | 44 ++++++------- meta/recipes-core/coreutils/coreutils_8.14.bb | 49 +++++--------- meta/recipes-core/kbd/kbd_1.15.2.bb | 34 ++-------- meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb | 44 ++++--------- meta/recipes-extended/findutils/findutils.inc | 5 +- .../recipes-extended/findutils/findutils_4.2.31.bb | 22 ++----- meta/recipes-extended/findutils/findutils_4.4.2.bb | 17 +----- meta/recipes-extended/grep/grep_2.5.1a.bb | 25 +++----- meta/recipes-extended/grep/grep_2.9.bb | 22 ++---- meta/recipes-extended/gzip/gzip.inc | 32 +++------- meta/recipes-extended/gzip/gzip_1.3.12.bb | 24 ++----- meta/recipes-extended/gzip/gzip_1.4.bb | 2 +- meta/recipes-extended/hdparm/hdparm_9.39.bb | 16 ++--- meta/recipes-extended/iputils/iputils_s20101006.bb | 5 +- .../net-tools/net-tools_1.60-23.bb | 28 +++------ meta/recipes-extended/shadow/shadow_4.1.4.3.bb | 42 ++++++------ .../module-init-tools/module-init-tools_3.16.bb | 35 ++++++---- 23 files changed, 267 insertions(+), 325 deletions(-)
Signature · 1 line
1.7.3.4