Making simple-cdd pull another kernel from repository

View: New views
4 Messages — Rating Filter:   Alert me  

Making simple-cdd pull another kernel from repository

by Lucas Brasilino-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi

First of all, I'm using simple-cdd from lenny to create etch images.

I'm looking around how can I make simple-cdd pull another kernel
version (etchnhalf) from repository. I've
already tested some way through preseeding, etc, with no success.
If I put the newer kernel in local-packages, the image installs both
kernels (2.6.18 and the newer one), which
is undesirable.

As I can see, simple-cdd pulls
'pool/main/l/linux-latest-2.6/linux-image-2.6-486_<version>.deb'
package.
I'd like to make it pull another package, maybe
'pool/main/l/linux-latest-2.6-etchnhalf/linux-image-2.6-486-etchnhalf_<version>.deb'.

I searched at default.packages (and in other preconfigured *.packages)
and did't see any entry to 'linux-image'.

How can I configure simple-cdd to pull another kernel ?

Thanks a lot in advance
Lucas Brasilino


--
To UNSUBSCRIBE, email to debian-custom-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: Making simple-cdd pull another kernel from repository

by Lucas Brasilino-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi

As I could see, the
$simple_cdd_dir/tmp/debian-cd/tools/generate_di+k_list generates
a list that contains the linux-image-2.6-486 package, which makes
debian-cd to pull it from repository.

I gonna try to make a new linux-image-2.6-486 package which will
depend on my custom kernel package... Let's see if it will work :-)

regards
Lucas Brasilino


2009/3/4 Lucas Brasilino <lucas.brasilino@...>:

> Hi
>
> First of all, I'm using simple-cdd from lenny to create etch images.
>
> I'm looking around how can I make simple-cdd pull another kernel
> version (etchnhalf) from repository. I've
> already tested some way through preseeding, etc, with no success.
> If I put the newer kernel in local-packages, the image installs both
> kernels (2.6.18 and the newer one), which
> is undesirable.
>
> As I can see, simple-cdd pulls
> 'pool/main/l/linux-latest-2.6/linux-image-2.6-486_<version>.deb'
> package.
> I'd like to make it pull another package, maybe
> 'pool/main/l/linux-latest-2.6-etchnhalf/linux-image-2.6-486-etchnhalf_<version>.deb'.
>
> I searched at default.packages (and in other preconfigured *.packages)
> and did't see any entry to 'linux-image'.
>
> How can I configure simple-cdd to pull another kernel ?
>
> Thanks a lot in advance
> Lucas Brasilino
>


--
To UNSUBSCRIBE, email to debian-custom-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: Making simple-cdd pull another kernel from repository

by Lucas Brasilino-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi

I've managed to include the etchnhalf kernel (2.6.24) into the image.
To do so I've copied debian-cd files to a directory in my simple_cdd_dir
and added to my-profile.conf:

debian_cd_dir="/path/to/simple_cdd_dir/debian-cd"

Then I configured debian-cd/tools/generate_di+k_list, in i386 arch section as:

linux-image-2.6-486-etchnhalf
linux-headers-2.6-486-etchnhalf
linux-image-2.6-686-etchnhalf
linux-headers-2.6-686-etchnhalf

And it works. The strange thing is that I had to add linux-images and
linux-headers
packages to my-profile.packages. I thought configuring debian-cd it
should pull those kernels from repository. But, anyway, it worked.

regards
Lucas Brasilino

2009/3/4 Lucas Brasilino <lucas.brasilino@...>:

> Hi
>
> As I could see, the
> $simple_cdd_dir/tmp/debian-cd/tools/generate_di+k_list generates
> a list that contains the linux-image-2.6-486 package, which makes
> debian-cd to pull it from repository.
>
> I gonna try to make a new linux-image-2.6-486 package which will
> depend on my custom kernel package... Let's see if it will work :-)
>
> regards
> Lucas Brasilino
>
>
> 2009/3/4 Lucas Brasilino <lucas.brasilino@...>:
>> Hi
>>
>> First of all, I'm using simple-cdd from lenny to create etch images.
>>
>> I'm looking around how can I make simple-cdd pull another kernel
>> version (etchnhalf) from repository. I've
>> already tested some way through preseeding, etc, with no success.
>> If I put the newer kernel in local-packages, the image installs both
>> kernels (2.6.18 and the newer one), which
>> is undesirable.
>>
>> As I can see, simple-cdd pulls
>> 'pool/main/l/linux-latest-2.6/linux-image-2.6-486_<version>.deb'
>> package.
>> I'd like to make it pull another package, maybe
>> 'pool/main/l/linux-latest-2.6-etchnhalf/linux-image-2.6-486-etchnhalf_<version>.deb'.
>>
>> I searched at default.packages (and in other preconfigured *.packages)
>> and did't see any entry to 'linux-image'.
>>
>> How can I configure simple-cdd to pull another kernel ?
>>
>> Thanks a lot in advance
>> Lucas Brasilino
>>
>


--
To UNSUBSCRIBE, email to debian-custom-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: Making simple-cdd pull another kernel from repository

by Vagrant Cascadian :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, Mar 04, 2009 at 11:59:17AM -0300, Lucas Brasilino wrote:

> First of all, I'm using simple-cdd from lenny to create etch images.
>
> I'm looking around how can I make simple-cdd pull another kernel
> version (etchnhalf) from repository. I've
> already tested some way through preseeding, etc, with no success.
> If I put the newer kernel in local-packages, the image installs both
> kernels (2.6.18 and the newer one), which
> is undesirable.
>
> As I can see, simple-cdd pulls
> 'pool/main/l/linux-latest-2.6/linux-image-2.6-486_<version>.deb'
> package.
> I'd like to make it pull another package, maybe
> 'pool/main/l/linux-latest-2.6-etchnhalf/linux-image-2.6-486-etchnhalf_<version>.deb'.

see /usr/share/simple-cdd/profiles/vserver.* for an example of how to do it.

try:

  echo linux-image-2.6-486-etchnhalf  >> profiles/MYPROFILE.downloads
  echo kernel_packages=linux-image-2.6-486-etchnhalf >> profiles/MYPROFILE.conf
  echo base-installer  base-installer/kernel/image select  linux-image-2.6-486-etchnhalf >> profiles/MYPROFILE.preseed

i'm not sure if that preseed line works with etch; preseeding kernels was
broken for the etch debian-installer.

there's also the --kernel-packages commandline option, which is the same as
putting kernel_packages in a profiles/*.conf file.

for a list of commandline options, try:

  build-simple-cdd --help

most commandline options are configuration variables that can be put in
profiles/*.conf, substituting - for _ (--kernel-packages commandline is
kernel_packages configuration option).

live well,
  vagrant


--
To UNSUBSCRIBE, email to debian-custom-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...