Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas De Schampheleire <patrickdepinguin@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1 of 2] check-kernel-headers: mktemp --tmpdir not available on RedHat 5
Date: Tue, 02 Sep 2014 11:25:45 +0200	[thread overview]
Message-ID: <2c7735c0247a4c83a3c2.1409649945@localhost> (raw)
In-Reply-To: <patchbomb.1409649944@localhost>

# 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>

---
 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.

  reply	other threads:[~2014-09-02  9:25 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 ` Thomas De Schampheleire [this message]
2014-09-02  9:39   ` [Buildroot] [PATCH 1 of 2] check-kernel-headers: mktemp --tmpdir not available on RedHat 5 Yann E. MORIN
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=2c7735c0247a4c83a3c2.1409649945@localhost \
    --to=patrickdepinguin@gmail.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox