-
Notifications
You must be signed in to change notification settings - Fork 537
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
Rework add_grub_bootloader()
#1517
Conversation
767ca78
to
4e38052
Compare
Couldn't you simply echo the parameter into "/etc/sysctld.d/99-zram.conf"? That way it would work regardless of what bootloader the user is running. For clarification - https://man.archlinux.org/man/sysctl.d.5 |
That is certainly a valid option and one I had not considered. I was simply replicating the solution that was merged for systemd-boot. If the pull requests that I have open for boot loaders are merged I plan to then submit a pull request to move any of the code that is duplicated in the boot loader functions to the |
87f8b59
to
12eaa66
Compare
Looks good and the future plans are a nice direction. Just needs the latest |
I plan to close this once the kernel parameters are taking care of in a separate pull request since most of this was superseded by: |
In addition to the list given in the last comment, also superseded by: |
PR Description:
add_grub_bootloader()
sed
approach with Pythonic styleTests and Checks