summaryrefslogtreecommitdiffstats
path: root/target/makedevs/makedevs.mk
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2005-08-08 07:54:28 +0000
committerEric Andersen <andersen@codepoet.org>2005-08-08 07:54:28 +0000
commita928fd7b94bf60ae1d0b29adacf22a944dc62471 (patch)
tree6a928e3c2006e145c6a78966dc52c4003d907eb1 /target/makedevs/makedevs.mk
parentd70e7f4f1e662622ed9809948a0f585fc390982b (diff)
downloadbuildroot-novena-a928fd7b94bf60ae1d0b29adacf22a944dc62471.tar.gz
buildroot-novena-a928fd7b94bf60ae1d0b29adacf22a944dc62471.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/makedevs/makedevs.mk')
-rw-r--r--target/makedevs/makedevs.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/target/makedevs/makedevs.mk b/target/makedevs/makedevs.mk
index 620b0cdcd..c700dc416 100644
--- a/target/makedevs/makedevs.mk
+++ b/target/makedevs/makedevs.mk
@@ -20,6 +20,10 @@ $(STAGING_DIR)/bin/makedevs: $(MAKEDEVS_DIR)/makedevs
$(INSTALL) -m 755 $(MAKEDEVS_DIR)/makedevs $(STAGING_DIR)/bin/makedevs
touch -c $(STAGING_DIR)/bin/makedevs
+$(STAGING_DIR)/fakeroot.env:
+ cat $(STAGING_DIR)/.fakeroot.* > $(STAGING_DIR)/fakeroot.env
+ touch -c $(STAGING_DIR)/fakeroot.env
+
makedevs: $(STAGING_DIR)/bin/makedevs
makedevs-source: