kvp

kernel version patcher
git clone git://git.ckyln.com/kvp.git
Log | Files | Refs | README | LICENSE

README (1585B)


      1 Kernel Version Patcher
      2 ======================
      3 
      4 This script patches your kernel to the
      5 version you want it to patch. It is
      6 dead simple to use.
      7 
      8 If you want to go from 5.2.3 to 5.4.13,
      9 you do
     10 
     11    kvp 5.2.3 5.4.13
     12 
     13 kvp handles the rest for you.
     14 
     15 
     16 Dependencies
     17 ------------
     18 
     19 * xzcat
     20 * curl
     21 * GNU Patch (emphasis on the GNU part, sorry)
     22 
     23 
     24 Why would I write this?
     25 -----------------------
     26 
     27 In general, kernel version management is hell.
     28 You either need to
     29 
     30 * download every single release
     31 * use git
     32 * patch it yourself
     33 
     34 
     35 Downloading every single release is hell
     36 because the kernel source code is larger than
     37 100MBs. That is a huge waste of space, network
     38 and time.
     39 
     40 
     41 Using git is hell, you shouldn't use git unless
     42 you do kernel development. Unless you do a shallow
     43 clone, the kernel takes over a gigabyte of space and
     44 even going inside the git directory will slow your
     45 computer down. If you do a shallow clone, you will
     46 not be able to back in history, and git is still
     47 relatively slow.
     48 
     49 
     50 Patching it yourself is not as hell as the others,
     51 but if you haven't done that before, you will probably
     52 fuck it up for not reading the kernel patching guide[1].
     53 Patching between PATCHLEVEL versions and patching between
     54 SUBLEVEL versions are completely different from eachother so
     55 you will fuck it up a second time for not reading the guide
     56 completely.
     57 
     58 
     59 If you have read the guide, you can see the `[...]you'll almost
     60 certainly want to look at using Git instead`. I stand with
     61 my point on Git, and I say thanks, but no thanks.
     62 
     63 [1]: https://www.kernel.org/doc/html/v4.15/process/applying-patches.html