diff options
author | Florian Reimair | 2018-11-05 17:12:15 +0100 |
---|---|---|
committer | Florian Reimair | 2018-11-05 17:33:14 +0100 |
commit | 130c250e0c7fba78f5b0e2e30637e9713844537d (patch) | |
tree | a6db126e606b820794fe18bb4291a877ab9c3a90 /linux.install | |
parent | 3c724c575ebdb841de667530672f07edd86880d7 (diff) | |
download | aur-130c250e0c7fba78f5b0e2e30637e9713844537d.tar.gz |
sourced https://github.com/czheji/linux-surface to make kernel 4.18.8 work
Diffstat (limited to 'linux.install')
-rw-r--r-- | linux.install | 70 |
1 files changed, 3 insertions, 67 deletions
diff --git a/linux.install b/linux.install index b7f8ef5d9d86..0b585aa99134 100644 --- a/linux.install +++ b/linux.install @@ -1,79 +1,15 @@ -post_install () { - # updating module dependencies - echo ">>> Updating module dependencies. Please wait ..." - depmod %KERNVER% - - firmware_instruct +post_install() { + /usr/bin/%PKGBASE%-firmware } post_upgrade() { if findmnt --fstab -uno SOURCE /boot &>/dev/null && ! mountpoint -q /boot; then echo "WARNING: /boot appears to be a separate partition but is not mounted." fi - - firmware_instruct + /usr/bin/%PKGBASE%-firmware } post_remove() { rm -f boot/initramfs-%PKGBASE%.img rm -f boot/initramfs-%PKGBASE%-fallback.img } - - -firmware_instruct() { - - echo -e " - #### Firmware Installation Instructions #### - - - ## WIFI ## - - Install the latest Marvell firmware: - - $ git clone git://git.marvell.com/mwifiex-firmware.git - $ sudo mkdir -p /lib/firmware/mrvl/ - $ sudo cp mwifiex-firmware/mrvl/* /lib/firmware/mrvl/ - - - ## IPTS / Touchscreen ## - - To enable the touchscreen to function properly, - the proper firmware for your device must be downloaded. - - i915 Firmware: - https://github.com/jakeday/linux-surface/raw/master/i915_firmware.zip - - Extract i915_firmware.zip to /lib/firmware/i915/: - - $ sudo mkdir -p /lib/firmware/i915 - $ sudo unzip i915_firmware.zip -d /lib/firmware/i915/ - - - IPTS Firmware: - - v76 for the Surface Book - https://github.com/jakeday/linux-surface/raw/master/ipts_firmware_v76.zip - - v78 for the Surface Pro 4 - https://github.com/jakeday/linux-surface/raw/master/ipts_firmware_v78.zip - - v79 for the Surface Laptop - https://github.com/jakeday/linux-surface/raw/master/ipts_firmware_v79.zip - - v101 for Surface Book 2 15\" - https://github.com/jakeday/linux-surface/raw/master/ipts_firmware_v101.zip - - v102 for the Surface Pro 2017 - https://github.com/jakeday/linux-surface/raw/master/ipts_firmware_v102.zip - - v137 for the Surface Book 2 13\" - https://github.com/jakeday/linux-surface/raw/master/ipts_firmware_v137.zip - - - Extract ipts_firmware_[VERSION].zip to /lib/firmware/intel/ipts/ - - $ sudo mkdir -p /lib/firmware/intel/ipts - $ sudo unzip ipts_firmware_[VERSION].zip -d /lib/firmware/intel/ipts/ - - " -}
\ No newline at end of file |