From d1345f067e18a2967638eb888c7ff5010d523acf Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Thu, 4 Aug 2005 06:32:52 +0000 Subject: Allow packages to use fakeroot. To accomodate this, convert all target filesystem creation tools to also use fakeroot. --- target/squashfs/squashfsroot.mk | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'target/squashfs/squashfsroot.mk') diff --git a/target/squashfs/squashfsroot.mk b/target/squashfs/squashfsroot.mk index abbd61848..d64380d21 100644 --- a/target/squashfs/squashfsroot.mk +++ b/target/squashfs/squashfsroot.mk @@ -58,9 +58,6 @@ squashfsroot: squashfs host-fakeroot makedevs @rm -rf $(TARGET_DIR)/usr/man @rm -rf $(TARGET_DIR)/usr/info /sbin/ldconfig -r $(TARGET_DIR) - # Use fakeroot to munge permissions and do root-like things - rm -f $(STAGING_DIR)/fakeroot.env - touch $(STAGING_DIR)/fakeroot.env # Use fakeroot to pretend all target binaries are owned by root $(STAGING_DIR)/usr/bin/fakeroot \ -i $(STAGING_DIR)/fakeroot.env \ @@ -71,9 +68,9 @@ squashfsroot: squashfs host-fakeroot makedevs -i $(STAGING_DIR)/fakeroot.env \ -s $(STAGING_DIR)/fakeroot.env -- \ $(STAGING_DIR)/bin/makedevs \ - -d target/generic/device_table.txt \ + -d $(TARGET_DEVICE_TABLE) \ $(TARGET_DIR) - # Use fakeroot to fake out mksquashfs per the previous fakery + # Use fakeroot so mksquashfs believes the previous fakery $(STAGING_DIR)/usr/bin/fakeroot \ -i $(STAGING_DIR)/fakeroot.env \ -s $(STAGING_DIR)/fakeroot.env -- \ -- cgit v1.2.3