[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: FTWCA storing config/ in VCS, reloaded



Daniel Baumann wrote:
> ...and the workflow would be:
> 
> 1. create a git repository
> 
> 2. add a .gitignore file, example at
> http://git.debian.org/?p=debian-live/config-daniel.git;a=blob;f=.gitignore;
> 
> 3. add a scripts/config.sh with your complex lh_config call/options,
> example at
> http://git.debian.org/?p=debian-live/config-daniel.git;a=blob;f=scripts/config.sh;

as this is now renamed to config, so that should be
http://git.debian.org/?p=debian-live/config-daniel.git;a=blob;f=scripts/config;

especially note that for any lh_config or lh_clean call from
scripts/config or scripts/clean, you have to use 'noautoconfig' as first
parameter. otherwise, you end up in an infinite loop.

> 4. commit that
> 
> 5. when you actually build your live system, you checkout your
> repository in your build directory
> 
> 6. run lh_config (any additional argument is optional and will be
> appended to the lh_config call in scripts/config.sh).

...scripts/config).

> 7. lh_build

Regards,
Daniel

-- 
Address:        Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
Email:          daniel.baumann@panthera-systems.net
Internet:       http://people.panthera-systems.net/~daniel-baumann/


Reply to: