From: Scott Garman <scott.a.garman@intel.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 0/8] New QA tests for unsafe references to exec_prefix
Date: Fri, 16 Dec 2011 14:36:25 -0800 [thread overview]
Message-ID: <cover.1324074313.git.scott.a.garman@intel.com> (raw)
Hello,
This is a P2 feature for Yocto 1.2. It adds two new QA tests to check
files in base_bindir, base_sbindir, and base_libdir for references to
files under exec_prefix (e.g, dynamic linking for binaries and
references to exec_prefix in scripts).
The reason for these tests is that exec_prefix (typically /usr) can
be kept on a separate partition that may be mounted late in the boot
process, or may not be mounted at all during system recovery
operations.
It was my original goal to make the dynamic linking test a QA error
upon failure, but it turned out the amount of recipe work needed was
much larger than I expected. So for the time being they have been
changed to generate QA warmings.
The libraries I've moved to base_libdir in this pull request should
take care of all binaries in /bin and /sbin for packages we include
in core-image-minimal and -sato.
I would like to ask recipe maintainers to look for these QA warnings
and fix them ASAP, as I believe we'll be changing this to a QA error
before the release of 1.2.
Scott
The following changes since commit 3e05acab1c119a3b2a4703ea8729cc768935d36e:
license.bbclass: remove bashism (2011-12-16 16:50:39 +0000)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib sgarman/per-recipe-sanitychk-final
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=sgarman/per-recipe-sanitychk-final
Scott Garman (8):
ncurses: move libraries to base_libdir
libcap: move library to base_libdir
util-linux: move libraries to base_libdir
e2fsprogs: move libraries to base_libdir
libusb1: move libraries to base_libdir
libusb-compat: move libraries to base_libdir
prelink: update to latest git version
insane.bbclass: add QA tests for unsafe references to exec_prefix
meta/classes/insane.bbclass | 111 +++++++++++++++++++-
.../conf/distro/include/distro_tracking_fields.inc | 8 +-
meta/recipes-core/ncurses/ncurses.inc | 26 +++--
meta/recipes-core/util-linux/util-linux.inc | 20 ++--
meta/recipes-core/util-linux/util-linux_2.19.1.bb | 2 +-
.../e2fsprogs/e2fsprogs_1.41.14.bb | 29 +++--
meta/recipes-devtools/prelink/prelink_git.bb | 2 +-
meta/recipes-support/libcap/libcap.inc | 15 +++-
meta/recipes-support/libcap/libcap_2.22.bb | 2 +-
meta/recipes-support/libusb/libusb-compat_0.1.3.bb | 12 ++-
meta/recipes-support/libusb/libusb1_1.0.8.bb | 16 +++-
11 files changed, 200 insertions(+), 43 deletions(-)
--
1.7.5.4
next reply other threads:[~2011-12-16 22:43 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-16 22:36 Scott Garman [this message]
2011-12-16 22:36 ` [PATCH 1/8] ncurses: move libraries to base_libdir Scott Garman
2011-12-16 22:36 ` [PATCH 2/8] libcap: move library " Scott Garman
2011-12-16 22:36 ` [PATCH 3/8] util-linux: move libraries " Scott Garman
2011-12-16 22:36 ` [PATCH 4/8] e2fsprogs: " Scott Garman
2011-12-16 22:36 ` [PATCH 5/8] libusb1: " Scott Garman
2011-12-16 22:36 ` [PATCH 6/8] libusb-compat: " Scott Garman
2011-12-16 22:36 ` [PATCH 7/8] prelink: update to latest git version Scott Garman
2011-12-16 22:36 ` [PATCH 8/8] insane.bbclass: add QA tests for unsafe references to exec_prefix Scott Garman
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.1324074313.git.scott.a.garman@intel.com \
--to=scott.a.garman@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