View Single Post
Old 09-20-2022, 04:44 PM   #24
ratinox
Guru
ratinox ought to be getting tired of karma fortunes by now.ratinox ought to be getting tired of karma fortunes by now.ratinox ought to be getting tired of karma fortunes by now.ratinox ought to be getting tired of karma fortunes by now.ratinox ought to be getting tired of karma fortunes by now.ratinox ought to be getting tired of karma fortunes by now.ratinox ought to be getting tired of karma fortunes by now.ratinox ought to be getting tired of karma fortunes by now.ratinox ought to be getting tired of karma fortunes by now.ratinox ought to be getting tired of karma fortunes by now.ratinox ought to be getting tired of karma fortunes by now.
 
Posts: 834
Karma: 11223344
Join Date: Oct 2016
Location: Somewhere in Time
Device: Forma, iPad Mini
Quote:
Originally Posted by PeterT View Post
@ratinox Since the installer is a shell script, why not just download it and alter it so that if the host is WSL 1 use the command to strip the section from the library.

If you do this then any future installs you do would function.


Sent from my Pixel 4a using Tapatalk
The installer isn't just a shell script. It's a lot of Python code wrapped up in a little bit of Bourne shell that extracts and executes the Python code. The strip command needs to be in that nested Python after the tarball is extracted but before it calls calibre_postinstall.

The clever trick is figuring out exactly where to stuff the strip command and inserting it into the wget stream. This, I think, will patch the bugged library without mucking with the digital signatures and let the rest of the installation process work as designed.
ratinox is offline   Reply With Quote