Quantcast
Channel: MobileRead Forums - Kobo Developer's Corner
Viewing all articles
Browse latest Browse all 1561

Kobo Installer

$
0
0
I created a simple tool to install patches for Kobo. I get this idea from yoq.

Advantages:
  1. You don't risk to overwrite new firmware code with old code
  2. You don't risk to overwrite patches of other people
  3. Patches survive after firmware update (but not resets)

My DB autobackup tool uses this installer and it works like a charme.

If you want to use it for you patch, you've simply to:
  1. merge the content of this package with the source code of your project
  2. rename etc/udev/rules.d/96-PROGNAME-installer.rules
  3. edit it and change accordingly "/root/PROGNAME-install.sh"
  4. rename also /root/PROGNAME-install.sh accordingly
  5. edit it. You can find some example lines with "kobo-patch". You can remove them and add your "kobo-patch" commands. kobo-patch usage is very simple, try to run it via SSH and see the usage help.

Currently kobo-patch can only append code at the end of file, or replace the text with another text. It uses sed with extended regular expression syntax. It can't replace more than a line for the moment.

Attached Files
File Type: zip kobo-installer-v1.0.zip (3.6 KB)

Viewing all articles
Browse latest Browse all 1561

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>