mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-12-14 22:35:25 +01:00
corosync: Do not install the /var/log/cluster directory
/var/log is normally a link to /var/volatile/log and /var/volatile is a tmpfs mount. So anything created in /var/log will not be available when the tmpfs is mounted. /var/log/cluster will be created in runtime. This also drops the removal of the /var/run directory as it is no longer created in the first place. Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
b1ce7f5036
commit
a61358b511
|
|
@ -45,7 +45,8 @@ do_install:append() {
|
|||
install -m 0644 ${S}/init/corosync.sysconfig.example ${D}${sysconfdir}/sysconfig/corosync
|
||||
install -m 0644 ${S}/tools/corosync-notifyd.sysconfig.example ${D}${sysconfdir}/sysconfig/corosync-notifyd
|
||||
|
||||
rm -rf "${D}${localstatedir}/run"
|
||||
rmdir ${D}${localstatedir}/log/cluster ${D}${localstatedir}/log
|
||||
rmdir --ignore-fail-on-non-empty ${D}${localstatedir}
|
||||
|
||||
install -d ${D}${sysconfdir}/default/volatiles
|
||||
echo "d root root 0755 ${localstatedir}/log/cluster none" > ${D}${sysconfdir}/default/volatiles/05_corosync
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user