All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christopher Larson <kergoth@gmail.com>
To: openembedded-core@lists.openembedded.org
Cc: Christopher Larson <chris_larson@mentor.com>
Subject: [PATCH 0/6] Add the ability to use chkconfig's update-alternatives
Date: Fri, 28 Dec 2012 22:19:22 -0700	[thread overview]
Message-ID: <cover.1356758000.git.chris_larson@mentor.com> (raw)

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




             reply	other threads:[~2012-12-29  5:34 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-29  5:19 Christopher Larson [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1356758000.git.chris_larson@mentor.com \
    --to=kergoth@gmail.com \
    --cc=chris_larson@mentor.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.