Hi Ozi
yes, executing the hook when the user logs on for the first time would
be nice. How can I do it?
The script below replies to the other thread I opened, right? I'll
reply there...
Il mer, mar 26, 2014 at 5:16 , Ozi Traveller <[email protected]>
ha scritto:
Hi Federico
At the point when that hook is executed is there a user with a home
folder?
Maybe you could do it when the user logs on for the first time.
Try this it should give you the text installer.
NB this config script is for veriosn 3.x of Live-build.
#!/bin/sh
set -e
_DISTRIBUTION="wheezy"
_ARCHITECTURES="amd64"
_LINUX_FLAVOURS="amd64"
_ARCHIVE_AREAS="main contrib non-free"
_SOURCE="false"
_MIRROR_BINARY="http://http.us.debian.org/debian/"
lb config noauto \
--mode debian \
--distribution "${_DISTRIBUTION}" \
--debian-installer live \
--architectures "${_ARCHITECTURES}" \
--linux-flavours "${_LINUX_FLAVOURS}" \
--apt-recommends false \
--apt-options "--yes --no-install-recommends" \
--apt-secure true \
--apt-indices false \
--apt-source-archives false \
--archive-areas "${_ARCHIVE_AREAS}" \
--parent-mirror-bootstrap "${_MIRROR_BINARY}" \
--mirror-bootstrap "${_MIRROR_BINARY}" \
--parent-mirror-binary "${_MIRROR_BINARY}" \
--mirror-binary "${_MIRROR_BINARY}" \
--security false \
--updates false \
--memtest none \
--win32-loader false \
--debug \
--verbose \
"${@}"
Cheers
Ozi
On Wed, Mar 26, 2014 at 11:16 AM, Federico Bruni <[email protected]>
wrote:
Hi all
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?
I've tried this:
https://github.com/fedelibre/LilyDev/blob/master/config/includes.chroot/lib/live/config/2000-lilyrepo.hook
but I guess that it's not the right path.
Can you give me some hints?
Thanks
Federico