Bug 115327

Summary: wrong device.map generated from control-file
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Efthimios Toulas <etoulas>
Component: AutoYaSTAssignee: Jiri Srain <jsrain>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: ug
Version: Beta 4   
Target Milestone: ---   
Hardware: i686   
OS: SUSE Other   
Whiteboard:
Found By: Component Test Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Efthimios Toulas 2005-09-05 16:42:07 UTC
My autoyast installation stops at the point of installing grub with the message:
/boot/grub/device.map:1: error: No open parenthesis found
/boot/grub/device.map:2: error: No open parenthesis found

I can view and edit the device.map inside yast and it looks like this:
/dev/fd0   (fd0)
/dev/sda   (hd0)

After changing it to the following the problem disappears and the installation
goes on.
(fd0)   /dev/fd0
(hd0)   /dev/sda

The concerned part in the control-file looks like:
...
<bootloader>
   <activate config:type="boolean">false</activate>
      <device_map config:type="list">
        <device_map_entry>
          <firmware>(fd0)</firmware>
          <linux>/dev/fd0</linux>
        </device_map_entry>
        <device_map_entry>
          <firmware>(hd0)</firmware>
          <linux>/dev/sda</linux>
        </device_map_entry>
      </device_map>
   ...
</bootloader>
...

I didn't test it with beta4plus yet.
Comment 1 Jiri Srain 2005-09-07 11:11:37 UTC
I just committed fix to CVS and will submit to STABLE in a momoent.