Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader > Kobo Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 12-13-2020, 07:45 PM   #181
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 11,648
Karma: 20483323
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW & PW2; Kobo H2O & Forma
Released v1.4.3!

Once again a completely boring maintenance release .
NiLuJe is offline   Reply With Quote
Old 03-25-2021, 08:10 PM   #182
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 11,648
Karma: 20483323
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW & PW2; Kobo H2O & Forma
Released v1.4.4!

Boring maintenance release is boring .
NiLuJe is offline   Reply With Quote
Old 03-25-2021, 10:14 PM   #183
NiMa
Addict
NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.
 
NiMa's Avatar
 
Posts: 390
Karma: 2274742
Join Date: Jun 2020
Location: Somewhere in the Universe
Device: Kobo Libra, Glo HD, Aura, Touch N905C, Mini, Kindle PW3
Quote:
Originally Posted by NiLuJe View Post
Released v1.4.4!

Boring maintenance release is boring .
I'll probably start working in an auto-update script for KFMon in the coming days, to avoid the need to reinstall it each time after an upgrade.
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
NiMa is offline   Reply With Quote
Old 03-25-2021, 11:00 PM   #184
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 11,648
Karma: 20483323
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW & PW2; Kobo H2O & Forma
Quote:
Originally Posted by NiMa View Post
So if I'm right, I should edit /etc/inittab with the loop0 thing (do you have an example?
You should most definitely *not* do that, as the inittab may be overwritten by a FW update .

The loop0 thing relies on custom udev rules instead to avoid that. (c.f., https://www.mobileread.com/forums/sh...p0#post4092742).

Quote:
Originally Posted by NiMa View Post
Do you do some sort of "signing" in your packages? That could help the script decide if it has to update KFMon or not.
Not really. Assuming KFMon is up, you can query the current version via echo "version" | kfmon-ipc 2>/dev/null.
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.
NiLuJe is offline   Reply With Quote
Old 03-26-2021, 07:37 AM   #185
NiMa
Addict
NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.
 
NiMa's Avatar
 
Posts: 390
Karma: 2274742
Join Date: Jun 2020
Location: Somewhere in the Universe
Device: Kobo Libra, Glo HD, Aura, Touch N905C, Mini, Kindle PW3
Quote:
Originally Posted by NiLuJe View Post
You should most definitely *not* do that, as the inittab may be overwritten by a FW update .

The loop0 thing relies on custom udev rules instead to avoid that. (c.f., https://www.mobileread.com/forums/sh...p0#post4092742).



Not really. Assuming KFMon is up, you can query the current version via echo "version" | kfmon-ipc 2>/dev/null.
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.
Ok thanks!!
I'll start looking into that this afternoon after school
NiMa is offline   Reply With Quote
Old 03-27-2021, 09:04 AM   #186
NiMa
Addict
NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.
 
NiMa's Avatar
 
Posts: 390
Karma: 2274742
Join Date: Jun 2020
Location: Somewhere in the Universe
Device: Kobo Libra, Glo HD, Aura, Touch N905C, Mini, Kindle PW3
Quote:
Originally Posted by NiLuJe View Post
You should most definitely *not* do that, as the inittab may be overwritten by a FW update .

The loop0 thing relies on custom udev rules instead to avoid that. (c.f., https://www.mobileread.com/forums/sh...p0#post4092742).



Not really. Assuming KFMon is up, you can query the current version via echo "version" | kfmon-ipc 2>/dev/null.
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.
Thinking of the rcS... could we just not chattr +i on it? Of course, setup something that would update it if there's really something added.
NiMa is offline   Reply With Quote
Old 03-27-2021, 11:12 AM   #187
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 11,648
Karma: 20483323
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW & PW2; Kobo H2O & Forma
You *really*, *really* don't want to do that either .
NiLuJe is offline   Reply With Quote
Old 03-27-2021, 11:30 AM   #188
NiMa
Addict
NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.
 
NiMa's Avatar
 
Posts: 390
Karma: 2274742
Join Date: Jun 2020
Location: Somewhere in the Universe
Device: Kobo Libra, Glo HD, Aura, Touch N905C, Mini, Kindle PW3
Quote:
Originally Posted by NiLuJe View Post
You *really*, *really* don't want to do that either .
Ok then. May I ask why?
I'm going to go the udev route them
NiMa is offline   Reply With Quote
Old 03-27-2021, 11:33 AM   #189
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 11,648
Karma: 20483323
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW & PW2; Kobo H2O & Forma
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 .
NiLuJe is offline   Reply With Quote
Old 03-27-2021, 11:56 AM   #190
NiMa
Addict
NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.
 
NiMa's Avatar
 
Posts: 390
Karma: 2274742
Join Date: Jun 2020
Location: Somewhere in the Universe
Device: Kobo Libra, Glo HD, Aura, Touch N905C, Mini, Kindle PW3
Quote:
Originally Posted by NiLuJe View Post
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 .
Hmm yeah. I was fearing that tar would abort if it didn't succeed in overwriting the file.
Thanks
NiMa is offline   Reply With Quote
Old 04-21-2021, 12:21 PM   #191
steveparry
Enthusiast
steveparry ought to be getting tired of karma fortunes by now.steveparry ought to be getting tired of karma fortunes by now.steveparry ought to be getting tired of karma fortunes by now.steveparry ought to be getting tired of karma fortunes by now.steveparry ought to be getting tired of karma fortunes by now.steveparry ought to be getting tired of karma fortunes by now.steveparry ought to be getting tired of karma fortunes by now.steveparry ought to be getting tired of karma fortunes by now.steveparry ought to be getting tired of karma fortunes by now.steveparry ought to be getting tired of karma fortunes by now.steveparry ought to be getting tired of karma fortunes by now.
 
Posts: 41
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?
steveparry is offline   Reply With Quote
Old 04-22-2021, 12:45 PM   #192
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 11,648
Karma: 20483323
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW & PW2; Kobo H2O & Forma
@steveparry: Simply by reinstalling KFMon.
NiLuJe is offline   Reply With Quote
Reply

Tags
fmon, kfmon, kobo, launcher

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

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


All times are GMT -4. The time now is 03:27 PM.


MobileRead.com is a privately owned, operated and funded community.