-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rpi: Auto grow the actual /home partition. #86
Conversation
With the current service, only the extended partition is expanded to fill the space. This also extends partition 6 which is the current /home and the last partition on the disk. Signed-off-by: Drew Moseley <drew@moseleynet.net>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. Thank you for the contribution.
Signed-off-by: Drew Moseley <drew@moseleynet.net>
I added a commit to add "scarthgap" to LAYERSERIES_COMPAT. This works for expanding the filesystem but the actual rauc service fails with:
|
I have been working on |
@drewmoseley is system.conf part of your image? I see an error related to it in the shared by you log:
|
Yes, the file exists. I don't have a group named "system" though. |
The system.conf in the layer looks good. Do you have local changes that could explain the missing [system] section? |
It seems that meta-rauc now puts system.conf in the rauc-conf package but meta-rauc-community has not been updated to match. I'll test a fix for rpi and push it to this PR. |
Signed-off-by: Drew Moseley <drew@moseleynet.net>
OK. The system.conf file is now properly packaged in rauc-conf. It all seems to be working on my end now. A similar change likely needs to be med in meta-rauc-community for all the other supported machines. |
@drewmoseley thank you for figuring that out and sharing it with the community. The patches look good me. We should sort this out for other boards. If there are no objections by tomorrow I will merge the GitHub pull request. |
@drewmoseley thank you. I confirm this issues fixes the described RAUC issues. While testing this GitHub pull request I experienced issues with U-Boot on Raspberry Pi 4 (both 32-bit and 64-bit) due to the following error:
This is a U-Boot problem that appears without RAUC too. As far as I see there was a fix u-boot/u-boot@7a790f0 but it was later on reverted because of other issues u-boot/u-boot@abd1e94 Temporary, to test RAUC locally I set U-Boot version to Best regards, Leon |
With the current service, only the extended partition is expanded to fill the space. This also extends partition 6 which is the current /home and the last partition on the disk.