[Buildroot] [PATCH v7 20/22] squashfs: Add xattr support
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Thu Jul 16 15:18:37 UTC 2015
Dear Matthew Weber,
On Wed, 15 Jul 2015 16:55:20 -0500, Matthew Weber wrote:
> > Why is this needed? Can you generate those security attributes at build
> > time?
>
> If you did you would need to modify the (host) Kernel on your build
> machine to have all of the filesystem types w/ext attributes and
> selinux enabled that you need for the rootfs creation. Instead we
> build a inbetween QEMU that performs this in a sandbox as a post build
> step. Then we can build on any unmodified distribution
> (Ubuntu/CentOS/Arch/etc)....
Ah, ok. I was assuming with enough fakeroot-like magic one could achieve
that without having to resort to a sandbox approach like the one you're
using. But anyway that's fine, having xattr support for squashfs on the
target is perfectly fine.
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
More information about the buildroot
mailing list