summarylogtreecommitdiffstats
path: root/graphics.patch
blob: e9ba30e4cbc655e2611d9373fdaade2ad518e110 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
diff --git a/src/graphics.rs b/src/graphics.rs
index d9d8af7..a8cb466 100644
--- a/src/graphics.rs
+++ b/src/graphics.rs
@@ -248,10 +248,10 @@ impl Graphics {
             warn!("systemctl: failed with {} (not an error if service does not exist!)", status);
         }
 
-        info!("Updating initramfs");
-        const UPDATE_INITRAMFS_CMD: &str = "update-initramfs";
+        info!("Updating mkinitcpio");
+        const UPDATE_INITRAMFS_CMD: &str = "mkinitcpio";
         let status = process::Command::new(UPDATE_INITRAMFS_CMD)
-            .arg("-u")
+            .arg("-P")
             .status()
             .map_err(|why| GraphicsDeviceError::Command { cmd: UPDATE_INITRAMFS_CMD, why })?;