aboutsummaryrefslogtreecommitdiff
path: root/fs/common.mk
diff options
context:
space:
mode:
authorGravatar Yann E. MORIN <yann.morin.1998@free.fr>2016-06-07 22:09:41 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-06-07 23:13:36 +0200
commit974e83a8f9a1c9054b0d702d63b85557388d4b7d (patch)
treee86f798f5316c01088225f26a5884eb1188922dc /fs/common.mk
parent71514dac87b60ec74ea1b0378941605a23aed1f0 (diff)
downloadbuildroot-974e83a8f9a1c9054b0d702d63b85557388d4b7d.tar.gz
buildroot-974e83a8f9a1c9054b0d702d63b85557388d4b7d.tar.bz2
fs: add sha-bang to fakeroot script
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> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'fs/common.mk')
-rw-r--r--fs/common.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/common.mk b/fs/common.mk
index f7a73bb1a1..b7202c30aa 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),)