Skip to content

Commit

Permalink
Force writing the timezone
Browse files Browse the repository at this point in the history
  • Loading branch information
imobachgs committed Dec 1, 2023
1 parent bb1c038 commit bc6cf82
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion rust/agama-dbus-server/src/locale.rs
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,13 @@ impl Locale {
.status()
.context("Failed to execute systemd-firstboot")?;
Command::new("/usr/bin/systemd-firstboot")
.args(["--root", ROOT, "--timezone", self.timezone.as_str()])
.args([
"--root",
ROOT,
"--force",
"--timezone",
self.timezone.as_str(),
])
.status()
.context("Failed to execute systemd-firstboot")?;

Expand Down

0 comments on commit bc6cf82

Please sign in to comment.