From a928fd7b94bf60ae1d0b29adacf22a944dc62471 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Mon, 8 Aug 2005 07:54:28 +0000 Subject: [PATCH] Prevent problems with fakeroot possibly trying to use stale host filesystem inodes by carefully regenerating fakeroot.env from package specific files. --- target/makedevs/makedevs.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/target/makedevs/makedevs.mk b/target/makedevs/makedevs.mk index 620b0cdcd6..c700dc4168 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: -- 2.30.2