Skip to content

preserve xattrs in images

Patrick Ohly openembedded-core 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 19 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3tar-replacement-native: avoid race condition with host tarmeta/recipes-extended/tar/tar-replacement-native_1.28.bb+13 -114 replies
2/3image_types.bbclass: allow replacing tar commandmeta/classes/image_types.bbclass+12 -10 replies
3/3mtd-utils: keep xattr support enabledmeta/recipes-devtools/mtd/mtd-utils_git.bb+1 -18 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] preserve xattrs in images

Both Smack and IMA/EVM rely on xattrs in the rootfs. This works for .ext3/.ext4 images, but not for .jffs2 and .tar.bz2. These changes allow optionally building also such images with xattrs without changing the default (which still is to ignore xattrs in .jffs2 and .tar.bz2).

The default does not get changed because supporting xattrs causes a certain overhead (need to build GNU tar, additional system calls when creating the images).

See https://github.com/01org/meta-intel-iot-security/pull/34 for code using these changes.

The following changes since commit 5094354a2811825e6d60963f03959daa349cab23:

bind: upgrade to 9.10.2-p3 (2015-08-09 15:14:32 -0700)

are available in the git repository at:

git://github.com/pohly/openembedded-core xattr
https://github.com/pohly/openembedded-core/tree/xattr

Patrick Ohly (3):
tar-replacement-native: avoid race condition with host tar image_types.bbclass: allow replacing tar command
mtd-utils: keep xattr support enabled

 meta/classes/image_types.bbclass                         | 13 ++++++++++++-
 meta/recipes-devtools/mtd/mtd-utils_git.bb               |  2 +-
 meta/recipes-extended/tar/tar-replacement-native_1.28.bb | 14 +++++++++++++-
 3 files changed, 26 insertions(+), 3 deletions(-)
Signature · 1 line
2.1.4