summaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2005-08-08 07:53:10 +0000
committerEric Andersen <andersen@codepoet.org>2005-08-08 07:53:10 +0000
commitd70e7f4f1e662622ed9809948a0f585fc390982b (patch)
tree50ed84db09c0ea726ca4a91bdd50406e3bb7a00f /target
parent06c5ff4e823cab16987d89c585ef2de4a3db2a7b (diff)
downloadbuildroot-novena-d70e7f4f1e662622ed9809948a0f585fc390982b.tar.gz
buildroot-novena-d70e7f4f1e662622ed9809948a0f585fc390982b.zip
Prevent problems with fakeroot possibly trying to use stale host filesystem
inodes by carefully regenerating fakeroot.env from package specific files.
Diffstat (limited to 'target')
-rw-r--r--target/cramfs/cramfs.mk2
-rw-r--r--target/ext2/ext2root.mk2
-rw-r--r--target/jffs2/jffs2root.mk2
-rw-r--r--target/squashfs/squashfsroot.mk2
-rw-r--r--target/tar/tarroot.mk2
5 files changed, 5 insertions, 5 deletions
diff --git a/target/cramfs/cramfs.mk b/target/cramfs/cramfs.mk
index 913a89cf2..408ff3ac1 100644
--- a/target/cramfs/cramfs.mk
+++ b/target/cramfs/cramfs.mk
@@ -58,7 +58,7 @@ ifeq ($(strip $(BR2_sparc)),y)
CRAMFS_ENDIANNESS=-b
endif
-cramfsroot: host-fakeroot makedevs cramfs
+cramfsroot: host-fakeroot makedevs $(STAGING_DIR)/fakeroot.env cramfs
#-@find $(TARGET_DIR)/lib -type f -name \*.so\* | xargs $(STRIP) --strip-unneeded 2>/dev/null || true;
-@find $(TARGET_DIR) -type f -perm +111 | xargs $(STRIP) 2>/dev/null || true;
@rm -rf $(TARGET_DIR)/usr/man
diff --git a/target/ext2/ext2root.mk b/target/ext2/ext2root.mk
index 5f5bdb1eb..fec8795b5 100644
--- a/target/ext2/ext2root.mk
+++ b/target/ext2/ext2root.mk
@@ -65,7 +65,7 @@ else
EXT2_TARGET := $(EXT2_BASE)
endif
-$(EXT2_BASE): host-fakeroot makedevs genext2fs
+$(EXT2_BASE): host-fakeroot makedevs $(STAGING_DIR)/fakeroot.env genext2fs
-@find $(TARGET_DIR) -type f -perm +111 | xargs $(STRIP) 2>/dev/null || true;
@rm -rf $(TARGET_DIR)/usr/man
@rm -rf $(TARGET_DIR)/usr/share/man
diff --git a/target/jffs2/jffs2root.mk b/target/jffs2/jffs2root.mk
index 03a055880..c5efae525 100644
--- a/target/jffs2/jffs2root.mk
+++ b/target/jffs2/jffs2root.mk
@@ -38,7 +38,7 @@ JFFS2_TARGET := $(subst ",,$(BR2_TARGET_ROOTFS_JFFS2_OUTPUT))
# value of MKFS_JFFS2 to either the previously installed copy or the one
# just built.
#
-$(JFFS2_TARGET): host-fakeroot makedevs mtd-host
+$(JFFS2_TARGET): host-fakeroot makedevs $(STAGING_DIR)/fakeroot.env mtd-host
-@find $(TARGET_DIR) -type f -perm +111 | xargs $(STRIP) 2>/dev/null || true;
@rm -rf $(TARGET_DIR)/usr/man
@rm -rf $(TARGET_DIR)/usr/share/man
diff --git a/target/squashfs/squashfsroot.mk b/target/squashfs/squashfsroot.mk
index 6fd106a5e..4a2ff2880 100644
--- a/target/squashfs/squashfsroot.mk
+++ b/target/squashfs/squashfsroot.mk
@@ -53,7 +53,7 @@ ifeq ($(strip $(BR2_sparc)),y)
SQUASHFS_ENDIANNESS=-be
endif
-squashfsroot: host-fakeroot makedevs squashfs
+squashfsroot: host-fakeroot makedevs $(STAGING_DIR)/fakeroot.env squashfs
-@find $(TARGET_DIR) -type f -perm +111 | xargs $(STRIP) 2>/dev/null || true;
@rm -rf $(TARGET_DIR)/usr/man
@rm -rf $(TARGET_DIR)/usr/info
diff --git a/target/tar/tarroot.mk b/target/tar/tarroot.mk
index 1d2d6a6ca..307220ad2 100644
--- a/target/tar/tarroot.mk
+++ b/target/tar/tarroot.mk
@@ -6,7 +6,7 @@
TAR_OPTS := $(strip $(BR2_TARGET_ROOTFS_TAR_OPTIONS))
-tarroot: host-fakeroot makedevs
+tarroot: host-fakeroot makedevs $(STAGING_DIR)/fakeroot.env
-@find $(TARGET_DIR) -type f -perm +111 | xargs $(STRIP) 2>/dev/null || true;
@rm -rf $(TARGET_DIR)/usr/man
@rm -rf $(TARGET_DIR)/usr/info