03-25-2021, 10:14 PM | #183 | |
Evangelist
Posts: 479
Karma: 2390534
Join Date: Jun 2020
Location: Somewhere in the Universe
Device: Kobo Libra, Glo HD, Touch C/B, Mini, Glo, Aura SE, Clara HD, KT
|
Quote:
So if I'm right, I should edit /etc/inittab with the loop0 thing (do you have an example? I remember having seen that some weeks ago, but I don't really remember what was there) so that it can execute the update script even after an upgrade. Do you do some sort of "signing" in your packages? That could help the script decide if it has to update KFMon or not. Thanks |
|
03-25-2021, 11:00 PM | #184 | ||
BLAM!
Posts: 13,495
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Quote:
The loop0 thing relies on custom udev rules instead to avoid that. (c.f., https://www.mobileread.com/forums/sh...p0#post4092742). Quote:
Keep in mind that the OCP ships a rolling release build, so expect getting a git-describe version scheme (e.g., KFMon v1.4.3-18-g1b586a5). If that helps, remind me to push said build during the OCP upload, that way you have a chance to actually download binaries without jumping through extra hoops . EDIT: Done. It's listed in the HTML index, and I added a JSON manifest like the KoboStuff packages. Last edited by NiLuJe; 03-25-2021 at 11:45 PM. |
||
03-26-2021, 07:37 AM | #185 | |
Evangelist
Posts: 479
Karma: 2390534
Join Date: Jun 2020
Location: Somewhere in the Universe
Device: Kobo Libra, Glo HD, Touch C/B, Mini, Glo, Aura SE, Clara HD, KT
|
Quote:
I'll start looking into that this afternoon after school |
|
Advert | |
|
03-27-2021, 09:04 AM | #186 | |
Evangelist
Posts: 479
Karma: 2390534
Join Date: Jun 2020
Location: Somewhere in the Universe
Device: Kobo Libra, Glo HD, Touch C/B, Mini, Glo, Aura SE, Clara HD, KT
|
Quote:
|
|
03-27-2021, 11:12 AM | #187 |
BLAM!
Posts: 13,495
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
You *really*, *really* don't want to do that either .
|
03-27-2021, 11:30 AM | #188 |
Evangelist
Posts: 479
Karma: 2390534
Join Date: Jun 2020
Location: Somewhere in the Universe
Device: Kobo Libra, Glo HD, Touch C/B, Mini, Glo, Aura SE, Clara HD, KT
|
|
03-27-2021, 11:33 AM | #189 |
BLAM!
Posts: 13,495
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
More than a few reasons:
* Not surviving updates is not a bug, it's a feature: we have no guarantee that a change in Nickel's behavior won't break KFMon in subtle or not-so-subtle ways, and, in the worst case, that could lead to a boot loop or a soft lock. * You have no guarantee that the old script could even allow the updated system to boot sanely. * You have no guarantee that the update process will handle a permission error sanely . |
03-27-2021, 11:56 AM | #190 | |
Evangelist
Posts: 479
Karma: 2390534
Join Date: Jun 2020
Location: Somewhere in the Universe
Device: Kobo Libra, Glo HD, Touch C/B, Mini, Glo, Aura SE, Clara HD, KT
|
Quote:
Thanks |
|
04-21-2021, 12:21 PM | #191 |
Connoisseur
Posts: 73
Karma: 513524
Join Date: Dec 2019
Device: none
|
I get 'generator error' message on touching the NickelMenu icon on my Libra H2O. How do I resolve this please?
|
04-22-2021, 12:45 PM | #192 |
BLAM!
Posts: 13,495
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@steveparry: Simply by reinstalling KFMon.
|
09-01-2021, 09:10 AM | #194 |
Junior Member
Posts: 6
Karma: 10
Join Date: Jul 2021
Device: Tolino Vision 4 HD && Kobo Aura H2O Edition 2
|
I'm just using KFMon for a while now but only now I wonder how it works.
Apparently some code was embedded in kfmon.png file. But how? Is the code binary or lua script or something else? |
09-01-2021, 04:51 PM | #195 |
BLAM!
Posts: 13,495
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@thaiphd: Nope, just an inotify watch on the file, because Nickel effectively open()'s the file when you "open" the book, and PNG files are indeed handled as books by Nickel.
The config files mapping a PNG to an action do the rest. |
Tags |
fmon, kfmon, kobo, launcher |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Help converting file from HTML>EPub. File is divided in several pages I want to merge | leito360 | Conversion | 6 | 02-19-2016 12:31 PM |
table of content file link not add in toc.ncx file | bhambhu | Conversion | 0 | 01-14-2016 01:40 AM |
FILE. Program to identify a file's format by scanning binary data for known patterns. | twobob | Kindle Developer's Corner | 3 | 05-13-2013 12:59 PM |
AZW2 based launcher for K3 | jmseight | Kindle Developer's Corner | 4 | 04-02-2012 07:53 AM |
Opus Updating EPUB file won't change publisher data on file listing | spaze | Bookeen | 1 | 03-08-2011 01:34 AM |