From: Denys Dmytriyenko <denis@denix.org>
To: openembedded-devel@lists.openembedded.org
Cc: Carlos Hernandez <c-hernandez8@ti.com>
Subject: Re: [PATCH 1/1] lmbench: rename 'line' binary as 'lm_line'
Date: Mon, 04 Apr 2011 02:56:32 -0400 [thread overview]
Message-ID: <20110404065632.GI23178@denix.org> (raw)
In-Reply-To: <1301760796-10105-1-git-send-email-c-hernandez8@ti.com>
On Sat, Apr 02, 2011 at 12:13:16PM -0400, Carlos Hernandez wrote:
> Both lmbench and util-linux-ng packages provide own /usr/bin/line binaries.
> Even though the binaries name is the same, their functionality is different.
> This patch renames lmbench's line binary as lm_line to avoid conflicts with
> util-linux-ng.
> script/config-run is also modified (patch) to call lm_line instead of line.
> Signed-off-By: Carlos Hernandez <c-hernandez8@ti.com>
Acked-by: Denys Dmytriyenko <denys@ti.com>
> ---
> recipes/lmbench/lmbench/rename-line-binary.patch | 11 +++++++++++
> recipes/lmbench/lmbench_3.0-a9.bb | 6 ++++--
> 2 files changed, 15 insertions(+), 2 deletions(-)
> create mode 100644 recipes/lmbench/lmbench/rename-line-binary.patch
>
> diff --git a/recipes/lmbench/lmbench/rename-line-binary.patch b/recipes/lmbench/lmbench/rename-line-binary.patch
> new file mode 100644
> index 0000000..997143b
> --- /dev/null
> +++ b/recipes/lmbench/lmbench/rename-line-binary.patch
> @@ -0,0 +1,11 @@
> +--- patches/scripts/config-run 2006-11-26 15:11:04.000000000 -0500
> ++++ patches/scripts/config-run 2011-04-01 09:35:50.000000000 -0400
> +@@ -224,7 +224,7 @@ fi
> +
> + echo "Hang on, we are calculating your cache line size."
> + ../bin/$OS/msleep 250
> +-LINE_SIZE=`../bin/$OS/line -M ${MB}M`
> ++LINE_SIZE=`../bin/$OS/lm_line -M ${MB}M`
> + export LINE_SIZE
> + echo "OK, it looks like your cache line is $LINE_SIZE bytes."
> + echo ""
> diff --git a/recipes/lmbench/lmbench_3.0-a9.bb b/recipes/lmbench/lmbench_3.0-a9.bb
> index 1e2598a..65771a4 100644
> --- a/recipes/lmbench/lmbench_3.0-a9.bb
> +++ b/recipes/lmbench/lmbench_3.0-a9.bb
> @@ -3,12 +3,13 @@ DESCRIPTION = "Tools for performance analysis."
> LICENSE = "GPL"
> RDEPENDS_${PN} = "debianutils"
>
> -PR = "r2"
> +PR = "r3"
>
> inherit autotools
>
> SRC_URI = "${SOURCEFORGE_MIRROR}/lmbench/lmbench-${PV}.tgz \
> - file://lmbench-run"
> + file://lmbench-run \
> + file://rename-line-binary.patch"
> SRC_URI[md5sum] = "b3351a3294db66a72e2864a199d37cbf"
> SRC_URI[sha256sum] = "cbd5777d15f44eab7666dcac418054c3c09df99826961a397d9acf43d8a2a551"
>
> @@ -56,6 +57,7 @@ do_install () {
> install -m 0755 ${S}/scripts/lmbench ${D}${bindir}
> install -d ${D}${datadir}/lmbench/scripts
> install -m 0755 ${S}/scripts/* ${D}${datadir}/lmbench/scripts
> + mv ${D}${bindir}/line ${D}${bindir}/lm_line
> }
>
> FILES_${PN} += "${datadir}/lmbench"
> --
> 1.7.0.4
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
prev parent reply other threads:[~2011-04-04 6:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-02 16:13 [PATCH 1/1] lmbench: rename 'line' binary as 'lm_line' Carlos Hernandez
2011-04-04 6:56 ` Denys Dmytriyenko [this message]
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=20110404065632.GI23178@denix.org \
--to=denis@denix.org \
--cc=c-hernandez8@ti.com \
--cc=openembedded-devel@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