diff options
Diffstat (limited to 'fs/common.mk')
-rw-r--r-- | fs/common.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/common.mk b/fs/common.mk index f7a73bb1a..b7202c30a 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),) |