From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1 of 2] check-kernel-headers: mktemp --tmpdir not available on RedHat 5
Date: Tue, 2 Sep 2014 11:39:02 +0200 [thread overview]
Message-ID: <20140902093902.GA4240@free.fr> (raw)
In-Reply-To: <2c7735c0247a4c83a3c2.1409649945@localhost>
Thomas, All,
On 2014-09-02 11:25 +0200, Thomas De Schampheleire spake thusly:
> # HG changeset patch
> # User Thomas De Schampheleire <thomas.de_schampheleire@alcatel-lucent.com>
> # Date 1407153076 -7200
> # Mon Aug 04 13:51:16 2014 +0200
> # Node ID 2c7735c0247a4c83a3c2ea1d58e74be613465255
> # Parent 6af0c3866b64670bb6d62302b64f3164b1f70fb6
> check-kernel-headers: mktemp --tmpdir not available on RedHat 5
>
> mktemp --tmpdir is not available on older Redhat 5 machines. The alternative
> that has the same behavior is 'mktemp -t'.
>
> Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Regards,
Yann E. MORIN.
> ---
> support/scripts/check-kernel-headers.sh | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/support/scripts/check-kernel-headers.sh b/support/scripts/check-kernel-headers.sh
> --- a/support/scripts/check-kernel-headers.sh
> +++ b/support/scripts/check-kernel-headers.sh
> @@ -8,7 +8,7 @@
> HDR_V="${HDR_VER#*.}"
> HDR_m="${HDR_V%%.*}"
>
> -EXEC="$(mktemp --tmpdir check-headers.XXXXXX)"
> +EXEC="$(mktemp -t check-headers.XXXXXX)"
>
> # We do not want to account for the patch-level, since headers are
> # not supposed to change for different patchlevels, so we mask it out.
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
next prev parent reply other threads:[~2014-09-02 9:39 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-02 9:25 [Buildroot] [PATCH 0 of 2] RedHat 5 support fixes Thomas De Schampheleire
2014-09-02 9:25 ` [Buildroot] [PATCH 1 of 2] check-kernel-headers: mktemp --tmpdir not available on RedHat 5 Thomas De Schampheleire
2014-09-02 9:39 ` Yann E. MORIN [this message]
2014-09-28 18:40 ` Peter Korsgaard
2014-09-28 18:43 ` Thomas De Schampheleire
2014-09-28 19:52 ` Peter Korsgaard
2014-09-02 9:25 ` [Buildroot] [PATCH 2 of 2] kmod: add patches to support build on Redhat 5 Thomas De Schampheleire
2014-09-28 18:43 ` Peter Korsgaard
2014-09-29 9:31 ` Thomas De Schampheleire
2014-09-29 10:34 ` Peter Korsgaard
2014-10-05 13:08 ` Thomas Petazzoni
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=20140902093902.GA4240@free.fr \
--to=yann.morin.1998@free.fr \
--cc=buildroot@busybox.net \
/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.