Commits

stacklet  committed d5d54e3

Parameterize kernel package; tweak initrd modules

  • Participants
  • Parent commits 59b9776

Comments (0)

Files changed (2)

File specs/distro/slackware/14/assets/slackware.14-0.x86-64/xenboot.properties.xml

 <stk:properties xmlns:stk="http://stacklet.com/v1">
   <stk:property name="_image.kernel_" value="kernel-xen-3.2.27-x86_64-1.txz"/>
+  <stk:property name="_image.kernelModulesPackage_" value="kernel-modules"/>
 </stk:properties>

File specs/distro/slackware/14/slackware.xenboot.xml

     </stk:command>
     <stk:package proxy='_proxy_'>
       <add>
-        kernel-modules
+        _image.kernelModulesPackage_
       </add>
     </stk:package>
     <stk:command>
       installpkg /root/_image.kernel_
     </stk:command>
     <stk:command>
-      cd /boot; mkinitrd -m ext2 -k `ls /lib/modules/` -f ext4 -r /dev/xvda -o initrd
+      cd /boot; mkinitrd -m ext3:ext4 -k `ls /lib/modules/` -f ext4 -r /dev/xvda -o initrd
     </stk:command>
     <stk:kernel>
       <name>vmlinuz-*</name>