Replaced php scripts for alternatives

Add kpatch C code for patch DSM kernel
Fix ramdisk-common-init-script (wrong merge)
This commit is contained in:
Fabio Belavenuto
2022-07-18 13:15:06 -03:00
parent 9edb1cfe0f
commit ff422707b7
12 changed files with 358 additions and 489 deletions

12
kpatch/Makefile Normal file
View File

@@ -0,0 +1,12 @@
CFLAGS = -Wall -pedantic
LDFLAGS =
LIBS = /lib/x86_64-linux-gnu/libelf.a /lib/x86_64-linux-gnu/libz.a
all: kpatch
kpatch: main.o
cc $(LDFLAGS) -o $@ $^ $(LIBS)
clean:
rm -f kpatch *.o