[Buildroot] [RFC/PATCH 3/4] busybox: ensure $(BUSYBOX_BUILD_CONFIG) is writable
Arnout Vandecappelle
arnout at mind.be
Wed Jun 20 23:13:33 UTC 2012
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 at 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
More information about the buildroot
mailing list