Skip to content
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

Simplified EC patch #8

Merged
merged 1 commit into from
Aug 23, 2023
Merged

Simplified EC patch #8

merged 1 commit into from
Aug 23, 2023

Conversation

jesultra
Copy link
Collaborator

The existing patch replaced the entire content of the upstream ChromeOS EC getversion.sh with a single line. This is brittle, as any change to the upstream file will cause failed of the patch to apply going forware.

This change modifies the patch to insert two lines at the very top of the script, which does our logic and exits without the bulk of the script ever running. That way, most changes in the upstream file will not interfere with the ability of the patch to continue to apply.

The existing patch replaced the entire content of the upstream ChromeOS
EC getversion.sh with a single line.  This is brittle, as any change to
the upstream file will cause failed of the patch to apply going forware.

This change modifies the patch to insert two lines at the very top of
the script, which does our logic and exits without the bulk of the
script ever running.  That way, most changes in the upstream file will
not interfere with the ability of the patch to continue to apply.

Signed-off-by: Jes B. Klinke <[email protected]>
@jesultra jesultra merged commit 92606b0 into lowRISC:main Aug 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant