All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Eric Bénard" <eric@eukrea.com>
To: s.hauer@pengutronix.de
Cc: barebox@lists.infradead.org
Subject: [PATCH 3/7] defaultenv/bin/update: let /env/config set default values
Date: Fri,  7 Jan 2011 17:35:29 +0100	[thread overview]
Message-ID: <1294418133-5256-3-git-send-email-eric@eukrea.com> (raw)
In-Reply-To: <1294418133-5256-1-git-send-email-eric@eukrea.com>

this patch allows for example device_type to be fixed in /env/config
(useful for configurations with only one memory type).

Signed-off-by: Eric Bénard <eric@eukrea.com>
---
 defaultenv/bin/update |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/defaultenv/bin/update b/defaultenv/bin/update
index 29c240b..5b35df1 100644
--- a/defaultenv/bin/update
+++ b/defaultenv/bin/update
@@ -1,12 +1,12 @@
 #!/bin/sh
 
-. /env/config
-
 type=""
 device_type=""
 check=n
 mode=tftp
 
+. /env/config
+
 while getopt "ht:d:f:m:c" Option
 do
 if [ ${Option} = t ]; then
-- 
1.7.3.4


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  parent reply	other threads:[~2011-01-07 16:35 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-07 16:35 [PATCH 1/7] _update_help: fix script name Eric Bénard
2011-01-07 16:35 ` [PATCH 2/7] defaultenv/bin/boot: make ubi root's name configurable Eric Bénard
2011-01-07 16:35 ` Eric Bénard [this message]
2011-01-07 16:35 ` [PATCH 4/7] update: add bareboxenv update possibility Eric Bénard
2011-01-07 16:35 ` [PATCH 5/7] eukrea_cpuimx25: add led support Eric Bénard
2011-01-07 16:35 ` [PATCH 6/7] eukrea_cpuimx25: switch to default environement Eric Bénard
2011-01-07 16:35 ` [PATCH 7/7] eukrea_cpuimx25: update defconfig Eric Bénard

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=1294418133-5256-3-git-send-email-eric@eukrea.com \
    --to=eric@eukrea.com \
    --cc=barebox@lists.infradead.org \
    --cc=s.hauer@pengutronix.de \
    /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.