Compare commits
5 Commits
v2.88dsf-6
...
v2.88dsf-1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1d78033ebe | ||
|
|
c3b800bc9c | ||
|
|
69a8473bec | ||
|
|
f0c072202c | ||
|
|
7ec9cd6634 |
10
Makefile
10
Makefile
@@ -11,10 +11,11 @@
|
|||||||
DEPENDS = glibc
|
DEPENDS = glibc
|
||||||
ARCH = x86_64
|
ARCH = x86_64
|
||||||
URL = https://savannah.nongnu.org/projects/sysvinit
|
URL = https://savannah.nongnu.org/projects/sysvinit
|
||||||
|
REPO = core
|
||||||
BRIEF = System that manages boot and shutdown
|
BRIEF = System that manages boot and shutdown
|
||||||
DESC = System V style init programs original written by Miquel van Smoorenburg \
|
DESC = System V style init programs original written by Miquel van Smoorenburg \
|
||||||
that control the booting and shutdown of your system
|
that control the booting and shutdown of your system
|
||||||
SNAPVER = 6
|
SNAPVER = 11
|
||||||
|
|
||||||
ARCHIVE := $(PWD)/SRC/$(shell ls SRC|egrep '(bz2|gz|tar|xz)$$'|tail -1)
|
ARCHIVE := $(PWD)/SRC/$(shell ls SRC|egrep '(bz2|gz|tar|xz)$$'|tail -1)
|
||||||
TYPE := $(shell file -ib $(ARCHIVE)|cut -d';' -f1|tr -d '\n')
|
TYPE := $(shell file -ib $(ARCHIVE)|cut -d';' -f1|tr -d '\n')
|
||||||
@@ -54,8 +55,13 @@ $(ROOT): $(SRCDIR)/src/init
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
@cd $(SRCDIR) && make -C src install ROOT=$(ROOT) && \
|
@cd $(SRCDIR) && make -C src install ROOT=$(ROOT) && \
|
||||||
|
for char in S 0 1 2 3 4 5 6; do \
|
||||||
|
install -v -d -m 755 $(ROOT)/etc/rc$$char.d; \
|
||||||
|
done && \
|
||||||
|
install -v -d -m 755 $(ROOT)/etc/init.d && \
|
||||||
install -v -d -m 755 $(ROOT)/usr/share/sysvinit && \
|
install -v -d -m 755 $(ROOT)/usr/share/sysvinit && \
|
||||||
install -v -m 644 $(SNAPDIR)/inittab $(ROOT)/usr/share/sysvinit
|
install -v -d -m 755 $(ROOT)/bin && \
|
||||||
|
ln -sv ../sbin/killall5 $(ROOT)/bin/pidof
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
@rm -rvf $(ROOT) \
|
@rm -rvf $(ROOT) \
|
||||||
|
|||||||
23
SNAP/usher
23
SNAP/usher
@@ -1,23 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
case $1 in
|
|
||||||
preinst)
|
|
||||||
exit 0
|
|
||||||
;;
|
|
||||||
postinst)
|
|
||||||
install -d -m 755 ${TARGET}/etc/init.d
|
|
||||||
install -d -m 755 ${TARGET}/etc/rc{[0-6],S}.d
|
|
||||||
|
|
||||||
if [ ! -f ${TARGET}/etc/inittab ]; then
|
|
||||||
install -m 644 /usr/share/sysvinit/inittab /etc/inittab
|
|
||||||
fi
|
|
||||||
;;
|
|
||||||
prerm)
|
|
||||||
exit 0
|
|
||||||
;;
|
|
||||||
postrm)
|
|
||||||
exit 0
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
Reference in New Issue
Block a user