Just wanted to say thanks to those who answered my question in the original thread, you helped me a lot!
Quote:
Originally Posted by eschwartz
P.S. I took the liberty of adding [CODE][/CODE] tags for enhanced readability/copying of commands, including monospaced text. Hope you don't mind. 
|
Thanks! Couldn't find the appropriate tag..
Quote:
Originally Posted by knc1
The 'out of memory' problems could be avoided by creating a swap **file** in the user store and then enabling 'swap to file'.
(64Mb ... 128Mb should keep bzpatch happy)
Note: Many of the posts here about using swap create a file and then turn it into a device using losetup -
Which is not required, Linux swap can use the file itself (or a partition or a device or any mixture of the three).
|
That's a great idea. I thought about it too for a second but disregarded it because I did not have USBnet in place at that time and found it potentially dangerous thing to do in an update script.
If anyone knows how to create, append and enable a swapfile in Kindle's Linux, feel free to add it to my comment #1 as an option. I don't have the time to properly investigate it in weeks to come, although I may add it later myself.