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

Re: hook to download git repositories in the user home

El 26/03/14 01:22, Daniel Baumann escribió:
> On 03/26/2014 01:16 AM, Federico Bruni wrote:
>> I'd like to be able to automatically download some git repositories in
>> the home of the live user and also of any user installed. How can I
>> achieve that?
> depends on when you want to run it.
> if you want to do it at build time, then use a live-build hook (and save
> your repos into /etc/skel).
> if you want to do it at run time, then use a live-config hook like you
> already do (but make it more idempotent).
i think that is better to do git clone it in build time and option git
pull in runtime,
At run time, maybe you dont have networking and it can fail, and
slowdown the "startup time" for the live user

Fernando Toledo
Dock Sud BBS

Reply to: