mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
Allow packages to use fakeroot. To accomodate this, convert all
target filesystem creation tools to also use fakeroot.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user