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

Re: Help for newbie



chals,

Thanks for all of the responses!

FYI the live-build that installed with Debian 7.8 was: 3.0.5-1.

I am curious if you would know when (what version of) live-build it was changed to use the chroot_local-includes directory instead of includes.chroot directory?

I probably will rebuild the config tree, but I just want to try to understand/know what versions they were using when they did this before (no documents were left).

Thanks,
Jim


From: chals <chals@chalsattack.com>
To: o haya <ohaya@yahoo.com>
Cc: "debian-live@lists.debian.org" <debian-live@lists.debian.org>
Sent: Friday, August 28, 2015 6:05 AM
Subject: Re: Help for newbie

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





Reply to: