archinstall icon indicating copy to clipboard operation
archinstall copied to clipboard

Do not overwrite the contents of mkinitcpio.conf

Open ventureoo opened this issue 8 months ago • 0 comments

  • This fix issue: N/A

PR Description:

After installation is complete, user may want to edit /etc/mkinitcpio.conf at will and may encounter a mismatch between the default configuration examples and what it has after installation since archinstall does not just change some values, but completely overwrites contents of the file removing all comments and other options. This PR fixes this by editing only parameters specified in code like hooks/modules/etc.

Tests and Checks

  • [x] I have tested the code!
    (did not test install process, but tested the operation of a separate mkinitcpio function on default mkinitcpio.conf file).

ventureoo avatar Jun 08 '24 13:06 ventureoo