Add the ability to use chkconfig's update-alternatives
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | update-alternatives.bbclass: use absolute paths for link targetsmeta/ | +1 | 0 replies | |
| 2/6 | opkg-native: obey virtual/update-alternatives-nativemeta/ | +8 | 0 replies | |
| 3/6 | chkconfig: don't inherit autotoolsmeta/ | +15 | 0 replies | |
| 4/6 | chkconfig: obey sysconfdir, base_libdirmeta/ | +7 | 0 replies | |
| 5/6 | chkconfig: package the update-alternatives implementationmeta/ | +22 | 0 replies | |
| 6/6 | chkconfig-alternatives-native-1.3.59: add recipemeta/ | +43 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/6] Add the ability to use chkconfig's update-alternatives
From: Christopher Larson <[email protected]>
This short patch series fixes a few issues with the chkconfig recipe to prepare for packaging of its C implementation of update-alternatives, enables this packaging, adds a recipe with minimal deps for the -native case, and fixes a couple issues in opkg-native and update-alternatives.bbclass.
With this applied, you can use this implementation of update-alternatives rather than cworth's by defining:
VIRTUAL-RUNTIME_update-alternatives = "chkconfig-alternatives" PREFERRED_PROVIDER_virtual/update-alternatives = "chkconfig-alternatives" PREFERRED_PROVIDER_virtual/update-alternatives-native = "chkconfig-alternatives-native"
I've sanity checked both package and image buildhistory, and the only changes are due to the particular layout of the alternatives directories, which is reasonable. I've also confirmed that image do_rootfs run times have dropped by 7 seconds on average, so it at least doesn't regress that. Of course, the main benefit to being able to use this implementation is the removal of the sh dependency, and that the maintainer of its code is someone other than us and the opkg maintainer.
Comments welcome. Thanks.
The following changes since commit 69bbce0176183b0dc14eda21e4f6b601443060f0:
libpng: fix packaging (2012-12-25 14:00:22 -0800)
are available in the git repository at:
https://github.com/kergoth/oe-core chkconfig-alternatives
for you to fetch changes up to a755aa630c6d2095d5950ee00d396f3249e4a912:
chkconfig-alternatives-native-1.3.59: add recipe (2012-12-28 14:19:56 -0700)
----------------------------------------------------------------
Christopher Larson (6):
update-alternatives.bbclass: use absolute paths for link targets
opkg-native: obey virtual/update-alternatives-native
chkconfig: don't inherit autotools
chkconfig: obey sysconfdir, base_libdir
chkconfig: package the update-alternatives implementation chkconfig-alternatives-native-1.3.59: add recipe
meta/classes/update-alternatives.bbclass | 2 +- meta/recipes-devtools/opkg/opkg.inc | 10 ++++- .../chkconfig-alternatives-native_1.3.59.bb | 43 +++++++++++++++++++ .../recipes-extended/chkconfig/chkconfig_1.3.58.bb | 48 ++++++++++++++++++---- 4 files changed, 91 insertions(+), 12 deletions(-) create mode 100644 meta/recipes-extended/chkconfig/chkconfig-alternatives-native_1.3.59.bb
Signature · 1 line
1.8.0