diff options
-rw-r--r-- | Makefile | 10 | ||||
-rw-r--r-- | initscripts.spec | 2 |
2 files changed, 4 insertions, 8 deletions
@@ -61,13 +61,9 @@ install: make install ROOT=$(ROOT) mandir=$(mandir) -C src make install PREFIX=$(ROOT) -C po - mkdir -p $(ROOT)/var/log - # do not touch /run if installing into a chroot - if -z "$(ROOT)"; then \ - mkdir -p /run/netreport; \ - chown $(SUPERUSER):$(SUPERGROUP) /run/netreport; \ - chmod u=rwx,g=rwx,o=rx /run/netreport; \ - fi + mkdir -p $(ROOT)/run/netreport $(ROOT)/var/log + chown $(SUPERUSER):$(SUPERGROUP) $(ROOT)/run/netreport + chmod u=rwx,g=rwx,o=rx $(ROOT)/run/netreport for i in 0 1 2 3 4 5 6 ; do \ dir=$(ROOT)/etc/rc.d/rc$$i.d; \ diff --git a/initscripts.spec b/initscripts.spec index 4082b365..926dea1c 100644 --- a/initscripts.spec +++ b/initscripts.spec @@ -156,7 +156,7 @@ fi %{_prefix}/lib/udev/rename_device %{_sbindir}/service %{_mandir}/man*/* -%dir %attr(775,root,root) /var/run/netreport +%dir %attr(775,root,root) /run/netreport %dir %{_sysconfdir}/NetworkManager %dir %{_sysconfdir}/NetworkManager/dispatcher.d %{_sysconfdir}/NetworkManager/dispatcher.d/00-netreport |