Source

stacklet / specs / distro / slackware / 14 / slackware.lightweight.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.user.password stacklet.task.distro.slack stacklet.task.distro.slack14</imports>
  <xi:include href="slackware.lightweight.properties.xml"/>
  <stk:properties>
    <name>properties.xml</name>
  </stk:properties>
  <stk:spec>
    <stk:directory>
      <loc>/bootstrap</loc>
    </stk:directory>
    <stk:file>
      <loc>/bootstrap</loc>
      <name>corePackages</name>
      <stk:content>
        <loc>_build.assetLoc_</loc>
        <name>corePackages</name>
      </stk:content>
    </stk:file>
    <stk:bootstrap proxy='_proxy_'>
      <url>_bootstrap.url_</url>
      <repository>_bootstrap.repository_</repository>
      <arch>_slackpkg.arch_</arch>
    </stk:bootstrap>
    <stk:file>
      <loc>/etc</loc>
      <name>fstab</name>
      <exists>replace</exists>
      <stk:content filters='substitute_props'>
        <loc>_build.assetLoc_</loc>
        <name>fstab</name>
      </stk:content>
    </stk:file>
    <stk:file>
      <loc>/etc</loc>
      <name>hosts</name>
      <stk:content>
        <loc>_build.assetLoc_</loc>
        <name>hosts</name>
      </stk:content>
    </stk:file>
    <stk:file>
      <loc>/etc</loc>
      <name>HOSTNAME</name>
      <exists>replace</exists>
      <stk:content filters='substitute_props'>
        <loc>_build.assetLoc_</loc>
        <name>HOSTNAME</name>
      </stk:content>
    </stk:file>
    <stk:package proxy='_proxy_'>
      <add>
        aaa_terminfo
        acpid
        cpio
        curl
        cxxlibs
        cyrus-sasl-2
        dcron
        dhcp
        dhcpcd
        dialog
        diffutils
        e2fsprogs
        elvis
        file-5
        findutils
        fontconfig
        gdbm
        gd
        gettext
        getty-ps
        glib2
        glibc-i18n
        glibc-solibs
        glibc-zoneinfo
        gnupg
        gpgme
        groff
        grub
        inetd
        iproute2
        iptables
        iputils
        kbd
        kmod
        ksh93
        less
        libassuan
        libffi
        libgpg-error
        libICE
        libidn
        libSM
        libX11
        libXau
        libXaw
        libxcb
        libXdmcp
        libXext
        libXmu
        libXp
        libXpm
        libXt
        libxml2
        logrotate
        lsof
        mailx
        man
        man-pages
        mkinitrd
        nano
        ncurses
        net-tools
        network-scripts
        openssh
        openssl
        perl-5
        popt
        procps
        python-2
        readline
        rsync
        screen-4
        shadow
        sudo
        sysklogd
        sysvinit
        texinfo
        traceroute
        tree
        udev
        utempter
        vim-7
        zlib
        zsh
      </add>
    </stk:package>
    <stk:command>
      slackpkg update gpg
    </stk:command>
    <stk:package proxy='_proxy_'>
      <update>all</update>
    </stk:package>
    <stk:command>
      sed -i.save -e 's/USE_DHCP\[0\]=""/USE_DHCP\[0\]="yes"/' /etc/rc.d/rc.inet1.conf
    </stk:command>
    <stk:password>
      <user>root</user>
      <password>password</password>
    </stk:password>
    <stk:directory>
      <loc>/boot/grub</loc>
    </stk:directory>
    <stk:command>
      ln -sf /usr/share/zoneinfo/Etc/UTC /etc/localtime;
    </stk:command>
  </stk:spec>
</stk:spec>