Browse Source

Prevent problems with fakeroot possibly trying to use stale host filesystem
inodes by carefully regenerating fakeroot.env from package specific files.

Eric Andersen 20 năm trước cách đây
mục cha
commit
a928fd7b94
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      target/makedevs/makedevs.mk

+ 4 - 0
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: