rauc / meta-rauc-community

Yocto/OpenEmbedded meta layer with examples for integration of RAUC, the embedded Linux A/B update framework
MIT License
48 stars 52 forks source link

Create a data partition #4

Closed om26er closed 3 years ago

om26er commented 3 years ago

Currently the wks file, creates a boot partition and a set of A/B partitions. We should have a fourth partition for user data as well. Ideally it would auto expand on first boot to "claim" all the remaining sdcard space.

dev-0x7C6 commented 3 years ago

I'm using 4th partition for data sharing (/home), this is my solution as example. I think that recent version of systemd introduced systemd-repart which may be configured to resize data partition after first boot.

leon-anavi commented 3 years ago

Hi @om26er, @dev-0x7C6,

This is definitely an excellent idea as it will extend the RAUC example that this layer provides.

Thanks, Leon

om26er commented 3 years ago

Should be fixed by https://github.com/leon-anavi/meta-rauc-community/pull/6

leon-anavi commented 3 years ago

Hi @om26er,

Thank you for your contribution. I has been merged in master therefore I will close this issue.

Best regards, Leon