summaryrefslogtreecommitdiff
path: root/tools/build-on-freebsd
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2018-02-21 16:09:14 -0500
committerScott Moser <smoser@ubuntu.com>2018-02-21 19:13:28 -0500
commitb7497e807fa12a26d4a12aaf1ee9302a4fd24728 (patch)
treec7921169381921ac7a7becc0ec9e6595bea0e8b6 /tools/build-on-freebsd
parent99171fb7b9bec446e25a338a0d36a820844fbc2d (diff)
downloadvyos-cloud-init-b7497e807fa12a26d4a12aaf1ee9302a4fd24728.tar.gz
vyos-cloud-init-b7497e807fa12a26d4a12aaf1ee9302a4fd24728.zip
ds-identify: Fix searching for iso9660 OVF cdroms.
This fixes a bug in parsing of 'blkid -o export' output. The result of the bug meant that DI_ISO9660_DEVS did not get set correctly and is_cdrom_ovf would not identify devices in most cases. The tests are improved to demonstrate both multiple iso devices and also a cdrom that doesn't sort "last" in blkid output. The code change is to use DEVNAME as the record separator when parsing blkid -o export rather than relying on being able to read the empty line. LP: #1749980
Diffstat (limited to 'tools/build-on-freebsd')
0 files changed, 0 insertions, 0 deletions