-
Notifications
You must be signed in to change notification settings - Fork 11
Add preloaded module update option #100
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
Conversation
GwendalLaurent
left a comment
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.
We should maybe document in the README the new flag
src/rebar3_grisp_build.erl
Outdated
| "Create tarball with OTP installation for online repository" | ||
| }, | ||
| {update_prebuild, $p, "update-prebuild", {boolean, false}, | ||
| "Update OTP prebuilt modules, enable if some prebuilt modules are patched" |
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.
That clearly a detail but I think that the "," should be replaced by a "." and separate the sentence in 2.
"Update OTP prebuilt modules. Enable if some prebuilt modules are patched"
|
It would be much better if we could detect that a patch requires the preloaded update step... 🤔 |
|
@sylane Why do we need to update the preloaded? Is this related to the rtems unicode minimal stub? |
|
With the current patchiest for GRiSP Nano, without debug printing, there is no need for it, but if you patch the preloaded module in OTP, you need to set this flag, because the beams are prebuilt. |
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.
Ok for it being a flag, but what I would highly prefer, is to have a subdirectory, under patches, likepatches/preloadedmaybe that if used then triggers the required additional step, automatically.
c33290a to
7f3b4f5
Compare
7f3b4f5 to
41d1ef9
Compare
Depends on grisp/grisp_tools#39