]> code.ossystems Code Review - openembedded-core.git/commit
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)
committerSaul Wold <sgw@linux.intel.com>
Tue, 28 May 2013 23:19:03 +0000 (08:19 +0900)
commit8b59ec4eb761d88445da94bb90aa2c5db0bbf365
tree954d7a379df4d2c48d83fdafa2878d46351db423
parent8f5bc47729edb8cb051d81e9ff1680cb8d2eca25
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]

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