瀏覽代碼

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 <[email protected]>
Daniel Golle 5 年之前
父節點
當前提交
729a75c3b2
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      include/image.mk

+ 1 - 1
include/image.mk

@@ -250,7 +250,7 @@ define Image/mkfs/squashfs
 	     "$(call mkfs_target_dir,$(1))" > [email protected]
 	echo "$(Image/mkfs/squashfs-common)" >> [email protected]
 	chmod +x [email protected]
-	$(STAGING_DIR_HOST)/bin/fakeroot [email protected]
+	$(FAKEROOT) "[email protected]"
 endef
 else
 define Image/mkfs/squashfs