summaryrefslogtreecommitdiffstats
path: root/package/ltp-testsuite/ltp-testsuite.mk
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2005-08-04 06:32:52 +0000
committerEric Andersen <andersen@codepoet.org>2005-08-04 06:32:52 +0000
commitd1345f067e18a2967638eb888c7ff5010d523acf (patch)
tree209a7f9055e89cd63d6f0a7994ae923b12312cb5 /package/ltp-testsuite/ltp-testsuite.mk
parent1172dbb8b15c2ccddfa9492850d2f6fbb61e2263 (diff)
downloadbuildroot-novena-d1345f067e18a2967638eb888c7ff5010d523acf.tar.gz
buildroot-novena-d1345f067e18a2967638eb888c7ff5010d523acf.zip
Allow packages to use fakeroot. To accomodate this, convert all
target filesystem creation tools to also use fakeroot.
Diffstat (limited to 'package/ltp-testsuite/ltp-testsuite.mk')
-rw-r--r--package/ltp-testsuite/ltp-testsuite.mk6
1 files changed, 4 insertions, 2 deletions
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