Bug 507

Summary: bootloader-utils-0.1-alt2: configuration options are not read correctly (NOLINK & NOLAUNCH)
Product: Sisyphus Reporter: imz <vanyaz>
Component: bootloader-utilsAssignee: placeholder <placeholder>
Status: CLOSED FIXED QA Contact:
Severity: critical    
Priority: P4 CC: at, boyarsh, glebfm, ldv, placeholder, sem, slazav, vitty, vt
Version: unstable   
Hardware: all   
OS: Linux   
Attachments:
Description Flags
0000507-installkernel-yesparams.patch none

Description imz 2002-02-02 00:13:56 MSK
The file /etc/sysconfig/installkernel describes the options NOLINK &amp; NOLAUNCH; there is said that one should set them to \&quot;yes\&quot; if he wants to enable them.

But the script /sbin/installkernel doesn\'t treat these values correctly: it expects some arguments like \&quot;-n\&quot; rather than \&quot;yes\&quot; as their values.

As a result /sbin/installkernel doesn\'t work correctly when NOLINK=\&quot;yes\&quot; is set in the config file: it tries to make an InitRD image for the kernel version \&quot;yes\&quot; instead of the real version and fails to do so. So no InitRD is created (even when it is needed) and the installed kernel can\'t be booted.

---
Set NOLINK=\&quot;yes\&quot; in /etc/sysconfig/installkernel and install a kernel that requires InitRD on your system.


---
A patch to fix it is attached.
Comment 1 Dmitry V. Levin 2002-03-15 11:39:17 MSK
Thanks,
applied the patch in
bootloader-utils-0.1-alt4
Comment 2 Dmitry V. Levin 2002-03-15 11:39:17 MSK
Thanks,
applied the patch in
bootloader-utils-0.1-alt4