View Single Post
Old 04-19-2020, 09:02 PM   #82
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: 10,582
Karma: 18345670
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW & PW2; Kobo H2O & Forma
@NotANormalNerd: Here goes nothing .

Should be unpacked in / (i.e., like a KoboRoot tarball).

Warning: it'll eat a 10MB chunk of space in the rootfs, because git is a multi-call binary, and we can't have symlinks in the userstore, and I really don't want thirty copies of git for each subcommand .
I tried a mixed approach, but it didn't quite work for everything, so, there.

It should be setup to expect terrible & crappy things (i.e., vfat, no symlinks, terrible fs performance, crappy libc, no iconv, ...), so it *should* behave mostly okay, given the terrible conditions it's going to run in.

Things I could salvage:

* Most of those terrible conditions as stated above, thanks to git's many wonderful compatibility knobs .
* Feeding it a real shell (ZSH)
* Feeding it a real editor (nano)

Things I couldn't salvage (non-exhaustive):

* Feeding it a real pager (nano -v "works", but doesn't actually allow paging in this context, for some reason, which kind of defeats the purpose). Meaning you end up with the default crappy/old busybox less, which doesn't quite understand what's happening to it, but sorta works.

EDIT: Meh, not the first time bb's less has annoyed me. Let's ship the real deal.

EDIT²: less & libpcre2 will move to the main package on next rebuild. Can't symlink less so as not to break stock symlinks, but the ZSH config will be updated to use it.

(Speaking of, in the meantime, unset PAGER (or fix it) to have a shiny less in git).

EDIT³: less & pager issues fixed in current rebuilds.
Attached Files
File Type: gz Kobo-git-2.28.0.tar.gz (7.67 MB, 0 views)

Last edited by NiLuJe; Yesterday at 11:39 PM. Reason: Updated to git 2.28.0
NiLuJe is offline   Reply With Quote