From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Kai Kang <kai.kang@windriver.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH 2/2] strace: update to 4.8
Date: Wed, 19 Jun 2013 09:13:21 +0100 [thread overview]
Message-ID: <1371629601.20823.161.camel@ted> (raw)
In-Reply-To: <d1dac9ed8f9cfe6b533e5676d766e2efeb12195a.1371619993.git.kai.kang@windriver.com>
On Wed, 2013-06-19 at 13:34 +0800, Kai Kang wrote:
> Update strace to 4.8.
>
> * Update License file.
> * Remove the backport patches which are already in version 4.8.
> * Add file git-version-gen from git repo. Without this file configure
> fails.
> * Add libaio and acl to PACKAGECONFIG for target package. Make libaio as a
> dependency by default which could be covered easily.
>
> Signed-off-by: Kai Kang <kai.kang@windriver.com>
[...]
> diff --git a/meta/recipes-devtools/strace/strace_4.8.bb b/meta/recipes-devtools/strace/strace_4.8.bb
> new file mode 100644
> index 0000000..eb9f660
> --- /dev/null
> +++ b/meta/recipes-devtools/strace/strace_4.8.bb
> @@ -0,0 +1,32 @@
> +DESCRIPTION = "strace is a system call tracing tool."
> +HOMEPAGE = "http://strace.sourceforge.net"
> +SECTION = "console/utils"
> +LICENSE = "BSD"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=124500c21e856f0912df29295ba104c7"
> +PR = "r0"
> +
> +SRC_URI = "${SOURCEFORGE_MIRROR}/strace/strace-${PV}.tar.xz \
> + file://git-version-gen"
> +
> +SRC_URI[md5sum] = "c575ef43829586801f514fd91bfe7575"
> +SRC_URI[sha256sum] = "f492291f07a7c805c07a8395cce1ea054a6401ad414f4cc12185672215e1d7f8"
> +inherit autotools
> +
> +PACKAGECONFIG_class-target ?= "libaio"
> +PACKAGECONFIG_class-target += "${@base_contains('DISTRO_FEATURES', 'acl', 'acl', '', d)}"
> +
> +PACKAGECONFIG[libaio] = ",,libaio,"
> +PACKAGECONFIG[acl] = ",,acl,"
Are there not --enable/--disable type options we can pass into configure
here to ensure build are deterministic?
Please also send this with move detection enabled in git so we get a
diff rather than a file removal/addition correctly shown (-M option to
git format-patch for example).
Cheers,
Richard
> +
> +export INCLUDES = "-I. -I./linux"
> +
> +do_configure_prepend() {
> + cp ${WORKDIR}/git-version-gen ${S}
> +}
> +
> +do_install_append() {
> + # We don't ship strace-graph here because it needs perl
> + rm ${D}${bindir}/strace-graph
> +}
> +
> +BBCLASSEXTEND = "native"
next prev parent reply other threads:[~2013-06-19 8:13 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-19 5:34 [PATCH 0/2] V2: Update strace and fix autogen-native build failure Kai Kang
2013-06-19 5:34 ` [PATCH 1/2] autogen-native: fix build failure on overloaded hosts Kai Kang
2013-06-19 5:34 ` [PATCH 2/2] strace: update to 4.8 Kai Kang
2013-06-19 8:13 ` Richard Purdie [this message]
2013-06-19 11:18 ` Kang Kai
2013-06-19 11:57 ` Richard Purdie
2013-06-21 8:02 ` Kang Kai
-- strict thread matches above, loose matches on Subject: below --
2013-06-18 13:05 [PATCH 0/2] Update strace and fix autogen-native build failure Kai Kang
2013-06-18 13:05 ` [PATCH 2/2] strace: update to 4.8 Kai Kang
2013-06-19 1:40 ` Kang Kai
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=1371629601.20823.161.camel@ted \
--to=richard.purdie@linuxfoundation.org \
--cc=kai.kang@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