Add merge-kfmon.sh to handle including kfmon in patched KoboRoot.tgz

master
Jay Logan 2020-07-01 22:16:47 -05:00
parent 40cacaa40c
commit 6d96ba381c
3 changed files with 10 additions and 14 deletions

View File

@ -35,20 +35,6 @@ files:
# Anti-adware/malware hosts file
# https://github.com/StevenBlack/hosts
pkg/adblock-hosts/hosts.txt: etc/hosts
# Kute File Monitor
# https://github.com/NiLuJe/kfmon
#pkg/kfmon/etc/init.d/on-animator.sh: etc/init.d/on-animator.sh
#pkg/kfmon/etc/udev/rules.d/99-kfmon.rules: etc/udev/rules.d/99-kfmon.rules
#pkg/kfmon/usr/local/kfmon/CREDITS: usr/local/kfmon/CREDITS
#pkg/kfmon/usr/local/kfmon/LICENSE: usr/local/kfmon/LICENSE
#pkg/kfmon/usr/local/kfmon/README.md: usr/local/kfmon/README.md
#pkg/kfmon/usr/local/kfmon/bin/fbink: usr/local/kfmon/bin/fbink
#pkg/kfmon/usr/local/kfmon/bin/kfmon: usr/local/kfmon/bin/kfmon
#pkg/kfmon/usr/local/kfmon/bin/kfmon-ipc: usr/local/kfmon/bin/kfmon-ipc
#pkg/kfmon/usr/local/kfmon/bin/kfmon-update: usr/local/kfmon/bin/kfmon-update
#pkg/kfmon/usr/local/kfmon/bin/shim: usr/local/kfmon/bin/shim
#pkg/kfmon/usr/bin/kfmon-ipc: usr/bin/kfmon-ipc
# kobo-dotfile-hack
pkg/kobo-dotfile-hack-6f452d1/usr/local/geek1011/libhidedir_kobo.so: usr/local/geek1011/libhidedir_kobo.so

8
merge-kfmon.sh 100755
View File

@ -0,0 +1,8 @@
# taken from NiLuJe's autopatch.sh: http://trac.ak-team.com/trac/browser/niluje/Configs/trunk/Kindle/Kobo_Hacks/Patches/autopatch.sh
gunzip -c ../kfmon/Release/KoboRoot.tgz > KFMon.tar
gunzip -c out/KoboRoot.tgz > KoboPatch.tar
tar -Avf KFMon.tar KoboPatch.tar
gzip KFMon.tar
rm out/KoboRoot.tgz KoboPatch.tar
mv -v KFMon.tar.gz KoboRoot.tgz

View File

@ -5,3 +5,5 @@ copypatches.sh assumes that kobopatch-patches is cloned to a directory the same
KOBOVERSION=<version> ./copypatches.sh
Kobopatch must be placed in bin/
Many thanks to Patrick Gaskin, developer of kobopatch, whose own config I used as reference: https://github.com/geek1011/kobopatch-config