From 5b8fdba2067260bf90ea6ca34141cf522d1088c9 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Wed, 20 Dec 2017 22:59:05 +0100 Subject: [PATCH] Install sysctl.conf as expected by systemd in /usr/lib/sysctl.d and rename to 40-openmamba.conf --- Makefile | 2 +- etc/sysctl.conf => usr/lib/sysctl.d/40-openmamba.conf | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename etc/sysctl.conf => usr/lib/sysctl.d/40-openmamba.conf (100%) diff --git a/Makefile b/Makefile index 0f14de3..52c97b9 100644 --- a/Makefile +++ b/Makefile @@ -67,7 +67,7 @@ install-dirs: install-files: touch $(DESTDIR)$(localstatedir)/run/utmp touch $(DESTDIR)$(localstatedir)/log/{btmp,lastlog,wtmp} - cp -a etc lib var $(DESTDIR) + cp -a etc lib var usr $(DESTDIR) $(INSTALL_SCRIPT) sbin/* $(DESTDIR)/sbin for i in `seq 0 6`; do\ ln -sf rc.d/rc$$i.d/ $(DESTDIR)$(sysconfdir)/rc$$i.d;\ diff --git a/etc/sysctl.conf b/usr/lib/sysctl.d/40-openmamba.conf similarity index 100% rename from etc/sysctl.conf rename to usr/lib/sysctl.d/40-openmamba.conf