Compare commits
No commits in common. "e43479df2c49e650b4a210576e92ba46ae598930" and "28953511ef7a22767044073a28e0f35f92ae7d0f" have entirely different histories.
e43479df2c
...
28953511ef
@ -5,17 +5,10 @@ progname = init
|
|||||||
export exec_prefix = $(DESTDIR)
|
export exec_prefix = $(DESTDIR)
|
||||||
export sbin = 1
|
export sbin = 1
|
||||||
include hhl.script.mk
|
include hhl.script.mk
|
||||||
VPATH += bin
|
|
||||||
|
|
||||||
scripts += halt
|
|
||||||
scripts += poweroff
|
|
||||||
scripts += reboot
|
|
||||||
scripts += shutdown
|
|
||||||
scripts += telinit
|
|
||||||
|
|
||||||
sysctl_libdir = $(DESTDIR)/usr/lib/sysctl.d
|
sysctl_libdir = $(DESTDIR)/usr/lib/sysctl.d
|
||||||
|
|
||||||
install: $(sysctl_libdir)/50-default.conf install_conf install_scripts
|
install: $(sysctl_libdir)/50-default.conf install_conf
|
||||||
|
|
||||||
$(sysctl_libdir)/50-default.conf: data/50-default.conf | $(sysctl_libdir)
|
$(sysctl_libdir)/50-default.conf: data/50-default.conf | $(sysctl_libdir)
|
||||||
install -m644 $< $@
|
install -m644 $< $@
|
||||||
@ -23,11 +16,7 @@ $(sysctl_libdir)/50-default.conf: data/50-default.conf | $(sysctl_libdir)
|
|||||||
install_conf:
|
install_conf:
|
||||||
cp -R etc $(DESTDIR)
|
cp -R etc $(DESTDIR)
|
||||||
|
|
||||||
install_scripts: $(scripts)
|
|
||||||
for script in $(scripts) ; \
|
|
||||||
do install -m755 $$script $(DESTDIR)/bin
|
|
||||||
|
|
||||||
$(sysctl_libdir):
|
$(sysctl_libdir):
|
||||||
install -d $@
|
install -d $@
|
||||||
|
|
||||||
.PHONY: install_conf install_scripts
|
.PHONY: install_conf
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
#!/bin/execlineb -S0
|
|
||||||
|
|
||||||
s6-linux-init-hpr -h $@
|
|
@ -1,3 +0,0 @@
|
|||||||
#!/bin/execlineb -S0
|
|
||||||
|
|
||||||
s6-linux-init-hpr -p $@
|
|
@ -1,3 +0,0 @@
|
|||||||
#!/bin/execlineb -S0
|
|
||||||
|
|
||||||
s6-linux-init-hpr -r $@
|
|
@ -1,3 +0,0 @@
|
|||||||
#!/bin/execlineb -S0
|
|
||||||
|
|
||||||
s6-linux-init-shutdown $@
|
|
@ -1,3 +0,0 @@
|
|||||||
#!/bin/execlineb -S0
|
|
||||||
|
|
||||||
s6-linux-init-telinit $@
|
|
Loading…
Reference in New Issue
Block a user