mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-04-02 02:49:12 +00:00
atop: Do not install the /var/log/atop 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/atop will be created in runtime. Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
5330b95a64
commit
5c1cea8f8e
@ -42,6 +42,10 @@ do_install() {
|
||||
rm -f ${D}${sysconfdir}/init.d/atopacct
|
||||
fi
|
||||
|
||||
# /var/log/atop will be created in runtime
|
||||
rm -rf ${D}${localstatedir}/log
|
||||
rmdir --ignore-fail-on-non-empty ${D}${localstatedir}
|
||||
|
||||
# remove atopacct related files
|
||||
rm -rf ${D}${sbindir} ${D}${mandir}/man8
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user