Files
diskimage-builder/diskimage_builder
Ian Wienand b97b424aa4 block_device: remove cmp_mount_order
This comparator is buggy, and orders differently on python 3.13

 $ python3.14 ./test.py
 [('/', 'fake_name'), ('/var/log', 'fake_log'), ('/boot', 'fake_boot'), ('/var', 'fake_name')]

 $ python3.10 ./test.py
 [('/', 'fake_name'), ('/var', 'fake_name'), ('/var/log', 'fake_log'), ('/boot', 'fake_boot')]

It is saying that if it's not equal, or doesn't start with the same
prefix, it is bigger.  Hence "/boot > /var" but also "/var > /boot"
which confuses things.

I really think what we want here is to ensure that parents mount
before children.  So string comparision is fine?  "/var < /var/log <
/var/log/foo"?

Replace it with that

Change-Id: Ieac277c90b13bdb8b2c651b17fa4617ac4c1b845
Signed-off-by: Ian Wienand <iwienand@redhat.com>
2026-02-12 19:39:19 +00:00
..
2025-04-02 21:09:30 +00:00
2024-02-02 11:29:25 +09:00
2014-07-21 10:15:41 +02:00
2024-10-29 14:53:59 +09:00