From: Eric Andersen Date: Mon, 8 Aug 2005 07:54:28 +0000 (-0000) Subject: Prevent problems with fakeroot possibly trying to use stale host filesystem X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a928fd7b94bf60ae1d0b29adacf22a944dc62471;p=buildroot.git Prevent problems with fakeroot possibly trying to use stale host filesystem inodes by carefully regenerating fakeroot.env from package specific files. --- 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: