meta-tizen: Enable xattr in created images
authorKévin THIERRY <kevin.thierry@open.eurogiciel.org>
Tue, 22 Apr 2014 15:18:20 +0000 (17:18 +0200)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 9 Jan 2015 17:19:38 +0000 (09:19 -0800)
commitc70bbb317c587a53bd587070d760b515f45d78b4
treeef19848163eda9b6d4b3416319ef8e14df0121cc
parent15543bddaeb78b83ab022bc590b9a3bd027c3cca
meta-tizen: Enable xattr in created images

Adding the xattr in the rootfs before creating the image doesn't work
(xattr are not copied by "mkfs.ext3). The solution is to mount the
image after its creeation and then, set the xattr.

Note that it seems that adding the xattr in the rootfs before creating
the image seems to be needed. Without this step the xattr are not set,
even after setting them with this solution. I don't know why...

(From meta-tizen rev: a4ec39e3beeafbbc6269a4cd918be4a04e9a8a26)

Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
meta-tizen/classes/image.bbclass
meta-tizen/lib/oe/smack.py