ck
ck copied to clipboard
[CK2/CM scripts] discuss and unify how to reinstall/rebuild packages
Installation of packages often requires multiple steps:
- clone/download sources
- configure
- build
- install
If it fails, we want to be able to restart such CM scripts from any stage. Can we unify it?
Can we use a universal clone script which can be used as a prehook_dependency to do git clone? Similarly we can use a universal configure and build scrips as posthook_dependency. We need to decide how the results of such universal scrips can be cached.