systemd: fix ordering for machineid and run-postinsts services
authorJonathan Liu <net147@gmail.com>
Thu, 16 May 2013 02:59:47 +0000 (12:59 +1000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 29 May 2013 21:07:52 +0000 (22:07 +0100)
commit888e57fa80a3f0ab27b2dd5919ac7d90f41c1a88
treeab7a3b3c50d716ea5119699a7351462767276a2f
parent699dd9a28c4d46299f32030f1f369aeb3e47a4ee
systemd: fix ordering for machineid and run-postinsts services

The remount-rootfs.service unit has been renamed to
systemd-remount-fs.service in systemd v183 and later.

The run-postinsts script writes to /var/log (a symbolic link to
/var/volatile/log), so systemd-tmpfiles-setup.service is added to After=
in run-postinsts.service to ensure /var/volatile/log is created before
running the script.

[YOCTO #4490]

(From OE-Core rev: 8b59ec4eb761d88445da94bb90aa2c5db0bbf365)

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/systemd/systemd-compat-units/machineid.service
meta/recipes-core/systemd/systemd-compat-units/run-postinsts.service