summaryrefslogtreecommitdiff
path: root/build-all.sh
blob: b619eb4c5a221c5af2f4612ae61466f9a9712298 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh

set -eu

image()
{
    local img="$1"
    local tarball="$2"

    vmdb2 base.vmdb \
          --output "$img" \
          --verbose \
          --log base.log \
          --rootfs-tarball "$tarball"
#    xz -v1T0 "$img"
}

tarballs="$1"

image debian-sid.img "$tarballs/debian-amd64-unstable.tar.gz"