]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
sanity: check for working user namespaces
authorRoss Burton <ross.burton@arm.com>
Thu, 12 Sep 2024 16:57:36 +0000 (17:57 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 13 Sep 2024 09:27:48 +0000 (10:27 +0100)
commitb6af956fe6e876957a49d4abf425e8c789bf0459
tree90378eeb9a330d582a921ccd592b8ff86643d3e2
parentaa492b1fd5973c37b8fa2cd17d28199eba46afcc
sanity: check for working user namespaces

If user namespaces are not available (typically because AppArmor is
blocking them), alert the user.

We consider network isolation sufficiently important that this is a fatal
error, and the user will need to configure AppArmor to allow bitbake to
create a user namespace.

[ YOCTO #15592 ]

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes-global/sanity.bbclass