Add PMOS_FORCE_PARTITION_RESIZE kernel boot parameter
This kernel parameter will force the resize of the root partition during the initramfs boot script.
It will use the regex 's/p?2$//'
to get the physical path of the device to be resized:
on x86_64 qemu: root partition /dev/hda2
=> physical path /dev/hda
on armhf qemu: root partition /dev/mmcblk0p2
=> physical path /dev/mmcblk0
The parameter has been added by default to all the cmdline variables of qemu packages.
I managed to test it successfully on x86_64 and armhf, but I didn't managed to test on aarch64, qemu wasn't starting at all.
Close: #869 (closed)