mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-05-01 07:50:23 +02:00
sysvinit: Update to 2.88.
Did not build with too old kernel headers.
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
bin/mountpoint
|
bin/mountpoint
|
||||||
bin/pidof
|
bin/pidof
|
||||||
#sbin/bootlogd
|
#sbin/bootlogd
|
||||||
|
#sbin/fstab-decode
|
||||||
sbin/halt
|
sbin/halt
|
||||||
sbin/init
|
sbin/init
|
||||||
sbin/killall5
|
sbin/killall5
|
||||||
@@ -20,10 +21,12 @@ usr/bin/wall
|
|||||||
#usr/share/man/man1/lastb.1
|
#usr/share/man/man1/lastb.1
|
||||||
#usr/share/man/man1/mesg.1
|
#usr/share/man/man1/mesg.1
|
||||||
#usr/share/man/man1/mountpoint.1
|
#usr/share/man/man1/mountpoint.1
|
||||||
|
#usr/share/man/man1/utmpdump.1
|
||||||
#usr/share/man/man1/wall.1
|
#usr/share/man/man1/wall.1
|
||||||
#usr/share/man/man5/initscript.5
|
#usr/share/man/man5/initscript.5
|
||||||
#usr/share/man/man5/inittab.5
|
#usr/share/man/man5/inittab.5
|
||||||
#usr/share/man/man8/bootlogd.8
|
#usr/share/man/man8/bootlogd.8
|
||||||
|
#usr/share/man/man8/fstab-decode.8
|
||||||
#usr/share/man/man8/halt.8
|
#usr/share/man/man8/halt.8
|
||||||
#usr/share/man/man8/init.8
|
#usr/share/man/man8/init.8
|
||||||
#usr/share/man/man8/killall5.8
|
#usr/share/man/man8/killall5.8
|
||||||
|
|||||||
11
lfs/sysvinit
11
lfs/sysvinit
@@ -24,10 +24,10 @@
|
|||||||
|
|
||||||
include Config
|
include Config
|
||||||
|
|
||||||
VER = 2.86
|
VER = 2.88dsf
|
||||||
|
|
||||||
THISAPP = sysvinit-$(VER)
|
THISAPP = sysvinit-$(VER)
|
||||||
DL_FILE = $(THISAPP).tar.gz
|
DL_FILE = $(THISAPP).tar.bz2
|
||||||
DL_FROM = $(URL_IPFIRE)
|
DL_FROM = $(URL_IPFIRE)
|
||||||
DIR_APP = $(DIR_SRC)/$(THISAPP)
|
DIR_APP = $(DIR_SRC)/$(THISAPP)
|
||||||
TARGET = $(DIR_INFO)/$(THISAPP)
|
TARGET = $(DIR_INFO)/$(THISAPP)
|
||||||
@@ -40,7 +40,7 @@ objects = $(DL_FILE)
|
|||||||
|
|
||||||
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
||||||
|
|
||||||
$(DL_FILE)_MD5 = 7d5d61c026122ab791ac04c8a84db967
|
$(DL_FILE)_MD5 = 6eda8a97b86e0a6f59dabbf25202aa6f
|
||||||
|
|
||||||
install : $(TARGET)
|
install : $(TARGET)
|
||||||
|
|
||||||
@@ -69,10 +69,7 @@ $(subst %,%_MD5,$(objects)) :
|
|||||||
|
|
||||||
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||||
@$(PREBUILD)
|
@$(PREBUILD)
|
||||||
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
|
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
|
||||||
cd $(DIR_APP) && cp src/init.c{,.backup}
|
|
||||||
cd $(DIR_APP) && sed -i 's@Sending processes@& started by init@g' \
|
|
||||||
src/init.c
|
|
||||||
cd $(DIR_APP) && make $(MAKETUNING) -C src
|
cd $(DIR_APP) && make $(MAKETUNING) -C src
|
||||||
cd $(DIR_APP) && make -C src install
|
cd $(DIR_APP) && make -C src install
|
||||||
@rm -rf $(DIR_APP)
|
@rm -rf $(DIR_APP)
|
||||||
|
|||||||
Reference in New Issue
Block a user