From ddd8dabe122a4cd82c986f6bd74f18eefe073477 Mon Sep 17 00:00:00 2001 From: Joanna Rutkowska Date: Fri, 8 Apr 2011 23:18:28 +0200 Subject: [PATCH] vaio-fixes: automaitcally add i8042.nopnp kernel arg to grub This is needed to get Sony Vaio Z touchpad working --- rpm_spec/core-dom0.spec | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/rpm_spec/core-dom0.spec b/rpm_spec/core-dom0.spec index 6ff0648c..e796c252 100644 --- a/rpm_spec/core-dom0.spec +++ b/rpm_spec/core-dom0.spec @@ -304,6 +304,12 @@ fi Summary: Additional scripts for supporting suspend on Vaio Z laptops Requires: alsa-utils +%post vaio-fixes +grubby --update-kernel=/boot/vmlinuz-2.6.34.1-14.xenlinux.qubes.x86_64 --args="i8042.nopnp=1" + +%postun vaio-fixes +grubby --update-kernel=/boot/vmlinuz-2.6.34.1-14.xenlinux.qubes.x86_64 --remove-args="i8042.nopnp=1" + %description vaio-fixes Additional scripts for supporting suspend on Vaio Z laptops.