11-27-2014, 09:54 AM | #16 |
BLAM!
Posts: 13,497
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@Ruskie_it: Not without tweaking MRPI itself, no.
That said, if you're thinking of a specific dependency chain that isn't already respected by the script, I'm all ears. Which reminds me, note to self: rp -> crp. |
11-27-2014, 10:09 AM | #17 |
Fanatic
Posts: 538
Karma: 1000000
Join Date: Dec 2011
Location: Rome, Italy
Device: Kindle PW5, Kindle PW4, Kindle 4 NT
|
Well, I was thinking to the dependency python --> ss hack - which when I read is not mandatory 'cause first time it would have just been slower I verified to be respected on its own - but I didn't see mentioned that the installer is smart enough to recognize dependencies.
Which by the way I don't know how is possible, but you're the smart guy around here, not me! (cp crp ??) |
Advert | |
|
11-27-2014, 10:13 AM | #18 | |
BLAM!
Posts: 13,497
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@Ruskie_it: Then you don't have to worry about anything, that specific (python) dependency chain is handled properly .
Quote:
(Notice the "note to self"?, that, by design, implies that there's a good chance it won't make much sense to anyone but me ;p. FWIW: Rescue Pack -> Coward's Rescue Pack). |
|
11-27-2014, 10:19 AM | #19 | ||
Fanatic
Posts: 538
Karma: 1000000
Join Date: Dec 2011
Location: Rome, Italy
Device: Kindle PW5, Kindle PW4, Kindle 4 NT
|
Quote:
Quote:
|
||
11-27-2014, 10:23 AM | #20 |
BLAM!
Posts: 13,497
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@Ruskie_it: You're completely right that the 'low-level' stuff hardly applies to Python here, bad wording on my part .
|
Advert | |
|
11-27-2014, 10:56 AM | #21 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
Linux uses ELF libraries, and ELF libraries can be wherever the dynamic loader is told to look for them. For an extreme example, see my "Hard Float on Kindle" thread - Where the Amazon system libraries (in the normal system image places) and an additional set of HardFloat system libraries (in 'user storage') are run concurrently. |
|
11-27-2014, 11:01 AM | #22 | |
Fanatic
Posts: 538
Karma: 1000000
Join Date: Dec 2011
Location: Rome, Italy
Device: Kindle PW5, Kindle PW4, Kindle 4 NT
|
Quote:
Anyway, I didn't mean it wasn't technically possible (btw isn't like that with Windows too? Never programmed low level stuff in Win): I just meant it in the "neat stuff way of doing things" sense: if it's something low-level, keep it where the user does not have access / protected areas, and this more or less also applies to *nix afaik... |
|
11-27-2014, 11:04 AM | #23 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
I was mislead / misunderstood the background to your question.
Windows applications can (and often do) ship *.dll files that are installed in the application directory. Their default dynamic loader search, searches the application directory first. (Windows doesn't have a for-real sense of a 'set of reserved, system library tree' directories like *nix does.) |
11-27-2014, 11:45 AM | #24 |
Ex-Helpdesk Junkie
Posts: 19,421
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
|
11-27-2014, 11:54 AM | #25 |
SQUIRREL!!
Posts: 1,636
Karma: 8400000
Join Date: Nov 2010
Location: California
Device: K-Fire, PW2, PW3
|
|
11-27-2014, 12:10 PM | #26 |
Ex-Helpdesk Junkie
Posts: 19,421
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
|
11-27-2014, 12:49 PM | #27 | ||
Fanatic
Posts: 538
Karma: 1000000
Join Date: Dec 2011
Location: Rome, Italy
Device: Kindle PW5, Kindle PW4, Kindle 4 NT
|
Quote:
Quote:
GrrrrRRrrr... I wanna go back to just read on that thing! |
||
11-27-2014, 02:52 PM | #28 |
Ex-Helpdesk Junkie
Posts: 19,421
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Well, the latest JB now protects itself from being locked out, and includes a working "su" which KUAL scripts can rely on to escape the user "framework". Also, if you drop a script named emergency.sh into the root of the Kindle Drive it will be run, as root.
So fw5.6.1 no longer goes nuclear on our hacks. That being said, it is not unreasonable to think some/all hacks need tweaking to run properly -- but they can now be installed. We need more guinea pigs. At least nothing catastrophic should happen to these ones. (Sorry, @pghaworth, for your now-less-than-completely-useful PW2. But it was for a noble cause. ) |
11-27-2014, 04:10 PM | #29 | |
Fanatic
Posts: 538
Karma: 1000000
Join Date: Dec 2011
Location: Rome, Italy
Device: Kindle PW5, Kindle PW4, Kindle 4 NT
|
Quote:
And... I know you're trying to lead me into upgrade, but I'll still wait a while I think. :P |
|
11-27-2014, 05:27 PM | #30 |
BLAM!
Posts: 13,497
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@GoSharks: You get extra points for that Serenity quote ^^.
Actually, we got @pghaworth's PW2 back up & running, because I'm sneaky like that . (It's on that same device that the multiple WIP iterations were run and tested ). No I'm just trying to figure out why the same trick hasn't completely taken on @GoShark's device... ^^. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ISSUE: There is a problem with this Windows Installer package | Eggplantus | Calibre | 5 | 04-14-2013 10:40 AM |
0.8.4 new installer too slow | JSWolf | Calibre | 6 | 06-04-2011 12:29 PM |
Changes to Installer??? | kgn | Calibre | 29 | 01-23-2011 11:40 AM |
Invalid Windows Installer Package (7.4) | Sydney's Mom | Calibre | 4 | 01-15-2011 02:28 PM |
iLiad So ... any chance for an installer-package for FBReader 10? | X. Trapnel | iRex Developer's Corner | 3 | 06-04-2009 09:32 PM |