From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Drew Moseley <drew_moseley@mentor.com>,
"Ashfield, Bruce" <Bruce.Ashfield@windriver.com>,
"Zanussi, Tom" <tom.zanussi@intel.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH] kernel: Package additional modules files needed for systemtap
Date: Wed, 15 May 2013 08:39:52 +0300 [thread overview]
Message-ID: <1368596392.25898.61.camel@ted> (raw)
In-Reply-To: <1368579545-16079-1-git-send-email-drew_moseley@mentor.com>
On Tue, 2013-05-14 at 17:59 -0700, Drew Moseley wrote:
> Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
> ---
> meta/classes/kernel.bbclass | 8 +++++---
> 1 file changed, 5 insertions(+), 3 deletions(-)
>
> diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
> index 6ba31bd..f23818e 100644
> --- a/meta/classes/kernel.bbclass
> +++ b/meta/classes/kernel.bbclass
> @@ -108,8 +108,6 @@ kernel_do_install() {
> unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS MACHINE
> if (grep -q -i -e '^CONFIG_MODULES=y$' .config); then
> oe_runmake DEPMOD=echo INSTALL_MOD_PATH="${D}" modules_install
> - rm -f "${D}/lib/modules/${KERNEL_VERSION}/modules.order"
> - rm -f "${D}/lib/modules/${KERNEL_VERSION}/modules.builtin"
> rm "${D}/lib/modules/${KERNEL_VERSION}/build"
> rm "${D}/lib/modules/${KERNEL_VERSION}/source"
> else
> @@ -259,7 +257,11 @@ EXPORT_FUNCTIONS do_compile do_install do_configure
> # kernel-image becomes kernel-image-${KERNEL_VERISON}
> PACKAGES = "kernel kernel-base kernel-vmlinux kernel-image kernel-dev"
> FILES = ""
> -FILES_kernel-image = "/boot/${KERNEL_IMAGETYPE}*"
> +FILES_kernel-image = " \
> + /boot/${KERNEL_IMAGETYPE}* \
> + ${base_libdir}/modules/${KERNEL_VERSION}/modules.order \
> + ${base_libdir}/modules/${KERNEL_VERSION}/modules.builtin \
> +"
> FILES_kernel-dev = "/boot/System.map* /boot/Module.symvers* /boot/config* ${KERNEL_SRC_PATH}"
> FILES_kernel-vmlinux = "/boot/vmlinux*"
> RDEPENDS_kernel = "kernel-base"
Should these really be installed into every system with a kernel?
Doesn't systemtap also need other symbol information so these files
would be better off in whatever other packages systemtap also needs?
Cheers,
Richard
next prev parent reply other threads:[~2013-05-15 6:03 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-15 0:59 [PATCH] kernel: Package additional modules files needed for systemtap Drew Moseley
2013-05-15 5:39 ` Richard Purdie [this message]
2013-05-15 13:23 ` Moseley, Drew
2013-05-15 13:34 ` Tom Zanussi
2013-05-15 14:47 ` Moseley, Drew
2013-05-15 13:54 ` Bruce Ashfield
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=1368596392.25898.61.camel@ted \
--to=richard.purdie@linuxfoundation.org \
--cc=Bruce.Ashfield@windriver.com \
--cc=drew_moseley@mentor.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=tom.zanussi@intel.com \
/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.