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. --- package/ltp-testsuite/ltp-testsuite.mk | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'package') diff --git a/package/ltp-testsuite/ltp-testsuite.mk b/package/ltp-testsuite/ltp-testsuite.mk index 74707f294..edf2ffdde 100644 --- a/package/ltp-testsuite/ltp-testsuite.mk +++ b/package/ltp-testsuite/ltp-testsuite.mk @@ -28,8 +28,10 @@ $(LTP_TESTSUITE_DIR)/testcases/kernel/syscalls/write/write01: $(LTP_TESTSUITE_DI $(LTP_TESTSUITE_DIR)/testcases/bin/1K_file: $(LTP_TESTSUITE_DIR)/testcases/kernel/syscalls/write/write01 # Use fakeroot to pretend to do 'make install' as root $(STAGING_DIR)/usr/bin/fakeroot \ - $(MAKE) $(TARGET_CONFIGURE_OPTS) CROSS_COMPILER=$(TARGET_CROSS) \ - -C $(LTP_TESTSUITE_DIR) install + -i $(STAGING_DIR)/fakeroot.env \ + -s $(STAGING_DIR)/fakeroot.env -- \ + $(MAKE) $(TARGET_CONFIGURE_OPTS) CROSS_COMPILER=$(TARGET_CROSS) \ + -C $(LTP_TESTSUITE_DIR) install touch -c $(LTP_TESTSUITE_DIR)/testcases/bin/1K_file ltp-testsuite: uclibc host-fakeroot $(LTP_TESTSUITE_DIR)/testcases/bin/1K_file -- cgit v1.2.3