View Single Post
Old 02-14-2013, 06:38 AM   #11
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by dsmid View Post
Here are some confirmed facts:
  • initramfs updater looks only for lowercase update file names - "update*.bin"
  • OTOH rootfs updater is case insensitive when it comes to update file names (that's why full updates begin with lowercase 'u' while incremental updates begin with uppercase 'U')
  • initramfs updater silently fails if there are two or more "update*.bin" files and deletes all but the first one in ASCII order
  • rootfs updater (the framework part to be more precise) deletes all but the last one in ASCII order and then happily installs the leftover
I'll utilize these facts in version 2 of this hack.
Super!
Sounds much more complete.
Are you going to give this on/off updater thing KUAL buttons?

Although I haven't written it up anywhere specifically, I did post the complete sequence for adding one new button to the KUAL 'Helpers' menu:

Start here, first post:
https://www.mobileread.com/forums/sho...d.php?t=205610
That is one of the existing buttons.

Then in post #3 :
https://www.mobileread.com/forums/sho...98&postcount=3
The changes needed in words, and an attachment of the files in #1 after the changes.

At that point, I started by adding the "helper2" code to the kBBB repo -
http://hg.minimodding.com/repos/sys/...97cdb3/helper2
Which tracks all the changes from the post #3 attachment to the working DateTime button.

To summarize - just a few small edits to the control files + a new script to perform the function you want to add.

Last edited by knc1; 02-14-2013 at 06:50 AM.
knc1 is offline   Reply With Quote