containers / bootc

Boot and upgrade via container images

Home Page:https://containers.github.io/bootc/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error: Installing to devices ending in numbers fails

miscing opened this issue · comments

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:

let base_rootdev = format!("{device}{ROOTPN}");