Re: mkosi inside a toolbox container

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Di, 28.06.22 22:01, Ananth Bhaskararaman (antsub@xxxxxxxxx) wrote:

> Has anyone had success using mkosi to generate images inside a
> toolbox container? I'm running Fedora 36 Silverblue.

mkosi needs loopback block devices. They are not virtualized for
containers on Linux. That's a kernel issue.

> I keep getting errors related to systemd not booting up as PID 1,
> misc. systemd-networkd errors, and something about a btrfs device scan
> lacking permissions.
>
> I'd love pointers on how to get this working, or hear from people
> who've tried anything similar.

You have to fix the kernel to properly virtualize block devices for
kernels. Good luck!

Lennart

--
Lennart Poettering, Berlin



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux