-
Notifications
You must be signed in to change notification settings - Fork 60
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
raspberrypi: use MACHINE variable #89
Conversation
Instead of hard-coding RaspberryPi4, use a MACHINE variable in the update bundle and system.conf to support builds of other RPi platforms and avoiding a mismatch of configs. Signed-off-by: Dan Walkes <[email protected]>
@leon-anavi this is the PR we discussed previously. |
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.
Hi @dwalkes, After testing this GitHub pull request, I discovered a couple of minor issues:
I will merge this GitHub pull request as it is right now and shortly I will create a new GitHub pull request with fixes of the described minor issues. Best regards, P.S. fixed with #91 |
Hi @leon-anavi
Based on https://www.gnu.org/software/sed/manual/sed.html#The-_0022s_0022-Command I think the
|
There is a patch in layer meta-rauc that splits into 'rauc' for binary and 'rauc-conf' for configuration: rauc/meta-rauc@d51bab8. It is included in the master branch of layer meta-rauc which is compatible with Yocto releases nanbield and scarthgap (not with kirkstone): https://github.com/rauc/meta-rauc/blob/master/conf/layer.conf#L20C28-L20C46. The YAML kas configuration files are using branches kirkstone and nanbield of meta-rauc which do not include this commit. This explains why you did hit this issue. @drewmoseley submitted a GitHub pull request for meta-rauc-community which adapts meta-rauc-raspberrypi accordingly to rauc-conf #86 I merged it today.
Nice! Sorry, my bad, I forgot about this in meta-rauc-tegra. |
Instead of hard-coding RaspberryPi4, use a MACHINE variable in the update bundle and system.conf to support builds of other RPi platforms and avoiding a mismatch of configs.