-
Notifications
You must be signed in to change notification settings - Fork 106
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
Commit to separate Dracut #437
Conversation
@sergio-correia @jpds @Anonymous1157 I have re-based the same files over the current tree. Can you guys check and test it (for Alpine Linux too please) ? |
@sergio-correia Anyway this can be merged to a new branch so that there can be more changes by maintainers / other developers etc. and later when everything is ok, it can be merged with the main branch ? Anyway I can give you write access to my fork ? |
@sergio-correia |
Thanks, I will do a more thorough review and actual testing soon and will report back. |
Could you please review issues reported by shellcheck? I guess that, at least, next can be removed: Error: SHELLCHECK_WARNING:
./src/dracut/clevis-pin-tpm2/module-setup.sh.in:39:26: error[SC2283]: Remove spaces around = to assign (or use [ ] to compare, or quote '=' if literal). |
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.
Changes in general LGTM. Please, review comments provided in code
The above has been resolved. For the other issues i.e. 'variables assigned but not used', I would require help of @sergio-correia & @jpds who are the actual author of the code. Update: Some of the variables are actually coming from command line so I think some of them are just false warnings. @jpds & @sergio-correia would be able to comment better. |
@sarroutbi @sergio-correia |
Hello. Did you have a chance to check latest Code scanning/shellcheck issues? hostonly appears unused. Verify use (or export if used externally)
...
instmods appears unused. Verify use (or export if used externally). Do these values need to be exported? |
Some of the variables are actually coming from command line and passed on (eg 'hostonly' option) to dracut so I think they are just false warnings. @jpds & @sergio-correia would be able to comment better. |
@sergio-correia @jpds |
Just another humble request to help me merge this ? Thanks! |
Apologies for the delay. I intend to test it this week. |
@sergio-correia - Just checking if there are any updates ? Did you get the time to check ? Thanks |
@sergio-correia - Any update ? |
I got stuck with testing this, I will try to complete it ASAP. |
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.
Changes LGTM
Prepare to decouple dracut and systemd unlockers.
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.
Minor comment. Rest of changes LGTM
Add an unlocker that does not require systemd.
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.
Change LGTM
This Commit is based on the work of @sergio-correia & @jpds. I have just rebased it with current tree.
Should close #347 & #346.
Hope this gets merged quickly.