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

Re: What am I doing wrong?



José,

OK, you seem to have some fundamental misunderstandings about what this
software is for.  I will do my best to try to unconfuse you ...

On 12/12/10 12:09 PM, Jose Luis Zabalza wrote:
> Sorry Daniel, but I don't understand -d and -m options
> 
> ========<cut>==============
> --mode debian|emdebian|ubuntu
>  defines a global mode to load project specific defaults. By default
> this is set to debian.
> 
> -d|--distribution CODENAME
>  defines the distribution of the resulting live system.
> ========<end cut>==============
> 
> This is not clear for me.

If you want a more thorough discussion of the topic that explains these
options, please see live-manual, which is the definitive user's guide
for Debian Live.  It is a reasonable assumption here that live-build
creates *Debian* live images, and that when we say "distribution" we
therefore mean *Debian* distribution, and "codename" is therefore a
*Debian* codename, not something made up by you.

A complete and up-to-date version of the manual can be found here online:

http://live.debian.net/manual



> is ubuntu a debian project on live-build parlance?

Ubuntu is not a Debian project. It is simply a project (a particular
kind of project called a "Debian derivative" project).

> I understand -d is the codename. If I "create" a new distro
> (mydistro), is the codename  mydistro or a mode??? I don't understand
> the concepts.

Then the deficiency in your understanding is more general than usage of
Debian live.

> Why is ubuntu a mode not a codename (distribution) ?

Debian has distribution codenames.  Ubuntu has distribution codenames.
You might decide to start a derivative project of either that has its
own codenames, but that is not something Debian Live supports.

> If I need other mode (mydistromode), what I have to do?

Sorry, no, you don't need this.  You are free to start your own
derivative distribution and call it whatever you want, but Debian Live
does not and will not support this.  It is up to you to set up the
derivative infrastructure to support it yourself.  If you don't know how
to do this, we can't help, as that is beyond the scope of this project.

> Yes, I needed to do some links (ln -fs
> /usr/share/debootstrap/scripts/squeeze
> /usr/share/debootstrap/scripts/mydistro) and the version hack above
> but It is running, I think.

No, that is a hack that we will not support. Don't bother filing any
bugs relating to this hack if you run into trouble with it.

> The question :
> 
>  I will have a local repository, obtained with reprepro, with my
> distribution (mydistro squeeze based firstly) and I will have a live
> USB. What is the best way to proceed?

Honestly? Don't do this. Just call it "squeeze" if it is squeeze-based.
Forking a distribution is more hassle than it is worth and has huge
ramifications beyond simply dealing with name changes (like: where do
your users file bug reports? have you customized reportbug to make sure
bugs are sent there instead of Debian? developers will be very irate
with you if you have forked Debian and yet still your users send bugs to
Debian when things go wrong. and this is only the *beginning* of your
troubles).

> Do I have create a new mode (mydistromode) similar approach to ubuntu mode ?
> 
> When I use the -m option to "ubuntu", I have to put the option -d
> squeeze or -d maverick?
> 
> To many questions?
> 
> Sorry and thanks in avance.

Forking a distribution is an enormous undertaking with lots of
complicated issues associated with it: the bug reporting issue, having
your own package archives, and having mailing lists where people discuss
development of your fork, and having the support manpower to deal with
all of the questions. Do yourself a favour and don't start down this
path. Instead, consider perhaps making a "blend" as described here:

http://wiki.debian.org/DebianPureBlends

That being said, Debian Live *does* provide support for making images
based on Squeeze and adding some third part material to it. But in that
case it is not forking the distribution. The end result remains Squeeze
*plus* some additional packages. Read more about this in live-manual.

Ben



Reply to: