summarylogtreecommitdiffstats
path: root/mkinitcpio.patch
diff options
context:
space:
mode:
authorTony Lambiris2022-11-28 16:48:17 -0500
committerTony Lambiris2022-11-28 16:48:17 -0500
commit6bdeb9f067a266b30b3f4ba002d0c63afaa369a8 (patch)
treed344fa0d59116269d169d63cc8f6ba0a995e3ad7 /mkinitcpio.patch
parent5445a600bb633b04a5b0724496d14f9ba5564444 (diff)
downloadaur-6bdeb9f067a266b30b3f4ba002d0c63afaa369a8.tar.gz
Version bump
Diffstat (limited to 'mkinitcpio.patch')
-rw-r--r--mkinitcpio.patch24
1 files changed, 15 insertions, 9 deletions
diff --git a/mkinitcpio.patch b/mkinitcpio.patch
index 8952285be491..e70bce44fb34 100644
--- a/mkinitcpio.patch
+++ b/mkinitcpio.patch
@@ -1,22 +1,28 @@
diff --git a/src/graphics.rs b/src/graphics.rs
-index ebdd9b6..7223a6e 100644
+index 4fecb8b..5974717 100644
--- a/src/graphics.rs
+++ b/src/graphics.rs
-@@ -80,7 +80,7 @@ pub enum GraphicsDeviceError {
+@@ -95,7 +95,7 @@ const EXTERNAL_DISPLAY_REQUIRES_NVIDIA: &[&str] = &[
+ ];
+
+ const SYSTEMCTL_CMD: &str = "systemctl";
+-const UPDATE_INITRAMFS_CMD: &str = "update-initramfs";
++const UPDATE_INITRAMFS_CMD: &str = "mkinitcpio";
+
+ #[derive(Debug, thiserror::Error)]
+ pub enum GraphicsDeviceError {
+@@ -127,7 +127,7 @@ pub enum GraphicsDeviceError {
SysFs(io::Error),
#[error("failed to unbind {} on PCI driver {}: {}", func, driver, why)]
Unbind { func: String, driver: String, why: io::Error },
- #[error("update-initramfs failed with {} status", _0)]
-+ #[error("initramfs update failed with {} status", _0)]
++ #[error("mkinitcpio failed with {} status", _0)]
UpdateInitramfs(ExitStatus),
- }
-
-@@ -427,9 +427,9 @@ impl Graphics {
- }
+ #[error("failed to access Xserver config: {}", _0)]
+ XserverConf(io::Error),
+@@ -535,7 +535,7 @@ impl Graphics {
log::info!("Updating initramfs");
-- const UPDATE_INITRAMFS_CMD: &str = "update-initramfs";
-+ const UPDATE_INITRAMFS_CMD: &str = "mkinitcpio";
let status = process::Command::new(UPDATE_INITRAMFS_CMD)
- .arg("-u")
+ .arg("-P")