-
Notifications
You must be signed in to change notification settings - Fork 53
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
RISC-V improvements + fixes #2235
base: main
Are you sure you want to change the base?
Conversation
Without this we always have the host architecture instead of the platform one in cross-compilation. Signed-off-by: Loic Devulder <[email protected]>
Still not enabled by default, but could be added like any other features. Signed-off-by: Loic Devulder <[email protected]>
Signed-off-by: Loic Devulder <[email protected]>
Signed-off-by: Loic Devulder <[email protected]>
89b3056
to
4690de6
Compare
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.
Please change to use the default features in the green Dockerfile. Apart from that it looks good!
ADD_FEATURES+=" grub-default-bootargs"; \ | ||
[[ "${ARCH}" == "aarch64" ]] && ADD_FEATURES+=" arm-firmware"; \ | ||
fi; \ | ||
elemental --debug init --force \ |
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.
I think we should keep the default features here since these are what's tested in the CI.
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.
What do you mean? The code will keep the defaults for x86 (yes explicitly written) and only change for arm64 (adding arm-firmware
) and riscv64 because this one needs specific Grub options.
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.
Yes, but we want to test that the default features added through the implicit case works (also autologin
is not one of the default features)
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.
In that case I will have to either use a dedicated Dockerfile or defined the list of features only for riscv64 (and arm64 maybe?) and keep the default for x86.
WDYT is the better way for you? I first tried to avoid a pretty much full copy/paste of the Dockerfile only for riscv64, but if you think that an easier way to do it
that's fine.
This PR contains some RISC-V support improvement and fixes for small issues I found: