OSTREE-ADMIN-LOCK-FINALIZATION(1)
π ostree-admin-lock-finalization(1) β the lock-finalization glow-up
okay bestie, so this is a page from the ostree admin lock-finalization part of the manual, and it's genuinely a little baddie. let's get into it π
β¨ NAME β¨
ostree-admin-lock-finalization β literally just changing whether a staged deployment gets queued for the next boot. that's the whole vibe check. π
πΈ SYNOPSIS πΈ
ostree admin lock-finalization [OPTIONS...]
π¦ DESCRIPTION π¦
okay so first thing's first: this command requires a staged deployment. no staged deployment, no service π like it's not gonna work without one, periodt.
by default β and this is the main character behaviour of the whole thing β this command makes sure the deployment gets set into a "finalization locked" state. and what does that mean? it means it will not be queued for the next boot by default. it's giving "we're staying right here, thanks." π
highkey important: this is the same thing as the --lock-finalization argument for ostree admin deploy. and ngl, that ostree admin deploy route is the recommended way to use this feature, because it's the race-free way to do it. π (race conditions are NOT the vibe.)
but β and this is the more common scenario, fr fr β usually you're gonna use the --unlock argument on this command to later unlock a deployment that was finalization locked. so like: locked earlier, unlocked now. character development. π
π quick note so you don't clown yourself: this needs a staged deployment. it says so right at the top. don't come for me.
π OPTIONS π
--sysroot="PATH"β points at the path to the system you wanna use instead of the current one. like, "not this system, that system." π«Ά--unlock,-uβ unlocks the deployment finalization state. the un-locking. the freedom era. ποΈ
π the cute sign-off π
and that's the page, bestie β this one's brought to you by OSTree (that's the source/version energy at the bottom of the original, and the OSTREE ADMIN LOCK-F(1) header up top that we folded in here instead of copy-pasting it like a boring person). go forth, lock and unlock responsibly, and remember: race-free or it didn't happen β¨π
π¦ where this page comes from
- arch rolling: ostree 2026.6-1 Β· LGPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms