diskimage-builder/diskimage_builder/elements/block-device-gpt/block-device-ppc64el.yaml
Ian Wienand adb0341064 Add block-device defaults
This moves the block-device default out of the "vm" element and into a
selection of other elements.  There's "mbr" which retains the status
quo.  There's an EFI version that has the boot/grub partitions as
required.  In between there's the GPT only version, which is useful
for architectures like power without EFI, but still want possible
larger disks using GPT.

Change-Id: I4a566a97d073fc0dda0ab2494ac988fe015800a9
2018-02-23 10:04:40 +11:00

33 lines
809 B
YAML

# Default GPT block device setup for PPC
# --------------------------------------
#
# Details (extracted from [1])
#
# Power Firmware (OFW) scans chosen (nvram value boot-device) device,
# for either PReP* partition or vfat.
#
# PReP is raw and small (8M max) partition which caries only stage1
# binary.
#
# [1] https://www.ibm.com/developerworks/community/wikis/home?lang=en#!/wiki/W51a7ffcf4dfd_4b40_9d82_446ebc23c550/page/PowerLinux%20Boot%20howto
- local_loop:
name: image0
- partitioning:
base: image0
label: gpt
partitions:
- name: boot
type: '0x4100'
size: 8MiB
- name: root
size: 100%
mkfs:
type: ext4
mount:
mount_point: /
fstab:
options: "defaults"
fsck-passno: 1