diff options
author | Francisco Soto | 2018-07-14 17:30:40 -0700 |
---|---|---|
committer | Francisco Soto | 2018-07-14 17:30:40 -0700 |
commit | f0dc07a8aafb9451e5e71bdc8d0d81f3ad62c73e (patch) | |
tree | c8d0f712a92b08e28983f5e77c30f5b5bea7af07 | |
parent | ba418374e592d0c31ab7a6db95dd330830c6171e (diff) | |
download | aur-f0dc07a8aafb9451e5e71bdc8d0d81f3ad62c73e.tar.gz |
Don't alias nvidia. It allows for turning on/off graphics without reboot.
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 4 | ||||
-rw-r--r-- | graphics.patch | 21 |
3 files changed, 22 insertions, 7 deletions
@@ -1,7 +1,7 @@ pkgbase = system76-power pkgdesc = System76 Power Management pkgver = 72 - pkgrel = 2 + pkgrel = 3 url = https://github.com/pop-os/system76-power install = system76-power.install arch = any @@ -14,7 +14,7 @@ pkgbase = system76-power source = graphics.patch source = nvidia-fallback.service sha1sums = SKIP - sha1sums = f87a11659913711009dad5fed9aacc3ed5548853 + sha1sums = 81feb9123571447e5cd66fc0265798ed14137cee sha1sums = 5a81fb98c76cab0cd6e958d6776fca852c5ee4e2 pkgname = system76-power @@ -4,7 +4,7 @@ _pkgname=system76 _pkgbase=system76-power pkgname=system76-power pkgver=72 -pkgrel=2 +pkgrel=3 pkgdesc="System76 Power Management" arch=('any') url="https://github.com/pop-os/system76-power" @@ -23,7 +23,7 @@ source=( ) sha1sums=( 'SKIP' - 'f87a11659913711009dad5fed9aacc3ed5548853' + '81feb9123571447e5cd66fc0265798ed14137cee' '5a81fb98c76cab0cd6e958d6776fca852c5ee4e2' ) diff --git a/graphics.patch b/graphics.patch index 7a608e1fcce8..01c3e45e477c 100644 --- a/graphics.patch +++ b/graphics.patch @@ -1,8 +1,23 @@ ---- src/system76/src/graphics.rs 2018-07-02 00:24:56.431499529 -0700 -+++ src/system76/src/graphics.rs.new 2018-07-02 00:25:55.448165538 -0700 +--- 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 +@@ -12,10 +12,10 @@ + blacklist nvidia + blacklist nvidia-drm + blacklist nvidia-modeset +-alias nouveau off +-alias nvidia off +-alias nvidia-drm off +-alias nvidia-modeset off ++#alias nouveau off ++#alias nvidia off ++#alias nvidia-drm off ++#alias nvidia-modeset off + "#; + + pub struct Graphics { @@ -136,7 +136,7 @@ } - + eprintln!("Updating initramfs"); - let status = process::Command::new("update-initramfs").arg("-u").status()?; + let status = process::Command::new("mkinitcpio").arg("-p").arg("linux").status()?; |