aboutsummaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
Diffstat (limited to 'target')
-rw-r--r--target/cramfs/cramfs.mk1
-rw-r--r--target/ext2/ext2root.mk1
-rw-r--r--target/iso9660/iso9660.mk1
-rw-r--r--target/jffs2/jffs2root.mk1
-rw-r--r--target/squashfs/squashfsroot.mk1
-rw-r--r--target/tar/tarroot.mk1
6 files changed, 6 insertions, 0 deletions
diff --git a/target/cramfs/cramfs.mk b/target/cramfs/cramfs.mk
index 1205c0030e..b0ab28f234 100644
--- a/target/cramfs/cramfs.mk
+++ b/target/cramfs/cramfs.mk
@@ -68,6 +68,7 @@ cramfsroot: host-fakeroot makedevs cramfs
-/sbin/ldconfig -r $(TARGET_DIR) 2>/dev/null
# Use fakeroot to pretend all target binaries are owned by root
rm -f $(STAGING_DIR)/_fakeroot.$(CRAMFS_TARGET)
+ touch $(STAGING_DIR)/.fakeroot.00000
cat $(STAGING_DIR)/.fakeroot* > $(STAGING_DIR)/_fakeroot.$(CRAMFS_TARGET)
-$(STAGING_DIR)/usr/bin/fakeroot \
-i $(STAGING_DIR)/_fakeroot.$(CRAMFS_TARGET) \
diff --git a/target/ext2/ext2root.mk b/target/ext2/ext2root.mk
index 06ab3d2f3b..bf2ae83539 100644
--- a/target/ext2/ext2root.mk
+++ b/target/ext2/ext2root.mk
@@ -73,6 +73,7 @@ $(EXT2_BASE): host-fakeroot makedevs genext2fs
-/sbin/ldconfig -r $(TARGET_DIR) 2>/dev/null
# Use fakeroot to pretend all target binaries are owned by root
rm -f $(STAGING_DIR)/_fakeroot.$(EXT2_TARGET)
+ touch $(STAGING_DIR)/.fakeroot.00000
cat $(STAGING_DIR)/.fakeroot* > $(STAGING_DIR)/_fakeroot.$(EXT2_TARGET)
-$(STAGING_DIR)/usr/bin/fakeroot \
-i $(STAGING_DIR)/_fakeroot.$(EXT2_TARGET) \
diff --git a/target/iso9660/iso9660.mk b/target/iso9660/iso9660.mk
index 1bc415aed5..df8950413b 100644
--- a/target/iso9660/iso9660.mk
+++ b/target/iso9660/iso9660.mk
@@ -61,6 +61,7 @@ $(ISO9660_TARGET): host-fakeroot $(EXT2_TARGET) grub mkisofs
cp $(EXT2_TARGET) $(ISO9660_TARGET_DIR)/initrd
# Use fakeroot to pretend all target binaries are owned by root
rm -f $(STAGING_DIR)/_fakeroot.$(ISO9660_TARGET)
+ touch $(STAGING_DIR)/.fakeroot.00000
cat $(STAGING_DIR)/.fakeroot* > $(STAGING_DIR)/_fakeroot.$(ISO9660_TARGET)
-$(STAGING_DIR)/usr/bin/fakeroot \
-i $(STAGING_DIR)/_fakeroot.$(ISO9660_TARGET) \
diff --git a/target/jffs2/jffs2root.mk b/target/jffs2/jffs2root.mk
index 2c6ad5eb75..d50bc88db2 100644
--- a/target/jffs2/jffs2root.mk
+++ b/target/jffs2/jffs2root.mk
@@ -46,6 +46,7 @@ $(JFFS2_TARGET): host-fakeroot makedevs mtd-host
-/sbin/ldconfig -r $(TARGET_DIR) 2>/dev/null
# Use fakeroot to pretend all target binaries are owned by root
rm -f $(STAGING_DIR)/_fakeroot.$(JFFS2_TARGET)
+ touch $(STAGING_DIR)/.fakeroot.00000
cat $(STAGING_DIR)/.fakeroot* > $(STAGING_DIR)/_fakeroot.$(JFFS2_TARGET)
-$(STAGING_DIR)/usr/bin/fakeroot \
-i $(STAGING_DIR)/_fakeroot.$(JFFS2_TARGET) \
diff --git a/target/squashfs/squashfsroot.mk b/target/squashfs/squashfsroot.mk
index 10f0c5205a..f41c9660bd 100644
--- a/target/squashfs/squashfsroot.mk
+++ b/target/squashfs/squashfsroot.mk
@@ -62,6 +62,7 @@ squashfsroot: host-fakeroot makedevs squashfs
-/sbin/ldconfig -r $(TARGET_DIR) 2>/dev/null
# Use fakeroot to pretend all target binaries are owned by root
rm -f $(STAGING_DIR)/_fakeroot.$(SQUASHFS_TARGET)
+ touch $(STAGING_DIR)/.fakeroot.00000
cat $(STAGING_DIR)/.fakeroot* > $(STAGING_DIR)/_fakeroot.$(SQUASHFS_TARGET)
-$(STAGING_DIR)/usr/bin/fakeroot \
-i $(STAGING_DIR)/_fakeroot.$(SQUASHFS_TARGET) \
diff --git a/target/tar/tarroot.mk b/target/tar/tarroot.mk
index cbf538653c..e68ece75f7 100644
--- a/target/tar/tarroot.mk
+++ b/target/tar/tarroot.mk
@@ -14,6 +14,7 @@ tarroot: host-fakeroot makedevs
-/sbin/ldconfig -r $(TARGET_DIR) 2>/dev/null
# Use fakeroot to pretend all target binaries are owned by root
rm -f $(STAGING_DIR)/_fakeroot.$(TAR_TARGET)
+ touch $(STAGING_DIR)/.fakeroot.00000
cat $(STAGING_DIR)/.fakeroot* > $(STAGING_DIR)/_fakeroot.$(TAR_TARGET)
-$(STAGING_DIR)/usr/bin/fakeroot \
-i $(STAGING_DIR)/_fakeroot.$(TAR_TARGET) \