All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/6] Stop using update-alternatives for init scripts
@ 2017-11-01 14:00 Markus Lehtonen
  2017-11-01 14:00 ` [PATCH 1/6] sysklogd: don't use update-alternatives Markus Lehtonen
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Markus Lehtonen @ 2017-11-01 14:00 UTC (permalink / raw)
  To: openembedded-core

This patchset does away with the usage of update-alternatives for managing init
scripts. Using u-a for initscripts cause race/ordering issues with package
scriptlets doing daemon stop/start/enable at package installation time. The
patchset also reverts a kludge that was introduced in
update-alternatives.bbclass and update-rc.d.bbclass to work around the
aforementioned problems. Finally, it introduces sanity check to
update-alternatives.bbclass to prevent usage of u-a for init scripts in the
future.

[YOCTO #10944]


The following changes since commit 3b413a80578caacd9a7f405f3c51a3921d78a60d:

  README.qemu: qemuppc64 is not supported (2017-10-16 23:54:27 +0100)

are available in the git repository at:

  git://git.openembedded.org/openembedded-core-contrib marquiz/fixes-10944
  http://cgit.openembedded.org/openembedded-core-contrib/log/?h=marquiz/fixes-10944

Markus Lehtonen (6):
  sysklogd: don't use update-alternatives
  initscripts: don't use update-alternatives
  lsbinitscripts: don't use update-alternatives
  initscripts: rrecommend initscripts-functions
  Revert "classes: Fix alternatives and rc.d ordering"
  update-alternatives.bbclass: refuse to manage SysV init scripts

 meta/classes/update-alternatives.bbclass         | 33 ++++++++----------------
 meta/classes/update-rc.d.bbclass                 | 23 +++--------------
 meta/conf/distro/include/default-providers.inc   |  1 +
 meta/recipes-core/initscripts/initscripts_1.0.bb | 11 ++++----
 meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb   |  2 +-
 meta/recipes-extended/lsb/lsbinitscripts_9.72.bb |  8 ++----
 meta/recipes-extended/sysklogd/sysklogd.inc      | 12 +--------
 7 files changed, 24 insertions(+), 66 deletions(-)

-- 
2.13.6



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

end of thread, other threads:[~2017-11-01 14:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-01 14:00 [PATCH 0/6] Stop using update-alternatives for init scripts Markus Lehtonen
2017-11-01 14:00 ` [PATCH 1/6] sysklogd: don't use update-alternatives Markus Lehtonen
2017-11-01 14:00 ` [PATCH 2/6] initscripts: " Markus Lehtonen
2017-11-01 14:00 ` [PATCH 3/6] lsbinitscripts: " Markus Lehtonen
2017-11-01 14:00 ` [PATCH 4/6] initscripts: rrecommend initscripts-functions Markus Lehtonen
2017-11-01 14:00 ` [PATCH 5/6] Revert "classes: Fix alternatives and rc.d ordering" Markus Lehtonen
2017-11-01 14:00 ` [PATCH 6/6] update-alternatives.bbclass: refuse to manage SysV init scripts Markus Lehtonen

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.