From a748d5416226185d341a50846b4ad759ba941871 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sat, 7 Dec 2019 14:48:00 +0200 Subject: Fix: uefi example tags so it works --- check | 1 + uefi.vmdb | 25 +++++++++++++------------ 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/check b/check index 290797e..8e14168 100755 --- a/check +++ b/check @@ -3,6 +3,7 @@ set -eu python3 -m CoverageTestRunner --ignore-missing-from=without-tests yarns vmdb + yarn \ --shell=python3 \ --shell-arg '' \ diff --git a/uefi.vmdb b/uefi.vmdb index 4c183e3..c22b132 100644 --- a/uefi.vmdb +++ b/uefi.vmdb @@ -12,39 +12,40 @@ steps: device: "{{ output }}" start: 0% end: 1G - part-tag: efi-part + tag: efi - mkpart: primary device: "{{ output }}" start: 1G end: 100% - part-tag: root-part + tag: / + + - kpartx: "{{ output }}" - mkfs: vfat - partition: efi-part + partition: efi - mkfs: ext4 - partition: root-part + partition: / - - mount: root-part - fs-tag: root-fs + - mount: / - - unpack-rootfs: root-fs + - unpack-rootfs: / - debootstrap: stretch mirror: http://deb.debian.org/debian - target: root-fs + target: / unless: rootfs_unpacked - apt: install packages: - linux-image-amd64 - fs-tag: root-fs + fs-tag: / unless: rootfs_unpacked - - cache-rootfs: root-fs + - cache-rootfs: / unless: rootfs_unpacked - grub: uefi - tag: root-fs - efi: efi-part + tag: / + efi: efi -- cgit v1.2.1