View Single Post
Old 05-18-2020, 04:59 PM   #91
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: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
Latest update includes some more minor shell QoL tweaks, and some more busybox tweaks (like, working modutils! modprobe with automagic dependency resolution, yay!).

Python 2 is EoL, so the default python symlink now points to Python 3.

perf & co is now bundled. It requires (among other things) perf events in the kernel, though, so it's probably Mk.6+ only (I can confirm that it won't work on Mk.5, but is probably okay on Mk. 7).

----

Most importantly, it changes how Python is shipped: instead of the insanity of bundling *two* full Python builds in every KoboRoot tarball, what's available in the first post now only bundles the core shell stuff.
So, how do you install Python, now?

A new OTA update script has been added: update-kobostuff
It'll check for updates and properly (i.e., it finally handles pre- and post- install cleanup) install the latest version of the core stuff, the python 3 build, or the python 2 build.

The README has a new section with more details about it, but, basically: it's much more convenient, it's a lot faster (zstd instead of gzip), it doesn't require a reboot or even an USBMS session, and it saves a bunch of precious write cycles, as the compressed data never actually makes it to disk (it's a curl -> zstd -> tar pipeline).
And, you no longer get force-fed 300MB of Python down your throat if you couldn't care less about Python, which makes the initial install that much more pleasant.

As far as this is concerned, you basically never have to deal with a KoboRoot tarball ever again, as using the script to update the core shell stuff will also be much faster, and it'll only update if there's actually an update available.

(TL;DR: All hail our evil overlord Facebook for coming up with zstandard, because zlib is the absolute pits).

Last edited by NiLuJe; 05-18-2020 at 05:17 PM.
NiLuJe is offline   Reply With Quote