[Buildroot] [PATCH v7 20/22] squashfs: Add xattr support

Matthew Weber matthew.weber at rockwellcollins.com
Wed Jul 15 21:55:20 UTC 2015


Thomas,

On Wed, Jul 15, 2015 at 3:21 PM, Thomas Petazzoni
<thomas.petazzoni at free-electrons.com> wrote:
> Dear Matthew Weber,
>
> On Sat, 11 Jul 2015 12:12:36 -0500, Matthew Weber wrote:
>
>> > No problem. However, I'm curious to know what is your use case: you are
>> > preparing a SquashFS image on your target?
>>
>> We build a x86 SELinux enabled qemu target that repackages our target
>> filesystems with pre-labelled security attributes.  Sort of a sandbox
>> approach.
>
> 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)....

>
> Thanks,
>
> Thomas
> --
> Thomas Petazzoni, CTO, Free Electrons
> Embedded Linux, Kernel and Android engineering
> http://free-electrons.com



-- 
Matthew L Weber / Pr Software Engineer
Airborne Information Systems / Security Systems and Software / Secure Platforms
MS 131-100, C Ave NE, Cedar Rapids, IA, 52498, USA
www.rockwellcollins.com

Note: Any Export License Required Information and License Restricted
Third Party Intellectual Property (TPIP) content must be encrypted and
sent to matthew.weber at corp.rockwellcollins.com.



More information about the buildroot mailing list