From: Markus Lehtonen <markus.lehtonen@linux.intel.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 0/6] Stop using update-alternatives for init scripts
Date: Wed, 1 Nov 2017 16:00:29 +0200 [thread overview]
Message-ID: <cover.1509544185.git.markus.lehtonen@linux.intel.com> (raw)
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
next reply other threads:[~2017-11-01 14:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-01 14:00 Markus Lehtonen [this message]
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
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.1509544185.git.markus.lehtonen@linux.intel.com \
--to=markus.lehtonen@linux.intel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox