Mailinglist Archive: opensuse-autoinstall (50 mails)
| < Previous | Next > |
[opensuse-autoinstall] Re: Custom kernel
- From: Dan Stromberg <dstromberglists@xxxxxxxxx>
- Date: Fri, 14 Sep 2007 15:37:54 -0700
- Message-id: <pan.2007.09.14.22.37.51.753119@xxxxxxxxx>
OK, I've backed away from adding my kernel RPM's to the existing,
CD-image, at least for now, because it is probably gpg-signed in such a
way that would complicate this.
So instead, I restored my CD image to a pristine state, and created an
addon, which I set up as an installation source in yast.
However, autoyast is not installing my custom kernel. :(
I've tried the following in my autoyast xml file:
<software>
<kernel>kernel</kernel>
<software>
<kernel>kernel-2.6.21.7DRSwashere</kernel>
The first did't try anything but kernel-default, while the second errored
out saying it couldn't find kernel-2.6.21.7DRSwashere and fell back on
kernel-default.
Is my approach reasonable?
What dod I need to put in that kernel tag to get my custom kernel pulled
in?
Thanks!
On Fri, 14 Sep 2007 18:34:12 +0100, Yan Fitterer wrote:
> Never tried this for the kernel, but it works for other packages:
>
> 1) create a new install source
> 2) Add it to your list of sources
> 3) Specify the kernel as per your xml snippet below.
>
> To help with 1) you may want to look at:
>
> http://developer.novell.com/wiki/index.php/Creating_Add-On_Media_with_YaST
>
> Yan
>
>>>> On 14/09/2007 at 17:58, in message
> <33c5a6c30709140958k5217773bj73ebaab3643e3381@xxxxxxxxxxxxxx>, "Dan Stromberg"
> <dstromberglists@xxxxxxxxx> wrote:
>> I have a Linus 2.6.21 kernel packaged up as an RPM, modified slightly
>> to do the grub changes. It's based on a heavily modified
>> kernel-source*.rpm from openSUSE.
>>
>> I'm now trying to get this kernel to be loaded automatically as part
>> of an autoyast install.
>>
>> I dumped the kernel into our RPM repository, but the kernel is not
>> being loaded for some reason. If I remove the kernel-default, I get a
>> kernelless install, so I'm pretty sure I've got the right directory of
>> RPM's.
>>
>> When I look at suse/setup/descr/packages, I don't see my kernel
>> listed. Do I need to run some command to get it added? Does it need
>> to appear in this file?
>>
>> I also tried to add the kernel to the XML controlling the install with:
>> <software>
>> <kernel>kernel-2.6.21.7DRSwashere</kernel>
>>
>> ...however still no luck. BTW, the actual kernel has "DRS-was-here",
>> not "DRSwashere" - in some contexts and not others the software seems
>> to want to strip the dashes.
>>
>> What do I need to do to get this kernel loaded and made the default kernel?
>>
>> Thanks!
--
To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-autoinstall+help@xxxxxxxxxxxx
| < Previous | Next > |