summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/systemd
diff options
context:
space:
mode:
authorChristopher Larson <chris_larson@mentor.com>2015-11-10 22:34:01 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-11-25 08:08:10 +0000
commitcd1f2b451db03601f0464098950a895155794465 (patch)
tree3e19414db30d761355a996c9686ab77a66a68017 /meta/recipes-core/systemd
parent7ca8cd9b7a2fc23ac0679eb8bd4982e4449a226c (diff)
downloadpoky-cd1f2b451db03601f0464098950a895155794465.tar.gz
systemd: chown hwdb.bin to root:root for do_rootfs
This is created by qemu for the do_rootfs case, which bypasses pseudo, so we need to correct the ownership. This fixes a warning issued by rootfs_check_host_user_contaminated. (From OE-Core rev: 4ff6b8cadec10e17dbf884a873a227e29944f5d1) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/systemd')
-rw-r--r--meta/recipes-core/systemd/systemd_225.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-core/systemd/systemd_225.bb b/meta/recipes-core/systemd/systemd_225.bb
index ea964131fb..0e89d221a8 100644
--- a/meta/recipes-core/systemd/systemd_225.bb
+++ b/meta/recipes-core/systemd/systemd_225.bb
@@ -411,6 +411,7 @@ pkg_postinst_udev-hwdb () {
411 if test -n "$D"; then 411 if test -n "$D"; then
412 ${@qemu_run_binary(d, '$D', '${base_bindir}/udevadm')} hwdb --update \ 412 ${@qemu_run_binary(d, '$D', '${base_bindir}/udevadm')} hwdb --update \
413 --root $D 413 --root $D
414 chown root:root $D${sysconfdir}/udev/hwdb.bin
414 else 415 else
415 udevadm hwdb --update 416 udevadm hwdb --update
416 fi 417 fi