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 })?;