There is a bunch of interesting stuff here:
https://www.mobileread.com/forums/showthread.php?t=240616
Arch Linux on Paperwhite2 -- chroot into a regular ARM distro and do stuff. Does require a lot of infrastructure, the other way is better for redistributable hacks.