From: <Qi.Chen@windriver.com>
To: <openembedded-core@lists.openembedded.org>
Subject: [PATCH 0/8] Fixes about unsafe-references QA warnings
Date: Sat, 9 Nov 2013 13:28:50 +0800 [thread overview]
Message-ID: <cover.1383974819.git.Qi.Chen@windriver.com> (raw)
From: Chen Qi <Qi.Chen@windriver.com>
This solution is based on the following two principles.
1. With /usr on a seperate partition, system should still boot without any error.
2. Without /usr, system should be able to boot into single user mode with error.
When a QA warning about unsafe references is encountered, the above two principles,
together with FHS, are taken into consideration before making a decision.
For example, libkmod is moved to /lib because /lib/udevd requires it; libgudevd
is moved to /usr/lib because it's a GObject wrapper for libudev and it's obviously
not necessary for booting into single user mode.
This patchset also contains several fixes for the sysvinit system.
The overall effect of all these patches:
1. Performing a world build doesn't report any warning about unsafe references.
2. System can boot into runlevel 3 without any error if /usr is on another partition.
3. System can boot into single user mode without any error even if /usr is missing.
---------------------------------------------------------------------------
The following changes since commit 4fdc3d77d4a875b7236536bf78849a4d1f6a7449:
kbd: Fix stdarg related errors on uclibc (2013-11-08 17:31:36 +0000)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib ChenQi/unsafe-reference
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=ChenQi/unsafe-reference
Chen Qi (8):
udev: fix dependency and location of udevadm
initscripts: add setup-commands.sh
zlib: install into base_libdir
kmod: install libkmod into base_libdir
udev: fix unsafe reference by installing libgudev in libdir
insane.bbclass: make the checking stricter for unsafe references in
scripts
iputils: fix program location and QA warning
busybox: install ping6 into bindir by default
meta/classes/insane.bbclass | 2 +-
.../busybox-install-ping6-to-usr-bin.patch | 25 +++++++++++++++++
meta/recipes-core/busybox/busybox_1.21.1.bb | 1 +
.../initscripts/initscripts-1.0/setup-commands.sh | 24 ++++++++++++++++
meta/recipes-core/initscripts/initscripts_1.0.bb | 3 ++
meta/recipes-core/udev/udev.inc | 16 ++++++++---
meta/recipes-core/zlib/zlib_1.2.8.bb | 2 +-
meta/recipes-extended/iputils/iputils_s20121221.bb | 29 ++++++++++++--------
meta/recipes-kernel/kmod/kmod_git.bb | 7 +++--
9 files changed, 89 insertions(+), 20 deletions(-)
create mode 100644 meta/recipes-core/busybox/busybox-1.21.1/busybox-install-ping6-to-usr-bin.patch
create mode 100644 meta/recipes-core/initscripts/initscripts-1.0/setup-commands.sh
--
1.7.9.5
next reply other threads:[~2013-11-09 5:28 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-09 5:28 Qi.Chen [this message]
2013-11-09 5:28 ` [PATCH 1/8] udev: fix dependency and location of udevadm Qi.Chen
2013-11-09 22:54 ` Phil Blundell
2013-11-11 2:18 ` ChenQi
2013-11-11 10:53 ` Phil Blundell
2013-11-11 11:28 ` ChenQi
2013-11-09 5:28 ` [PATCH 2/8] initscripts: add setup-commands.sh Qi.Chen
2013-11-09 23:00 ` Phil Blundell
2013-11-11 2:52 ` ChenQi
2013-11-11 11:53 ` Phil Blundell
2013-11-11 12:40 ` ChenQi
2013-11-11 14:49 ` Phil Blundell
2013-11-11 16:13 ` Mark Hatle
2013-11-11 12:12 ` Burton, Ross
2013-11-11 12:53 ` ChenQi
2013-11-11 16:15 ` Mark Hatle
2013-11-09 5:28 ` [PATCH 3/8] zlib: install into base_libdir Qi.Chen
2013-11-09 5:28 ` [PATCH 4/8] kmod: install libkmod " Qi.Chen
2013-11-09 5:28 ` [PATCH 5/8] udev: fix unsafe reference by installing libgudev in libdir Qi.Chen
2013-11-09 5:28 ` [PATCH 6/8] insane.bbclass: make the checking stricter for unsafe references in scripts Qi.Chen
2013-11-09 5:28 ` [PATCH 7/8] iputils: fix program location and QA warning Qi.Chen
2013-11-09 5:28 ` [PATCH 8/8] busybox: install ping6 into bindir by default Qi.Chen
2013-11-11 11:12 ` [PATCH 0/8] Fixes about unsafe-references QA warnings Burton, Ross
2013-11-11 11:23 ` ChenQi
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.1383974819.git.Qi.Chen@windriver.com \
--to=qi.chen@windriver.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