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

Re: Building and using Debian Live

T o n g <mlist4suntong@yahoo.com> wrote:

> - Is it possible to do my own debootstrap, do my own customizations
> to it, then use the live-helper scripts to build an bootable iso out of it?

It is possible, but it is not really recommended or supported. However,
you may wish to look at (and possibly extend) the behaviour of the
LH_BOOTSTRAP_FLAVOUR option when set to "copy".

Alternatively, you could use the "minimal" bootstrap and add your own
customisations in a constructivst manner.

I'm not really sure what to suggest. As general advice, it is usually
best if you give an overview of what you want to achieve rather than a
specific sub-goal.

> - about live-initramfs, the comment says, "you probably do not want to
>   install this package onto a non-live system". My interpretation is
> that simply installing the live-initramfs into chroot will do the
> trick, even if it is my own customised live-initramfs, correct?

Kind-of. Live-helper does indeed "just" install live-initramfs into the
build chroot.

However, just to stress that you really shouldn't be manually (and/or
unprogramatically) messing around with the chroot/ directory. Or, to put
it another way; this sort of thing is really going against the grain of
Debian Live customisation and is thus unsupported.

Live-helper has many different ways of customising the chroot; if they
all don't work for you, let us know what you want so that we can dream
up something that does.

> - I noticed that both live-helper and live-initramfs have their own
>   config. Seems to me both define live users etc. I haven't read into
>   details yet, but can any one comment on this?

Hm, live-initramfs doesn't have any configuration files - it reads the
configuration from the kernel command line on boot, which is--in
turn--set by live-helper internally and in the LH_*BOOTAPPEND options.

Again, not really sure what you are asking; hope this helps.


     : :'  :     Chris Lamb
     `. `'`      lamby@debian.org

Attachment: signature.asc
Description: PGP signature

Reply to: