![](https://seccdn.libravatar.org/avatar/64aee5bc0cbea00ccd26d5eeeb136da8.jpg?s=120&d=mm&r=g)
10 Jan
2021
10 Jan
'21
18:26
The RPM spec is generated by scripts/package/mkspec in the kernel source, I tried messing with those but it's too much hassle every time. I was mainly interested to know if there was a simple way to set this up, like if it was controlled by a hook in Zypper that I could easy add to. I already had a script that would apply a patch, change some settings in .config and spit out some commands so I could easily install that kernel and it was easier to just improve that. I changed that it won't just echo those commands but would ask if I want to run them so I'll be sticking with that for the time being.