From: Yann E. MORIN Date: Tue, 7 Jun 2016 20:09:41 +0000 (+0200) Subject: fs: add sha-bang to fakeroot script X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=974e83a8f9a1c9054b0d702d63b85557388d4b7d;p=buildroot.git 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" Signed-off-by: Thomas Petazzoni --- 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),)