clr-distro-factory
clr-distro-factory copied to clipboard
[makefile] bootstrap from actual clr-distro-factory-config
The trick part is how to nicely populate the config.sh vars from the template. It is way easier to just dump a new config file from scratch.
In the other hand, making it from scratch makes trick to also provide an image template (or more than one).
Maybe we can clone from clr-distro-factory-config and fully replace 'config.sh' so we get the image template files but don't have a headache trying to populating the template with variable values.
actually for the example i did try to clone directly from the config but it failed because config in clr-distro-factory-config contains the curl but in the makefile in clr-distro-factory does not build the curl bundle. If we want it to work out of the box by just cloning and make release, we will have to tweak to either remove the curl in config or add curl bundle in the makefile here.
It wont contain curl in there for long. But I will just bother to remove with the move to clr-installer because that file will have to be converted from .json to .yaml
On Tue, Jun 25, 2019 at 4:55 PM Tan Shen Joon [email protected] wrote:
actually for the example i did try to clone directly from the config but it failed because config in clr-distro-factory-config contains the curl but in the makefile in clr-distro-factory does not build the curl bundle. If we want it to work out of the box by just cloning and make release, we will have to tweak to either remove the curl in config or add curl bundle in the makefile here.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/clearlinux/clr-distro-factory/issues/23?email_source=notifications&email_token=AAMCYZMQUJD6CKUZNJN7E2TP4KV7LA5CNFSM4H2VYYM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYR5HNY#issuecomment-505664439, or mute the thread https://github.com/notifications/unsubscribe-auth/AAMCYZMXV3KAOS3Y3OIGTB3P4KV7LANCNFSM4H2VYYMQ .