Fix: make raspi3.yaml work with current vmdb2
Add the kpartx step. It is now mandtory for building an image file. (Not necessary if building on a real drive directly.) Use only one set of tag names: boot-part and root-fs. vmdb2 has changed so that partitions and mount points share the same tag name space: there's no need to have a tag for the partition and for the mount point for that partition, anymore. As part of that, there's no need to specify both the partition tag for the root partition, and then also the tag for the mount point for that partition. ea7b9bc1d3e5de362b5edf12603ee83c708ad1a1 is the commit of vmdb2 that this works with.
This commit is contained in:
parent
7137dfb51f
commit
92f08cce01
|
@ -18,18 +18,19 @@ steps:
|
||||||
device: "{{ output }}"
|
device: "{{ output }}"
|
||||||
start: 20%
|
start: 20%
|
||||||
end: 100%
|
end: 100%
|
||||||
part-tag: root-part
|
part-tag: root-fs
|
||||||
|
|
||||||
|
- kpartx: "{{ output }}"
|
||||||
|
|
||||||
- mkfs: vfat
|
- mkfs: vfat
|
||||||
partition: boot-part
|
partition: boot-part
|
||||||
label: RASPIFIRM
|
label: RASPIFIRM
|
||||||
|
|
||||||
- mkfs: ext4
|
- mkfs: ext4
|
||||||
partition: root-part
|
partition: root-fs
|
||||||
label: RASPIROOT
|
label: RASPIROOT
|
||||||
|
|
||||||
- mount: root-part
|
- mount: root-fs
|
||||||
fs-tag: root-fs
|
|
||||||
|
|
||||||
- mount: boot-part
|
- mount: boot-part
|
||||||
mount-on: root-fs
|
mount-on: root-fs
|
||||||
|
|
Loading…
Reference in New Issue