Fix debian-buster partition config
There was a lack of indentation which led to: Traceback (most recent call last): File "/usr/local/bin/dib-block-device", line 11, in <module> sys.exit(main()) File "/usr/local/lib/python3.5/dist-packages/diskimage_builder/block_device/cmd.py", line 120, in main return bdc.main() File "/usr/local/lib/python3.5/dist-packages/diskimage_builder/block_device/cmd.py", line 115, in main self.args.func() File "/usr/local/lib/python3.5/dist-packages/diskimage_builder/block_device/cmd.py", line 30, in cmd_init self.bd.cmd_init() File "/usr/local/lib/python3.5/dist-packages/diskimage_builder/block_device/blockdevice.py", line 260, in cmd_init self.config = config_tree_to_graph(self.config) File "/usr/local/lib/python3.5/dist-packages/diskimage_builder/block_device/config.py", line 134, in config_tree_to_graph "Config entry top-level should be a single dict: %s" % entry) diskimage_builder.block_device.exception.BlockDeviceSetupException: Config entry top-level should be a single dict: { 'base': 'image0', 'partitioning': None, 'partitions': [{'flags': ['boot', 'primary'], 'mkfs': {'mount': {'fstab': {'options': 'defaults,nobarrier,noatime', 'fsck-passno': 1}, 'mount_point': '/'}}, 'size': '100%', 'name': 'root'}], 'label': 'mbr'} Note the paritioning value is None rather than a dict with those keys in it. Change-Id: I543222402a8e4d08cf075b2ed7f7c45d705799ca
This commit is contained in:
parent
d716ed99d0
commit
4df89b9be5
@ -227,18 +227,18 @@ diskimages:
|
||||
name: image0
|
||||
|
||||
- partitioning:
|
||||
base: image0
|
||||
label: mbr
|
||||
partitions:
|
||||
- name: root
|
||||
flags: [ boot, primary ]
|
||||
size: 100%
|
||||
mkfs:
|
||||
mount:
|
||||
mount_point: /
|
||||
fstab:
|
||||
options: "defaults,nobarrier,noatime"
|
||||
fsck-passno: 1
|
||||
base: image0
|
||||
label: mbr
|
||||
partitions:
|
||||
- name: root
|
||||
flags: [ boot, primary ]
|
||||
size: 100%
|
||||
mkfs:
|
||||
mount:
|
||||
mount_point: /
|
||||
fstab:
|
||||
options: "defaults,nobarrier,noatime"
|
||||
fsck-passno: 1
|
||||
- name: fedora-29
|
||||
pause: false
|
||||
elements:
|
||||
|
Loading…
Reference in New Issue
Block a user