Package: vmdb2
Version: 0.13.2+git20190215-1

I'm trying to build a stretch VM image using autopkgtest's tool:

   autopkgtest-build-qemu  stretch /tmp/autopkgtest-stretch-amd64.qcow2

which under the hood calls

   vmdb2 --verbose --image=/tmp/autopkgtest-stretch-amd64.qcow2.raw /tmp/config

I'm attaching /tmp/config here for reference (in reality it's a temporary
random file name, of course).

This immediately fails with

  Load spec file /tmp/config
  ERROR: No runner implements step with keys grub, root-part, device, console, 
root-fs

This happens in a relatively small sid schroot, so there are no packages like
grub etc. installed. I did try to install grub2, but it doesn't make a
difference.

Apparently there are some missing dependencies/recommends here?

Thanks,

Martin
steps:
  - mkimg: "{{ image }}"
    size: 20G

  - mklabel: msdos
    device: "{{ image }}"

  - mkpart: primary
    device: "{{ image }}"
    start: 0%
    end: 100%
    part-tag: root-part

  - mkfs: ext4
    partition: root-part

  - mount: root-part
    fs-tag: root-fs

  - debootstrap: stretch
    mirror: http://deb.debian.org/debian
    target: root-fs

  - apt: install
    packages:
      - linux-image-amd64
      - ifupdown
    fs-tag: root-fs

  - chroot: root-fs
    shell: |
      passwd --delete root
      useradd --home-dir /home/user --create-home user
      passwd --delete user
      echo host > /etc/hostname
      echo '/dev/sda1 / ext4 errors=remount-ro 0 1' > /etc/fstab

  - grub: bios
    root-fs: root-fs
    root-part: root-part
    device: "{{ image }}"
    console: serial

  - mount-virtual-filesystems: root-fs

  - shell: 'debian/autopkgtest/setup-commands/setup-testbed $ROOT'
    root-fs: root-fs

  - shell: '/bin/true $ROOT'
    root-fs: root-fs

Reply via email to