lp://qastaging/~wesley-wiedenmeier/curtin/trunk.lp1523779
- Get this branch:
- bzr branch lp://qastaging/~wesley-wiedenmeier/curtin/trunk.lp1523779
Branch merges
Related bugs
Bug #1523779: [1.9] grub-install error on power8 deployment | High | Fix Released |
Related blueprints
Branch information
Recent revisions
- 328. By Wesley Wiedenmeier
-
Curtin will now attempt to apply any flag specified for msdos partition tables,
instead of just primary/logical/ extended. This resolves LP:1523779 from
curtin's perspective because curtin can now set up PReP partitions when given a
storage config with one. - 322. By Scott Moser
-
initial hack commit to fix
This makes my install succeed when provided with gpt and a prep partition.
partitioning_commands:
builtin: [curtin, block-meta, custom]
storage:
config:
- {id: sda, model: IPR-0 5EC29C00, name: sda, ptable: gpt, serial: IBM_IPR-0_5EC29C0000000 080, type: disk, wipe: superblock}
- {device: sda, grub_device: true, id: sda-part1, name: sda-part1, number: 1, flag: prep, offset: 4194304B, size: 8388608B, type: partition, wipe: zero}
- {device: sda, id: sda-part2, name: sda-part2, number: 2, offset: 12582912B, size: 283778220032B, type: partition, uuid: 6193de67-6b76-4cb6- bf6d-25518842d5 4b, wipe: superblock}
- devices: [sda-part2]
id: vgroot
name: vgroot
type: lvm_volgroup
uuid: 93d1991a-9631-4051- 81dd-c60d3267f2 3b
- {id: vgroot-lvroot, name: lvroot, size: 283774025728B, type: lvm_partition, volgroup: vgroot}
- {fstype: ext4, id: vgroot-lvroot_ format, label: root, type: format, uuid: efdcbb0b- b9ca-455f- 8cf9-1dbfc82071 7a, volume: vgroot-lvroot}
- {device: vgroot-lvroot_ format, id: vgroot- lvroot_ mount, path: /, type: mount}
version: 1 - 321. By Scott Moser
-
support passing an integer or valid float to human2bytes
We were forcing people to pass 'size' in a config as a string.
human2bytes("100") was fine but human2bytes(100) would raise exception.Seems to make sense for human2bytes to allow int (100) or float (100.0).
floats are allowed if int(size) == size (100.0 is ok, 100.4 is not). - 320. By Ryan Harper
-
Use /proc/mounts to find missing mountpoints
lsblk (notably on trusty) does not find all mountpoints. Augment
block.get_mountpoints( ) lsblk data with mountpoints from proc/mounts.
Refactor reading proc/mounts into common function in block for reuse.Fixes PreciseTestBasic (issues with btrfs on whole disk)
Fixes TrustyTestBasic (issues with dname and ptable)
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp://qastaging/~curtin-dev/curtin/trunk