Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Arnout Vandecappelle <arnout@mind.be>
To: buildroot@busybox.net
Subject: [Buildroot] [RFC/PATCH 3/4] busybox: ensure $(BUSYBOX_BUILD_CONFIG) is writable
Date: Thu, 21 Jun 2012 01:13:33 +0200	[thread overview]
Message-ID: <4FE2591D.7050707@mind.be> (raw)
In-Reply-To: <1340031743-29694-4-git-send-email-ntl@pobox.com>

On 06/18/12 17:02, Nathan Lynch wrote:
> If $(BUSYBOX_CONFIG_FILE) is read-only, the sed fixups to
> $(BUSYBOX_BUILD_CONFIG) fail.
>
> Signed-off-by: Nathan Lynch<ntl@pobox.com>
> ---
>   package/busybox/busybox.mk |    3 ++-
>   1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/package/busybox/busybox.mk b/package/busybox/busybox.mk
> index 1d988f8..50a612f 100644
> --- a/package/busybox/busybox.mk
> +++ b/package/busybox/busybox.mk
> @@ -115,7 +115,8 @@ endef
>   endif
>
>   define BUSYBOX_COPY_CONFIG
> -	cp -f $(BUSYBOX_CONFIG_FILE) $(BUSYBOX_BUILD_CONFIG)
> +	cp -f $(BUSYBOX_CONFIG_FILE) $(BUSYBOX_BUILD_CONFIG)&&  \
> +		chmod u+w $(BUSYBOX_BUILD_CONFIG)

  Just put it on two lines, without the && \ connector.


  Regards,
  Arnout

-- 
Arnout Vandecappelle                               arnout at mind be
Senior Embedded Software Architect                 +32-16-286540
Essensium/Mind                                     http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium                BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F

  reply	other threads:[~2012-06-20 23:13 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-18 15:02 [Buildroot] [RFC/PATCH 0/4] support building from read-only source tree Nathan Lynch
2012-06-18 15:02 ` [Buildroot] [RFC/PATCH 1/4] uClibc: ensure .oldconfig is writable Nathan Lynch
2012-06-18 15:02 ` [Buildroot] [RFC/PATCH 2/4] ensure target fs " Nathan Lynch
2012-06-20 23:12   ` Arnout Vandecappelle
2012-06-18 15:02 ` [Buildroot] [RFC/PATCH 3/4] busybox: ensure $(BUSYBOX_BUILD_CONFIG) " Nathan Lynch
2012-06-20 23:13   ` Arnout Vandecappelle [this message]
2012-06-18 15:02 ` [Buildroot] [RFC/PATCH 4/4] linux: ensure buildroot_defconfig " Nathan Lynch
2013-05-26 14:45 ` [Buildroot] [RFC/PATCH 0/4] support building from read-only source tree Yann E. MORIN
2013-05-26 16:36   ` Yann E. MORIN
2013-05-30 20:36     ` Nathan Lynch

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=4FE2591D.7050707@mind.be \
    --to=arnout@mind.be \
    --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