Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Enable swap file support (#574) #585
This implements swap file support (as discussed in #574), and also removes swap partition settings from the N900.
New deviceinfo variable
If the config file doesn't exist, then the service defaults looks to
PR configures the
If a user wants to reconfigure the swap size while pmos is booted, they just have to edit the config file and to
Also, as discussed previously, "encrypted swap" comes for "free" since this file exists on the rootfs, which would presumably be encrypted (assuming no
Here is my first iteration of reviewing it, I have not tested it and usually there are more things that stick out once I do that. Thanks for making this PR!
I incorporated your changes and then added some logic to handle a 'bug' I identified.. So now the script will look at
The reason I did this is because it allows the value in
Thanks for making the changes! I've tested it now, and added new comments.
Wait a second, could it be that the magical overwrite comes from the
I write the value from