Mailinglist Archive: opensuse-autoinstall (140 mails)

< Previous Next >
Kernel is not installed with empty <packages> tag
Hello everyone,

I'm using the following control file
to perform a SuSE 8.1 autoinstallation:

<?xml version="1.0"?>
<!DOCTYPE profile SYSTEM "/usr/share/YaST2/include/autoinstall/profile.dtd">
<profile xmlns="http://www.suse.com/1.0/yast2ns";
xmlns:config="http://www.suse.com/1.0/configns";>
<configure>
<networking>
<dns>
<dhcp_hostname config:type="boolean">true</dhcp_hostname>
<dhcp_resolv config:type="boolean">true</dhcp_resolv>
<domain>demo-zone.com</domain>
<hostname>praga</hostname>
<nameservers config:type="list">
<nameserver></nameserver>
</nameservers>
<searchlist config:type="list">
</searchlist>
</dns>
<interfaces config:type="list">
<interface>
<bootproto>dhcp</bootproto>
<broadcast></broadcast>
<device>eth0</device>
<ipaddr></ipaddr>
<netmask></netmask>
<network></network>
<options></options>
<remote_ipaddr></remote_ipaddr>
<startmode>onboot</startmode>
<wireless>no</wireless>
</interface>
</interfaces>
<routing>
<ip_forward config:type="boolean">false</ip_forward>
<routes config:type="list">
<route>
<destination>default</destination>
<device>-</device>
<gateway></gateway>
<netmask>-</netmask>
</route>
</routes>
</routing>
</networking>

<runlevels>
<default>5</default>
<services config:type="list"/>
</runlevels>
<scripts>
<post-scripts config:type="list">
</post-scripts>
<pre-scripts config:type="list"/>
</scripts>

<users config:type="list">
<user>
<encrypted config:type="boolean">false</encrypted>
<user_password>changeme</user_password>
<username>root</username>
</user>
</users>
<x11>
<color_depth config:type="integer">16</color_depth>
<configure_x11 config:type="boolean">true</configure_x11>
<display_manager>kdm</display_manager>
<enable_3d config:type="boolean">false</enable_3d>
<monitor>
<display>
<frequency config:type="integer">75</frequency>
<height config:type="integer">768</height>
<max_hsync config:type="integer">60</max_hsync>
<max_vsync config:type="integer">75</max_vsync>
<min_hsync config:type="integer">31</min_hsync>
<min_vsync config:type="integer">50</min_vsync>
<width config:type="integer">1024</width>
</display>
<monitor_device>1024X768@75HZ</monitor_device>
<monitor_vendor> VESA</monitor_vendor>
</monitor>
<resolution>1024x768</resolution>
<start_x11 config:type="boolean">true</start_x11>
</x11>
</configure>
<install>
<bootloader>
<write_bootloader config:type="boolean">true</write_bootloader>
<lba_support config:type="boolean">true</lba_support>
<linear config:type="boolean">false</linear>
<location>mbr</location>
</bootloader>
<general>
<clock>
<hwclock>localtime</hwclock>
<timezone>Europe/Madrid</timezone>
</clock>
<keyboard>
<keymap>spanish</keymap>
</keyboard>
<language>es_ES</language>
<mode>
<confirm config:type="boolean">false</confirm>
<forceboot config:type="boolean">false</forceboot>
<interactive_boot config:type="boolean">false</interactive_boot>
<reboot config:type="boolean">false</reboot>
</mode>
<mouse>
<id>probe</id>
</mouse>
</general>
<partitioning config:type="list" >
<drive>
<device>/dev/hda</device>
<use>all</use>
</drive>
</partitioning>
<report>
<errors>
<log config:type="boolean">true</log>
<show config:type="boolean">true</show>
<timeout config:type="integer">10</timeout>
</errors>
<messages>
<log config:type="boolean">true</log>
<show config:type="boolean">false</show>
<timeout config:type="integer">10</timeout>
</messages>
<warnings>
<log config:type="boolean">true</log>
<show config:type="boolean">false</show>
<timeout config:type="integer">10</timeout>
</warnings>
</report>
<software>
<addons config:type="list">
<addon>Kde</addon>
</addons>
<base>Minimal+X11</base>
<packages config:type="list">
</packages>
</software>

</install>
</profile>

However, when installation finishes,
there is no kernel installed under /boot
(the k_deftl package is not installed).

I have discovered that removing

<packages config:type="list">
</packages>

of the control file, the installation
works fine with the kernel installed.
It seems autoyast2 doen't like an
empty <packages> list.

Somebody have experienced similar
behaviour? What is the cause?
Maybe an autoyast2 bug?

Thanks in advance,

--------
Fermín
Agora Systems, S.A.


< Previous Next >
This Thread
  • No further messages