buildout.cfg 3.29 KB
[buildout]
extends =
  ../attr/buildout.cfg
  ../gnutls/buildout.cfg
  ../libaio/buildout.cfg
  ../libcap/buildout.cfg
  ../libpng/buildout.cfg
  ../libuuid/buildout.cfg
  ../ncurses/buildout.cfg
  ../pkgconfig/buildout.cfg
  ../xorg/buildout.cfg
  ../zlib/buildout.cfg

# XXX Change all reference to kvm section to qemu section, then
# use qemu as main name section.
[qemu]
<= kvm

[kvm]
recipe = slapos.recipe.cmmi
# qemu-kvm and qemu are now the same since 1.3.
url = https://download.qemu.org/qemu-4.1.0.tar.xz
md5sum = cdf2b5ca52b9abac9bacb5842fa420f8
configure-options =
  --target-list="$(uname -m 2>/dev/null|sed 's,^i[456]86$,i386,')-softmmu"
  --enable-system
  --disable-sdl
  --disable-xen
  --disable-vnc-sasl
  --disable-curl
  --enable-kvm
  --enable-linux-aio
  --enable-virtfs
  --disable-docs
  --enable-vnc
  --enable-vnc-png
  --disable-vnc-jpeg
  --extra-cflags="-I${gnutls:location}/include -I${libuuid:location}/include -I${ncurses:location}/include -I${zlib:location}/include -I${libpng:location}/include -I${libaio:location}/include -I${attr:location}/include -I${libcap:location}/include"
  --extra-ldflags="-Wl,-rpath -Wl,${glib:location}/lib -L${glib:location}/lib -Wl,-rpath -Wl,${gnutls:location}/lib -L${gnutls:location}/lib -Wl,-rpath -Wl,${libgpg-error:location}/lib -L${libgpg-error:location}/lib -L${gettext:location}/lib -Wl,-rpath -Wl,${gettext:location}/lib -Wl,-rpath -Wl,${libpng:location}/lib -L${libpng:location}/lib -L${libuuid:location}/lib -Wl,-rpath -Wl,${libuuid:location}/lib -L${libaio:location}/lib -Wl,-rpath=${libaio:location}/lib -L${ncurses:location}/lib -Wl,-rpath=${ncurses:location}/lib -L${zlib:location}/lib -Wl,-rpath -Wl,${zlib:location}/lib -lpng -lz -lgnutls -L${attr:location}/lib -Wl,-rpath=${attr:location}/lib -L${libcap:location}/lib -Wl,-rpath=${libcap:location}/lib"
  --disable-werror
  --disable-xfsctl
environment =
  PATH=${pkgconfig:location}/bin:%(PATH)s
  PKG_CONFIG_PATH=${glib:location}/lib/pkgconfig:${gnutls:location}/lib/pkgconfig:${pcre:location}/lib/pkgconfig:${pixman:location}/lib/pkgconfig
  LDFLAGS=-L${pixman:location}/lib -Wl,-rpath=${pixman:location}/lib

[debian-netinst-base]
recipe = hexagonit.recipe.download
ignore-existing = true
filename = ${:_buildout_section_name_}
url = https://cdimage.debian.org/cdimage/${:release}/${:arch}/iso-cd/debian-${:version}-${:arch}-netinst.iso
release = archive/${:version}
download-only = true
mode = 0644
location = ${buildout:parts-directory}/${:_buildout_section_name_}

[debian-amd64-netinst-base]
<= debian-netinst-base
arch = amd64

[debian-amd64-wheezy-netinst.iso]
<= debian-amd64-netinst-base
version = 7.11.0
md5sum = 096c1c18b44c269808bd815d58c53c8f

[debian-amd64-jessie-netinst.iso]
<= debian-amd64-netinst-base
version = 8.11.1
md5sum = df0ce86d0b1d81e232ad08eef58754ed

[debian-amd64-stretch-netinst.iso]
<= debian-amd64-netinst-base
version = 9.11.0
md5sum = f525f0c3f1c4ca184a604a75dabf4f71

[debian-amd64-netinst.iso]
# Download the installer of Debian 10 (Buster)
# XXX: This is not the latest version because
#      Debian does not provide a stable URL for it.
<= debian-amd64-netinst-base
version = 10.1.0
md5sum = b931ef8736c98704bcf519160b50fd83

[debian-amd64-testing-netinst.iso]
<= debian-amd64-netinst-base
release = daily-builds/daily/20191119-3
version = testing
md5sum = db9e0131f6cfd3eb0aa2b76fddb2f942