mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-04 06:10:16 +03:00
Remove unused .fakeroot.* mechanism
There used to be a mechanism using which packages could leave a .fakeroot.<something> file which could contain commands to be executed within the fakeroot environment. Since this mechanism is no longer used by any package, remove it from the common infrastructure. The latest user was nfs-utils, which used this mechanism to do the "make install" as root, since doing otherwise was not supported. But since16e7b8255c, nfs-utils has been upgraded and converted to the package infrastructure, and this hack is no longer necessary. Another past user was the ltp-testsuite package, for the same reason, and sincea72a670489, the fakeroot hack is no longer needed. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
committed by
Peter Korsgaard
parent
c0e6b52482
commit
4ef7ec585c
6
Makefile
6
Makefile
@@ -302,8 +302,6 @@ endif
|
||||
|
||||
include fs/common.mk
|
||||
|
||||
TARGETS+=erase-fakeroots
|
||||
|
||||
TARGETS_CLEAN:=$(patsubst %,%-clean,$(TARGETS))
|
||||
TARGETS_SOURCE:=$(patsubst %,%-source,$(TARGETS) $(BASE_TARGETS))
|
||||
TARGETS_DIRCLEAN:=$(patsubst %,%-dirclean,$(TARGETS))
|
||||
@@ -392,7 +390,6 @@ $(BUILD_DIR)/.root:
|
||||
if [ -d "$(TARGET_SKELETON)" ]; then \
|
||||
cp -fa $(TARGET_SKELETON)/* $(TARGET_DIR)/; \
|
||||
fi; \
|
||||
touch $(STAGING_DIR)/.fakeroot.00000; \
|
||||
fi
|
||||
-find $(TARGET_DIR) -type d -name CVS -print0 -o -name .svn -print0 | xargs -0 rm -rf
|
||||
-find $(TARGET_DIR) -type f \( -name .empty -o -name '*~' \) -print0 | xargs -0 rm -rf
|
||||
@@ -400,9 +397,6 @@ $(BUILD_DIR)/.root:
|
||||
|
||||
$(TARGET_DIR): $(BUILD_DIR)/.root
|
||||
|
||||
erase-fakeroots:
|
||||
rm -f $(BUILD_DIR)/.fakeroot*
|
||||
|
||||
target-finalize:
|
||||
ifeq ($(BR2_HAVE_DEVFILES),y)
|
||||
( support/scripts/copy.sh $(STAGING_DIR) $(TARGET_DIR) )
|
||||
|
||||
Reference in New Issue
Block a user