diskimage-builder/diskimage_builder/block_device
Ian Wienand ed3c5d9711 Actually sort mount-point list
We intended to do an in-place sort of the mount-point list, but
sorted() returns a new list that wasn't captured.  Move to the .sort()
function.

It seems the existing unit-test missed this.  Add a new test taken
from the bug which does exhibit a sorting issue.  Also added a
unit-test of just the comparitor for sanity.

Closes-Bug: 1699437
Change-Id: I8101e4a1804a4af7dbda20d48bf362c3f4ad2742
2017-09-19 11:30:36 +10:00
..
level0 Move rollback into NodeBase object 2017-06-08 17:14:20 +10:00
level1 LVM support for dib-block-device 2017-08-24 16:22:56 +10:00
level2 The correct option for label name in fat and vfat is '-n' 2017-07-15 22:48:52 -04:00
level3 Actually sort mount-point list 2017-09-19 11:30:36 +10:00
level4 Move rollback into NodeBase object 2017-06-08 17:14:20 +10:00
tests Actually sort mount-point list 2017-09-19 11:30:36 +10:00
__init__.py Clear __init__.py from cmd move 2017-05-11 18:52:14 +10:00
blockdevice.py Pass all blockdevices to bootloader 2017-06-08 17:14:22 +10:00
cmd.py Refactor: use lazy logging 2017-05-30 14:39:58 +10:00
config.py Add state to NodeBase class 2017-06-08 17:13:26 +10:00
exception.py Move exception to it's own file (again) 2017-05-20 06:44:39 +00:00
plugin.py Move rollback into NodeBase object 2017-06-08 17:14:20 +10:00
utils.py Refactor mount-point sorting 2017-05-31 11:05:50 +10:00