mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-02 13:59:59 +00:00
iptraf-ng: Create /var/log and /var/lib subdirs at runtime
This ensures that /var can be empty during build and populated only at runtime Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -1 +1,3 @@
|
||||
d /run/iptraf-ng 0755 root root -
|
||||
d /var/log/iptraf-ng 0755 root root -
|
||||
d /var/lib/iptraf-ng 0755 root root -
|
||||
|
||||
@@ -41,7 +41,6 @@ do_compile() {
|
||||
|
||||
do_install() {
|
||||
oe_runmake DESTDIR=${D} install
|
||||
install -d -m 0755 ${D}${localstatedir}/{log,lib}/iptraf-ng
|
||||
install -D -m 0644 -p ${S}/iptraf-ng-logrotate.conf ${D}${sysconfdir}/logrotate.d/iptraf-ng
|
||||
install -Dm 0644 ${WORKDIR}/iptraf-ng-tmpfiles.conf ${D}${libdir}/tmpfiles.d/iptraf-ng-tmpfiles.conf
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user