ubuntu-phone team mailing list archive
-
ubuntu-phone team
-
Mailing list archive
-
Message #00639
Re: [PATCH] Create swap file on first boot
F69 - your the man!
--(or woman but still Thanks great idea, and initiative)
________________________________________________________
https://www.vizify.com/lewis-donofrio - 734-743-1743
On Fri, Mar 1, 2013 at 2:09 PM, f69m <launchpad@xxxxxxx> wrote:
> Hi everyone,
>
> Please find attached a small patch that will create /data/swapfile on
> first boot.
> If you don't want a swapfile, just create an empty /data/swapfile.
>
> Pros:
>
> - The swap file can be removed from the rootfs, which makes that
> significantly smaller and faster to flash.
> - Once created, the swap file persists updates and does not need to be
> recreated.
>
> Cons:
>
> - Can't think of any.
>
> Details:
>
> - The patch should be applied to git://
> phablet.ubuntu.com/ubuntu/uchroot.
> - Creates /data/swapfile, if it does not exist yet.
> - Runs swapon, if the file exists and is not empty.
>
> Hope this patch is acceptable and can be included for everyone.
>
> f69m
>
>
> --
> Mailing list: https://launchpad.net/~ubuntu-phone
> Post to : ubuntu-phone@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~ubuntu-phone
> More help : https://help.launchpad.net/ListHelp
>
>
--
References