]> git.ipfire.org Git - thirdparty/mkosi.git/commit
mkosi: in UsrOnly=yes mode, generate a mount.usr= kernel cmdline switch 693/head
authorLennart Poettering <lennart@poettering.net>
Wed, 7 Apr 2021 12:43:05 +0000 (14:43 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 15 Apr 2021 10:23:45 +0000 (12:23 +0200)
commit728ee4dae31dbbbc8cbe342eeb01f89fab4be8e7
treed0a3943a5b254169b577aeca8f06e430d5da3d1e
parent0046e9eb32ed036789f9f0d72c8327b8b3c057a5
mkosi: in UsrOnly=yes mode, generate a mount.usr= kernel cmdline switch

So far, we relied on gpt-auto's logic to automatically find the root fs
on the image. This is not supported for finding the /usr partition
though, hence generate a mount.usr= kernel cmdline option to address
this.

(And it's unlikely we'll add auto-discovery for /usr, since we cannot
realistically decide whether its worth waiting for /usr. After all we
*know* we can't proceed without a rootfs, hence it makes sense to
generically wait for one if we never got one configured one. But a /usr
partition is an optional thing, hence it doesn't make sense to wait for
it if we didn#t get told about it)
mkosi/__init__.py