been using Arch for years but i am still a novice, yesterday i had found that in order for something to work on my system i will need to edit a few lines in kernel which i did, then removed unnecessary modules > intel, > nvidia, compiled. it worked great but with Arch and its rolling release i am dreading the next update and having to go through this again.
what methods are there to automate this process?

  • moreeni@lemm.ee
    link
    fedilink
    arrow-up
    1
    ·
    1 month ago

    You could write a bash script to automate this process. Pacman supports hooks for updates, so after kernel updates you could set it up to automatically run the script.

  • Static_Rocket@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 month ago

    What modifications were required? The good part of a rolling release is that upstreaming things means you only have to deal with manual fixes for like 2 or 3 updates.

  • kittenz@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    1
    arrow-down
    1
    ·
    edit-2
    1 month ago

    This is the perfect use case for gentoo, there is a documented process for adding kernel patches and saving a kernel build configuration