]> git.ipfire.org Git - thirdparty/mkosi.git/commit
Replace blockdev --reread-pt by manually adding partitions 1130/head
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 18 Aug 2022 20:51:53 +0000 (22:51 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 18 Aug 2022 21:05:44 +0000 (23:05 +0200)
commitcf3adb42b9427b76bb68c1263466429560962272
treebf7d3e4230d2931bca04e7fbcdac2ea00ef8b0fd
parent3e654646583624df28ad277aa74bde8c0161ab71
Replace blockdev --reread-pt by manually adding partitions

Instead of relying on blockdev, let's use our own infra to make
sure all partitions have appeared after we modify the partition
table. This should hopefully reduce the number of race conditions
involved with modifying the partition table and loop devices.
mkosi/__init__.py
mkosi/backend.py