Skip to content

Commit

Permalink
build: unbreak fakeroot in SDK
Browse files Browse the repository at this point in the history
Using fakeroot without passing the paths to libfakeroot.sh and faked
causes havoc. Use the $(FAKEROOT) Make variable which includes them.

Fixes: 353ce2e ("build: ipkg-build use fakeroot with PKG_FILE_MODES")
Signed-off-by: Daniel Golle <[email protected]>
  • Loading branch information
dangowrt committed Sep 1, 2020
1 parent 5587f19 commit 729a75c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/image.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 729a75c

Please sign in to comment.