images: squashfs: xattrs should not depend on buld host
authorDaniel Golle <daniel@makrotopia.org>
Mon, 2 Aug 2021 18:14:53 +0000 (20:14 +0200)
committerDaniel Golle <daniel@makrotopia.org>
Tue, 3 Aug 2021 17:28:53 +0000 (18:28 +0100)
commit4baf47b9a828b2e2ba2f174083676fe79b0ab527
tree2457b3f53ff65c1a373b047cfb779e29f284703a
parentaf76e26b557270307e05be168c3b9463886306f1
images: squashfs: xattrs should not depend on buld host

Enable xattr for the generated squashfs only if needed for SELinux.
This eliminates warnings during boot on target when building
(non-SELinux) OpenWrt on SELinux-enabled hosts like Fedora.

Reported-by: fda77 <fda77@users.noreply.github.com>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
include/image.mk