1 KERNEL_VERSION=3.1.6-netbook
5 echo -e ">> You can find binary packages in my new repo:"
7 echo -e "Server = http://dl.dropbox.com/u/794061/arch/"
12 if [ -e /boot/kernel-netbook.img ] ; then
14 echo -e ">> The name of the initrd file has changed!"
15 echo -e ">> Please consider to edit your menu.lst and"
16 echo -e ">> change kernel-netbook.img to initramfs-netbook.img"
22 #if the netbook is an eeepc 901 (atom with ssd) add this file
23 if [ "$(dmidecode -s system-product-name | sed 's/[ \t]*$//')" = 901 ] ; then
24 if [ ! -d /etc/udev/rules.d/ ] ; then
25 mkdir -p /etc/udev/rules.d/
27 echo '# ensure our SSD drive is set up as non-rotational
28 ACTION=="add" SUBSYSTEM=="block", SUBSYSTEMS=="pci", ATTRS{subsystem_vendor}=="0x1043", ATTRS{subsystem_device}=="0x82d8", ATTR{queue/rotational}="0"
29 ACTION=="add" SUBSYSTEM=="block", SUBSYSTEMS=="pci", ATTRS{subsystem_vendor}=="0x1043", ATTRS{subsystem_device}=="0x830f", ATTR{queue/rotational}="0"' > /etc/udev/rules.d/61-eee-ssd.rules
33 echo -e ">> Updating module dependencies"
34 depmod -a -v $KERNEL_VERSION > /dev/null 2>&1
36 echo -e ">> If you don't need the headers you can remove them with:"
37 echo -e ">> pacman -R kernel-netbook-headers"
39 echo -e ">> Project page and Issues report:"
40 echo -e ">> http://code.google.com/p/kernel-netbook/"
46 echo -e ">> Updating module dependencies"
47 depmod -a -v $KERNEL_VERSION > /dev/null 2>&1
49 echo -e ">> Project page and Issues report:"
50 echo -e ">> http://code.google.com/p/kernel-netbook/"