Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Including additional packages on the Debian base CD

16 views
Skip to first unread message

Free Ekanayaka

unread,
May 20, 2004, 4:50:16 AM5/20/04
to

Hi all,

I had a look to the beta4 installer, which works really well :)

I'd like to use it for the next release of aGNUla/DeMuDi [0], which is
a Custom Debian Distribution devoted to audio work.

I've seen that the ISO image contains an ordinary pool/dists debian
APT repository to hold packages, so I guess that simply replacing it
with a custom archive would make the trick.. isn't it?

Furthermore it would be nice to have a way to tell to the installation
system to automatically install a certain set of packages after it
finishes to install the base system.

AFAIK Skolelinux folks already went through this way, and my task
would be very similar.

Thanks,

Free Ekanayaka

[0] http://www.agnula.org


--
To UNSUBSCRIBE, email to debian-bo...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Petter Reinholdtsen

unread,
May 20, 2004, 5:10:05 AM5/20/04
to
[Free Ekanayaka]

> I've seen that the ISO image contains an ordinary pool/dists debian
> APT repository to hold packages, so I guess that simply replacing it
> with a custom archive would make the trick.. isn't it?

Yes, I think that would work.

> Furthermore it would be nice to have a way to tell to the
> installation system to automatically install a certain set of
> packages after it finishes to install the base system.

There are two options. You can create an udeb with standard or higher
priority, and call 'apt-install <package>' in its postinst script, or
add a file base_include to the CD listing the extra packages to
install. The second option is the BASE_INCLUDE variable in debian-cd
CONF.sh

> AFAIK Skolelinux folks already went through this way, and my task
> would be very similar.

Yes, we use both these methods. The first method is more flexible,
because one can decide in the postinst script if a given package
should be installed or not.

Free Ekanayaka

unread,
May 20, 2004, 6:50:11 AM5/20/04
to

Petter, thanks for your quick reply.

I'm new to the debian-cd package, but it looks quite simple to
use. I'll try to create a test iso in the next days and report you.

bye,

free

>>>>> On Thu, 20 May 2004 10:58:03 +0200, Petter Reinholdtsen <pe...@hungry.com> said:

Petter> [Free Ekanayaka]


>> I've seen that the ISO image contains an ordinary pool/dists
>> debian APT repository to hold packages, so I guess that simply
>> replacing it with a custom archive would make the trick.. isn't
>> it?

Petter> Yes, I think that would work.

>> Furthermore it would be nice to have a way to tell to the
>> installation system to automatically install a certain set of
>> packages after it finishes to install the base system.

Petter> There are two options. You can create an udeb with
Petter> standard or higher priority, and call 'apt-install
Petter> <package>' in its postinst script, or add a file
Petter> base_include to the CD listing the extra packages to
Petter> install. The second option is the BASE_INCLUDE variable
Petter> in debian-cd CONF.sh

>> AFAIK Skolelinux folks already went through this way, and my
>> task would be very similar.

Petter> Yes, we use both these methods. The first method is more
Petter> flexible, because one can decide in the postinst script if
Petter> a given package should be installed or not.

Andre Luis Lopes

unread,
May 20, 2004, 8:00:16 AM5/20/04
to
Hi Free,

On Thu, May 20, 2004 at 01:50:03PM +0200, Free Ekanayaka wrote:
>
> Petter, thanks for your quick reply.
>
> I'm new to the debian-cd package, but it looks quite simple to
> use. I'll try to create a test iso in the next days and report you.

Please, let me know how well it worked. I'm also pretty interested in
learning something about Custom Debian Distributions and also trying to
start experimenting with debian-cd.

--
++----------------------------------------------------------------------++
|| André Luís Lopes andr...@debian.org ||
|| http://people.debian.org/~andrelop ||
|| Debian-BR Project http://www.debian-br.org ||
|| Public GPG KeyID 9D1B82F6 ||

signature.asc

Free Ekanayaka

unread,
May 21, 2004, 5:00:20 AM5/21/04
to

Hi,

I'm going on experimenting with debian-cd.

I'm wandering if I do really need a full debian mirror in order to
build the ISO. I guess that the only relevant part are the packages
belonging to the base system and the debian-installer section. Isn't
it?

Ideally I'd like to build the ISO out of a partial debian mirror
generated using apt-move plus the main/debian-installer tree.

Has anybody tried something like this?

bye,

free

>>>>> On Thu, 20 May 2004 10:58:03 +0200, Petter Reinholdtsen <pe...@hungry.com> said:

Petter> [Free Ekanayaka]


