The following changes were made:
* Added default sysctl.conf * Added usher to manage sysctl.conf * Added /etc/sysctl.d
This commit is contained in:
7
Makefile
7
Makefile
@@ -14,7 +14,7 @@ URL = https://gitlab.com/procps-ng/procps
|
||||
BRIEF = Utilities providing process information
|
||||
DESC = procps is a set of command line and full-screen utilities that provide \
|
||||
information out of the pseudo-filesystem most commonly located at /proc
|
||||
SNAPVER = 2
|
||||
SNAPVER = 3
|
||||
|
||||
ARCHIVE := $(PWD)/SRC/$(shell ls SRC|egrep '(bz2|gz|tar|xz)$$'|tail -1)
|
||||
TYPE := $(shell file -ib $(ARCHIVE)|cut -d';' -f1|tr -d '\n')
|
||||
@@ -65,11 +65,16 @@ $(ROOT): $(SRCDIR)/watch
|
||||
fi
|
||||
|
||||
@cd $(SRCDIR) && make install DESTDIR=$(ROOT) && \
|
||||
install -d -v -m 755 $(ROOT)/etc/sysctl.d && \
|
||||
install -d -v -m 755 $(ROOT)/lib && \
|
||||
mv -v $(ROOT)/usr/lib/libprocps.so.* $(ROOT)/lib && \
|
||||
ln -sfv ../../lib/$$(readlink $(ROOT)/usr/lib/libprocps.so) \
|
||||
$(ROOT)/usr/lib/libprocps.so
|
||||
|
||||
@install -d -v -m 755 $(ROOT)/usr/share/procps-ng && \
|
||||
install -v -m 644 $(PWD)/SNAP/sysctl.conf \
|
||||
$(ROOT)/usr/share/procps-ng/sysctl.conf
|
||||
|
||||
test: $(ROOT)
|
||||
@cd $(SRCDIR); \
|
||||
make check
|
||||
|
||||
Reference in New Issue
Block a user