Error: Installing to devices ending in numbers fails
miscing opened this issue · comments
miscing commented
When I attempted to install on a loop device it fails before formatting:
Using device: /dev/loop0
Mounting selinuxfs
Mounting devtmpfs
Initializing partitions
Creating filesystem
mke2fs 1.46.5 (30-Dec-2021)
The file /run/bootc/mounts/dev/loop03 does not exist and no size was specified.
I think naming logic for devices does not account for the extra 'p' added to devices ending with a number:
bootc/lib/src/install/baseline.rs
Line 288 in 221e382