>> I've seen that the ISO image contains an ordinary pool/dists
>> debian APT repository to hold packages, so I guess that simply
>> replacing it with a custom archive would make the trick.. isn't
>> it?

Petter> Yes, I think that would work.

>> Furthermore it would be nice to have a way to tell to the
>> installation system to automatically install a certain set of
>> packages after it finishes to install the base system.

Petter> There are two options. You can create an udeb with
Petter> standard or higher priority, and call 'apt-install
Petter> <package>' in its postinst script, or add a file
Petter> base_include to the CD listing the extra packages to
Petter> install. The second option is the BASE_INCLUDE variable
Petter> in debian-cd CONF.sh

>> AFAIK Skolelinux folks already went through this way, and my
>> task would be very similar.

Petter> Yes, we use both these methods. The first method is more
Petter> flexible, because one can decide in the postinst script if
Petter> a given package should be installed or not.

Free Ekanayaka

unread,
Jun 2, 2004, 6:50:12 AM6/2/04
to

>>>>> On Thu, 20 May 2004 08:56:28 -0300, Andre Luis Lopes <andr...@debian.org> said:

Andre> [1 <text/plain; iso-8859-1 (quoted-printable)>] Hi Free,

Andre> On Thu, May 20, 2004 at 01:50:03PM +0200, Free Ekanayaka


Andre> wrote:
>> Petter, thanks for your quick reply.
>>
>> I'm new to the debian-cd package, but it looks quite simple to
>> use. I'll try to create a test iso in the next days and report
>> you.

Andre> Please, let me know how well it worked. I'm also pretty
Andre> interested in learning something about Custom Debian
Andre> Distributions and also trying to start experimenting with
Andre> debian-cd.

I'm almost done in preparing a customised d-i for the aGNUla/DeMuDi
CDD, and I have to say that this new d-i is sooo beautiful and easy to
tweak.

I'm basing on the beta4 release, and I decided not to use debian-cd for the moment.

I simply replaced the pool/ and dist/ trees, which include:

1) all the packages needed by debootstrap
2) all the main/debian-installer section
3) an home made udeb which installs a package which customise
the base-config menu
4) the optional packages used by DeMuDi

Everything is running fine..

I still do not understand which is the proper way to autoconfigure
XFree86, by now I'm using xdebconfigurator and dexconf.

Moreover it would be nice to have a tool which builds a minimum Debian
mirror with just the packages needed by debootstrap and the most
important udebs. I think that this way we could use debian-cd with a
bottom-up approach, without downloading a whole debian mirror.

ciao,

free

W. Borgert

unread,
Jun 2, 2004, 10:00:15 AM6/2/04
to
> Moreover it would be nice to have a tool which builds a minimum Debian
> mirror with just the packages needed by debootstrap and the most
> important udebs. I think that this way we could use debian-cd with a
> bottom-up approach, without downloading a whole debian mirror.

I have a receipt for building a partial mirror on my web page. Some
people use the scripts successfully for FAI and other purposes. See
http://people.debian.org/~debacle/ [look for partial mirror]

Cheers, WB

Andre Luis Lopes

unread,
Jun 2, 2004, 11:10:07 AM6/2/04
to
On Wed, Jun 02, 2004 at 10:49:12AM +0200, Free Ekanayaka wrote:
<snip>
> Moreover it would be nice to have a tool which builds a minimum Debian
> mirror with just the packages needed by debootstrap and the most
> important udebs. I think that this way we could use debian-cd with a
> bottom-up approach, without downloading a whole debian mirror.
</snip>

Take a look at debpartial-mirror. It's in unstable and seems to do what
you need.

signature.asc

Free Ekanayaka

unread,
Jun 3, 2004, 3:50:09 AM6/3/04
to
>>>>> On Wed, 2 Jun 2004 15:51:56 +0200, "W. Borgert" <deb...@debian.org> said:

>> Moreover it would be nice to have a tool which builds a minimum
>> Debian mirror with just the packages needed by debootstrap and
>> the most important udebs. I think that this way we could use
>> debian-cd with a bottom-up approach, without downloading a
>> whole debian mirror.

W> I have a receipt for building a partial mirror on my web page.
W> Some people use the scripts successfully for FAI and other
W> purposes. See http://people.debian.org/~debacle/ [look for
W> partial mirror]

Yes I've read it and I'm currently use that approach. But this
solutions sounds me a little bit hackish, and I'd like something
specifically designed for this porpoise.

Anyhow thanks a lot for you document and scripts, which I found quite
quite useful :)

bye,

free

0 new messages