[Feature request] Install rootfs as a file
What I'd love to see in pmOS is the ability to install the rootfs as a file, for example as /data/pmOS_rootfs.img, so one could flash the pmOS kernel onto the recovery partition and therefore achieve a flawless (well, except lack of recovery), pc-less dualboot with Android.
As far as the implementation goes, I thought about making a pmbootstrap flag, like pmbootstrap install --rootfs-af
(as a file of course
The Halium and UBPorts projects already make use of this rootfs style, adding it to pmOS would only give us more versatility :)
Goals:
-
pmbootstrap install
flag -
ability to set the initial size
-
custom location
-
an improvement to the init script that would let you place the file on any partition and it would just
grep
(or smth similar) for it -
ability to resize the rootfs