Forum archive
Patch Patching?
I have two questions relative to the content at the bottom of this page: /docs/tklpatch/overview
The documentation for the tklpatch process on this page references "patch patching". By this, I'm guessing the authors mean to extend a previously created patch or perhaps create larger versions of a patch as it is developed further?
1. Can someone give me a use case for patching a patch? I'd like to understand why to do it.
2. Can someone explain to me how to implement this patching scheme? Let's say that you have created a "patchA" and then later a "patchB". How would you put that into the directory structure described in the link above?
-Brian
The usage scenario for nested paches would be building on a base. So for example you found a new whiz bang webserver that TKL didn't already produce an appliance for. You could create a base patch (let's call it wb-webserver) that should be applied to TKL Core.
You could then use that as the basis for a range of other appliances (that run on a web server). So instead of having to install wb-webserver within each patch, you could just nest the complete wb-webserver patch into each subsequent patch (that uses it as a base).
In the past I have created a patch to configure my servers exactly how I like them (a couple of extra packages and some proxy config). I have then nested that in patches I have applied making it a one step process.