]> code.ossystems Code Review - openembedded-core.git/commit
systemd: pass --root in prerm if running on host
authorRoss Burton <ross.burton@intel.com>
Wed, 18 Dec 2013 16:20:06 +0000 (16:20 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 18 Dec 2013 17:06:58 +0000 (17:06 +0000)
commitd01da862d10d9544f8da846b577cf955041d4c0c
tree5b1f338b8ba6182e37fda4f2df133c3998079d8f
parent0289a1c325eea881ce3d68def5262f9e763d4fd2
systemd: pass --root in prerm if running on host

If a systemd image is built without a package manager then packages will be
removed from an image during rootfs generation, but without passing --root the
systemctl will look on the *host* system.

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