From afcdf8a01a2d54edb7a217f8c7c1e74e1fb8758b Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 24 Jun 2005 05:02:00 +0000 Subject: Use fakeroot and makedevs to fake mksquashfs into building properly setup file permissions and device nodes into the target rootfs without needing to be root. --- target/makedevs/makedevs.mk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'target/makedevs') diff --git a/target/makedevs/makedevs.mk b/target/makedevs/makedevs.mk index f8675db2f..cfc19d0ec 100644 --- a/target/makedevs/makedevs.mk +++ b/target/makedevs/makedevs.mk @@ -15,7 +15,11 @@ $(MAKEDEVS_DIR)/makedevs: $(MAKEDEVS_DIR) gcc -Wall -O2 makedevs.c -o makedevs touch -c $(MAKEDEVS_DIR)/makedevs -makedevs: $(MAKEDEVS_DIR)/makedevs +$(STAGING_DIR)/bin/makedevs: $(MAKEDEVS_DIR)/makedevs + $(INSTALL) -m 755 $(MAKEDEVS_DIR)/makedevs $(STAGING_DIR)/bin/makedevs + touch -c $(STAGING_DIR)/bin/makedevs + +makedevs: $(STAGING_DIR)/bin/makedevs makedevs-source: -- cgit v1.2.3