On Fri, Aug 28, 2015 at 8:24 AM, o haya <
ohaya@yahoo.com> wrote:
> Hi,
>
Hi
>
> I am also not 100% which version of Debian he was working with, but from
> testing so far, it looks like it must've been 7.8.
>
The debian version is pretty much unrelated unless you are referring
to the live-build version which was included in that particular
release. So please from now on provide, at least, your live-build
version. Usually by typing:
lb -v
>
> He has a directory structure that looks like:
>
> - <Start directory>
> -- auto
> -- config
>
> In the auto directory, he has several scripts:
>
> build
> clean
> config
>
> They look like this:
>
> build:
>
> #!/bin/sh
>
> lb build noauto "${@}" 2>&1 | tee binary.log
>
>
>
> config:
>
> #!/bin/sh
>
> lb config noauto \
> --hostname xxx \
> --username xxx \
> "${@}"
>
>
> clean:
>
> #!/bin/sh
>
> lb clean noauto "${@}"
> rm -f config/binary config/bootstrap config/chroot config/common
> config/source
> rm -f binary.log
>
>
> I tried running auto/build:
>
> auto/build xxx (I'm not sure what parameters are needed?)
>
> and it gave me an error saying that "--hostname" and "--username" were not
> valid.
>
These look like the example auto scripts which are shipped with
live-build. With the exception of your auto/config which looks pretty
much old and out of date. To set hostname and username you should do
it through:
--bootappend-live "boot=live components hostname=XXX username=XXXX"
>
> However, I think that they wanted to customize the image and so they have
> some files and directories in the config/chroot_local-includes directory,
> but when i do the an auto/build none of that content is appearing anywhere?
>
> Anyway, sorry about the newbie questions. If I can clarify any of the above
> information please let me know?
>
In that case you'd better start a new configuration from scratch since
many things change along the way from one release to the following
one. And some directories inside your config/ directory probably have
a different name.
Please take a look at the online live-manual for the live-build
version you are using and if you have any doubt send an email to the
mailing list or join the team on irc at #debian-live on oftc
live-manual can be found here:
http://live-systems.org/manual/
> Thanks,
> Jim
>
You are welcome. I hope this information helps
--
chals
www.chalsattack.com
chals@chalsattack.com