Source

stacklet / specs / distro / gentoo / gentoo.latest.x86.xenboot.xml

Full commit
<?xml version="1.0"?>
<stk:spec xmlns:stk="http://stacklet.com/specfile/v1"
          xmlns:xi="http://www.w3.org/2001/XInclude">
  <imports>stacklet.task.image.core stacklet.task.distro.gentoo</imports>
  <xi:include href="gentoo.latest.x86.xenboot.properties.xml"/>
  <stk:spec>
    <stk:file>
      <loc>/etc</loc>
      <name>fstab</name>
      <exists>replace</exists>
      <stk:content filters='substitute_props'>
        <loc>_build.assetLoc_</loc>
        <name>fstab.xen</name>
      </stk:content>
    </stk:file>
    <stk:console>
      <name>hvc0</name>
      <init>1235:respawn:/sbin/agetty 38400</init>
    </stk:console>
    <stk:command>
      rm -f /boot/grub/grub.conf;
      sed -i 's/rc_sys=""/rc_sys="xenU"/' /etc/rc.conf
    </stk:command>
    <stk:command>
      unlink /boot/initrd
    </stk:command>
    <stk:kernel>
      <name>kernel-genkernel*</name>
      <options>console=hvc0 root=_image.rootDevice_ ro</options>
      <grubConfig>/boot/grub/grub.conf</grubConfig>
    </stk:kernel>
  </stk:spec>
</stk:spec>