summarylogtreecommitdiffstats
path: root/graphics.patch
diff options
context:
space:
mode:
Diffstat (limited to 'graphics.patch')
-rw-r--r--graphics.patch30
1 files changed, 22 insertions, 8 deletions
diff --git a/graphics.patch b/graphics.patch
index 01c3e45e477c..22d3ddec75be 100644
--- a/graphics.patch
+++ b/graphics.patch
@@ -1,5 +1,5 @@
---- src/system76/src/graphics.rs 2018-07-14 17:12:09.993043915 -0700
-+++ src/system76/src/graphics.rs.new 2018-07-14 17:12:06.843043959 -0700
+--- src/system76/src/graphics.rs 2018-08-02 15:35:01.827659700 -0700
++++ src/system76/src/graphics.rs.new 2018-08-02 15:34:54.020993125 -0700
@@ -12,10 +12,10 @@
blacklist nvidia
blacklist nvidia-drm
@@ -15,12 +15,26 @@
"#;
pub struct Graphics {
-@@ -136,7 +136,7 @@
+@@ -135,14 +135,14 @@
+ }
}
- eprintln!("Updating initramfs");
+- eprintln!("Updating initramfs");
- let status = process::Command::new("update-initramfs").arg("-u").status()?;
-+ let status = process::Command::new("mkinitcpio").arg("-p").arg("linux").status()?;
- if ! status.success() {
- return Err(io::Error::new(
- io::ErrorKind::Other,
+- if ! status.success() {
+- return Err(io::Error::new(
+- io::ErrorKind::Other,
+- format!("update-initramfs: failed with {}", status)
+- ));
+- }
++ // eprintln!("Updating initramfs");
++ // let status = process::Command::new("update-initramfs").arg("-u").status()?;
++ // if ! status.success() {
++ // return Err(io::Error::new(
++ // io::ErrorKind::Other,
++ // format!("update-initramfs: failed with {}", status)
++ // ));
++ // }
+
+ Ok(())
+ } else {