summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2019-12-07 14:48:00 +0200
committerLars Wirzenius <liw@liw.fi>2019-12-07 17:47:21 +0200
commita748d5416226185d341a50846b4ad759ba941871 (patch)
tree2e6058aa387f583273ee5531048fff8aa91c9648
parent0e89de3300a4546f186ec6adc6352c095fc62e6f (diff)
downloadvmdb2-a748d5416226185d341a50846b4ad759ba941871.tar.gz
Fix: uefi example tags so it works
-rwxr-xr-xcheck1
-rw-r--r--uefi.vmdb25
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