All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/6] Add the ability to use chkconfig's update-alternatives
@ 2012-12-29  5:19 Christopher Larson
  2012-12-29  5:19 ` [PATCH 1/6] update-alternatives.bbclass: use absolute paths for link targets Christopher Larson
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Christopher Larson @ 2012-12-29  5:19 UTC (permalink / raw)
  To: openembedded-core; +Cc: Christopher Larson

From: Christopher Larson <chris_larson@mentor.com>

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

-- 
1.8.0




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-12-29  5:35 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-29  5:19 [PATCH 0/6] Add the ability to use chkconfig's update-alternatives Christopher Larson
2012-12-29  5:19 ` [PATCH 1/6] update-alternatives.bbclass: use absolute paths for link targets Christopher Larson
2012-12-29  5:19 ` [PATCH 2/6] opkg-native: obey virtual/update-alternatives-native Christopher Larson
2012-12-29  5:19 ` [PATCH 3/6] chkconfig: don't inherit autotools Christopher Larson
2012-12-29  5:19 ` [PATCH 4/6] chkconfig: obey sysconfdir, base_libdir Christopher Larson
2012-12-29  5:19 ` [PATCH 5/6] chkconfig: package the update-alternatives implementation Christopher Larson
2012-12-29  5:19 ` [PATCH 6/6] chkconfig-alternatives-native-1.3.59: add recipe Christopher Larson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.