All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] fs: add sha-bang to fakeroot script
@ 2016-06-07 20:09 Yann E. MORIN
  2016-06-07 21:13 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Yann E. MORIN @ 2016-06-07 20:09 UTC (permalink / raw)
  To: buildroot

We directly running this script, so it should start with a sha-bang (not
sure why/how it works today...).

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
---
 fs/common.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/fs/common.mk b/fs/common.mk
index 46e097b..63aa46c 100644
--- a/fs/common.mk
+++ b/fs/common.mk
@@ -76,6 +76,7 @@ $$(BINARIES_DIR)/rootfs.$(1): target-finalize $$(ROOTFS_$(2)_DEPENDENCIES)
 	rm -f $$(FAKEROOT_SCRIPT)
 	rm -f $$(TARGET_DIR_WARNING_FILE)
 	rm -f $$(USERS_TABLE)
+	echo '#!/bin/sh' > $$(FAKEROOT_SCRIPT)
 	echo "set -e" >> $$(FAKEROOT_SCRIPT)
 	echo "chown -h -R 0:0 $$(TARGET_DIR)" >> $$(FAKEROOT_SCRIPT)
 ifneq ($$(ROOTFS_USERS_TABLES),)
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH] fs: add sha-bang to fakeroot script
  2016-06-07 20:09 [Buildroot] [PATCH] fs: add sha-bang to fakeroot script Yann E. MORIN
@ 2016-06-07 21:13 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2016-06-07 21:13 UTC (permalink / raw)
  To: buildroot

Hello,

On Tue,  7 Jun 2016 22:09:41 +0200, Yann E. MORIN wrote:
> We directly running this script, so it should start with a sha-bang (not
> sure why/how it works today...).
> 
> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
> ---
>  fs/common.mk | 1 +
>  1 file changed, 1 insertion(+)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-06-07 21:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-07 20:09 [Buildroot] [PATCH] fs: add sha-bang to fakeroot script Yann E. MORIN
2016-06-07 21:13 ` Thomas Petazzoni

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.