Forum archive
TKLDev New Initialization Hooks
So I am hacking away at TKLDev trying to setup a modified core for my usings. I am now at the point to create a new initialization hook.
I think I have the TKLDev toolchain down. I have written down how I think I understand the process just to confirm I got it down.
When "make" is run it does the following 1. creates a copy using deck of the bootstrap file system to root.build or root.spec (not sure) 2. chroot and installs apps according to the plan to root.build 3. creates a copy using deck of the root.build to root.patched 4. chroot to root.patched copy config.d files and executed (At some point the overlays are applied, I think this is between 3 and 2) depending on create the chroot only (sandbox / root.tmp) it will make the root file system from root.patched and write out a iso using the cdroot dir as source I think this is how it works, correct me if I am wrong. So then to customize/create a new app: 1. New packages go into the "plan" 2. Changes that can be made via script are scripted in the "conf.d" 3. New files and dirs go into the "overlays"
Assume that the above is correct, where then do I add my Initialization Hooks? I think they could be added via a script in the conf.d or better yet a new file in the overlay.
On a side note. I must say as I am understanding the build process, I really like it. it's nice an DRY and it does not take much to customize or even create a whole new app.
I think that it's great to share regardless, but especially if you have something that you're pretty happy with.
You could even consider sending a pull request through GitHub if you think that the core docs need adjustment! :)