generic-poky/meta/recipes-support/attr
Peter Seebach 070ea45b6c acl.inc, run-ptest: improve ptest functionality on limited rootfs
ACL's ptest has a handful of failure modes which can be triggered by
a restrictive or small system. First, the ptest requires that daemon
be in the bin group, which run-ptest attempts to do using gpasswd,
but gpasswd is part of shadow, and oe-core removes shadow when it
doesn't think shadow will be needed. Even if, say, a package has
RDEPENDS on it. Whoops. So we manually sed the group file. This
will probably work.

Second, the filesystem used for the test has to support ACLs,
so we create a dummy ext3 filesystem and use that.

Third, the root/permissions test relies on the assumption that
"mkdir d" produces a directory which non-root users can access,
but in a secure product which defaults to umask 077, this doesn't
work. (That fix has been separately reported to upstream acl
through their bug report form.)

(This may prevent the test from running without mkfs.ext3, but it
allows the test to run on targets where root doesn't have ACL
support. Tradeoffs, tradeoffs everywhere.)

(From OE-Core rev: 0f1054e7db74bb4a196e00773915d7997b55bdf2)

Signed-off-by: Peter Seebach <peter.seebach@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-20 10:20:55 +01:00
..
acl acl.inc, run-ptest: improve ptest functionality on limited rootfs 2016-05-20 10:20:55 +01:00
files attr: Add patch to account for use of internal glibc header 2015-12-12 23:42:55 +00:00
acl.inc acl.inc, run-ptest: improve ptest functionality on limited rootfs 2016-05-20 10:20:55 +01:00
acl_2.2.52.bb acl: Update to 2.2.52 2013-12-09 18:01:44 +00:00
attr.inc attr: add attr dependency to attr-ptest 2015-12-12 23:42:54 +00:00
attr_2.4.47.bb attr: Remove redundant "+=" after "_append" 2016-04-29 07:58:45 +01:00
ea-acl.inc attr: narrow fix_symlink to populate_sysroot 2015-08-16 09:24:54 +01:00