-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
Refactor build.sh to be usable as the standard way of building Dasharo coreboot #579
base: dasharo
Are you sure you want to change the base?
Conversation
Signed-off-by: Filip Gołaś <[email protected]>
961fd57
to
ae120f4
Compare
echo -e "\tnv4x_tgl - build Dasharo for Novacustom NV4x 11 gen" | ||
|
||
echo "Used environmental variables:" | ||
echo -e "\tCB_REVISION - build Dasharo coreboot from a given revision name" |
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'm not sure if this should be in this script, if it only checks out a specific rev. For example what happens if it checks out to a revision that doesn't have this script? It may stay in memory and finish the run, but after it finishes the build.sh script may be different and not work the same way if someone calls it again
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 is true. The script is a part of the repository which it would checkout to a different version itself. I wonder if using the script as a universal way of building any version of Dasharo would be possible without making changes in historic revisions...
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.
Maybe it would be possible to get the ID of the current commit git rev-parse HEAD
and restore it after building? This sounds like a cheap solution though...
Changed to draft as the refactoring changes were not thoroughly checked and the objective, to make it possible to also build FW for all the NC laptops was not yet achieved |
No description provided.