migrator: show message while migrating

This commit is contained in:
Harald Sitter
2025-08-07 15:33:33 +02:00
parent 037e14a481
commit 3fed60c4d5

View File

@@ -10,6 +10,11 @@ use dialoguer::{self, Confirm};
fn run(root: &Path, usr: &Path) -> Result<(), Box<dyn Error>> {
env::set_current_dir(root)?;
let _ = Command::new("plymouth")
.arg("display-message")
.arg("--text=Migrating to v2 rootfs. Can take a while.")
.status();
let system_path = root.join("@system");
if system_path.exists() {
println!("@system exists already. Skipping migration.");