summarylogtreecommitdiffstats
path: root/mkinitcpio.patch
diff options
context:
space:
mode:
authorTony Lambiris2021-08-04 22:56:57 -0400
committerTony Lambiris2021-08-04 22:56:57 -0400
commit6b4d9bbe19e77eefafbe7514e1e7021853fbc8b0 (patch)
tree924c5ae5ba8e98368e3c61d236207957947dac98 /mkinitcpio.patch
parentdab1873f19851395d945320798e2362a4a1428fc (diff)
downloadaur-6b4d9bbe19e77eefafbe7514e1e7021853fbc8b0.tar.gz
Version bump
Diffstat (limited to 'mkinitcpio.patch')
-rw-r--r--mkinitcpio.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/mkinitcpio.patch b/mkinitcpio.patch
new file mode 100644
index 000000000000..fee4a47c8677
--- /dev/null
+++ b/mkinitcpio.patch
@@ -0,0 +1,22 @@
+--- a/src/graphics.rs
++++ b/src/graphics.rs
+@@ -76,7 +76,7 @@ pub enum GraphicsDeviceError {
+ SysFs(io::Error),
+ #[error(display = "failed to unbind {} on PCI driver {}: {}", func, driver, why)]
+ Unbind { func: String, driver: String, why: io::Error },
+- #[error(display = "update-initramfs failed with {} status", _0)]
++ #[error(display = "failed to update initramfs: exit status {}", _0)]
+ UpdateInitramfs(ExitStatus),
+ }
+
+@@ -423,9 +423,9 @@ 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")
+ .status()
+ .map_err(|why| GraphicsDeviceError::Command { cmd: UPDATE_INITRAMFS_CMD, why })?;