mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 11:13:24 +02:00
sysvinit: Update to 2.88.
Did not build with too old kernel headers.
This commit is contained in:
11
lfs/sysvinit
11
lfs/sysvinit
@@ -24,10 +24,10 @@
|
||||
|
||||
include Config
|
||||
|
||||
VER = 2.86
|
||||
VER = 2.88dsf
|
||||
|
||||
THISAPP = sysvinit-$(VER)
|
||||
DL_FILE = $(THISAPP).tar.gz
|
||||
DL_FILE = $(THISAPP).tar.bz2
|
||||
DL_FROM = $(URL_IPFIRE)
|
||||
DIR_APP = $(DIR_SRC)/$(THISAPP)
|
||||
TARGET = $(DIR_INFO)/$(THISAPP)
|
||||
@@ -40,7 +40,7 @@ objects = $(DL_FILE)
|
||||
|
||||
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
||||
|
||||
$(DL_FILE)_MD5 = 7d5d61c026122ab791ac04c8a84db967
|
||||
$(DL_FILE)_MD5 = 6eda8a97b86e0a6f59dabbf25202aa6f
|
||||
|
||||
install : $(TARGET)
|
||||
|
||||
@@ -69,10 +69,7 @@ $(subst %,%_MD5,$(objects)) :
|
||||
|
||||
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
@$(PREBUILD)
|
||||
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(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
|
||||
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
|
||||
cd $(DIR_APP) && make $(MAKETUNING) -C src
|
||||
cd $(DIR_APP) && make -C src install
|
||||
@rm -rf $(DIR_APP)
|
||||
|
||||
Reference in New Issue
Block a user