Hi,

kpatch-build currently contains distro-specific code which makes the
script hard to read (and maintain IMHO). Moreover, Debian and Ubuntu
kernels are not built using the kernel's Makefile (and not in-tree) so
the current kpatch-build is pretty much broken for those distros. I
was wondering if we should put the distro-specific code into
individual files and source the appropriate one once we detected what
distro we're on and what we want to build. The distro-specific files
would simply define functions for the different steps (like,
find_dirs, build_orig, build_patches, and so on).

What do you think?

Thanks
...Juerg

_______________________________________________
kpatch mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/kpatch

Reply via email to