From adc9e91288f2eaffdebe0c42871314268c8144e8 Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Tue, 1 Sep 2020 04:08:47 +0100 Subject: [PATCH] build: unbreak fakeroot in SDK Using fakeroot without passing the paths to libfakeroot.sh and faked causes havoc. Use the $(FAKEROOT) Make variable which includes them. Fixes: 353ce2e521 ("build: ipkg-build use fakeroot with PKG_FILE_MODES") Signed-off-by: Daniel Golle --- include/image.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/image.mk b/include/image.mk index d529f537c5..b3efd8af95 100644 --- a/include/image.mk +++ b/include/image.mk @@ -250,7 +250,7 @@ define Image/mkfs/squashfs "$(call mkfs_target_dir,$(1))" > $@.fakeroot-script echo "$(Image/mkfs/squashfs-common)" >> $@.fakeroot-script chmod +x $@.fakeroot-script - $(STAGING_DIR_HOST)/bin/fakeroot $@.fakeroot-script + $(FAKEROOT) "$@.fakeroot-script" endef else define Image/mkfs/squashfs