updated on Wed Jan 25 12:16:47 UTC 2012
[aur-mirror.git] / linux-next / linux-next.install
blobd79155680c674124040c088aadc07cee814bf750
1 _kernel_version=3.2.0-next-20120106-matt-cfs-00001-gcbbdb02
3 _r="\033[00;31m"
4 _y="\033[00;33m"
5 _g="\033[00;32m"
6 _b="\033[00;34m"
7 _B="\033[01;34m"
8 _W="\033[01;37m"
9 _n="\033[00;0m"
11 post_install() {
12         echo -e ""
13         echo -e "$_B >$_W Kernel version:$_b $_kernel_version$_n"
15         echo -e ""
16         echo -e "$_B >$_W Updating module dependencies$_n"
17         /sbin/depmod "$_kernel_version"
19         echo -e ""
20         echo -e "$_B >$_W Mkinitcpio setup"
21         echo -e "$_n   If you use LVM2, encrypted root or software RAID,"
22         echo -e "$_n   ensure you enable support in $_b/etc/mkinitcpio.d/linux-next.conf"
23         echo -e ""
24         echo -e "$_n   More information about mkinitcpio setup can be found here:"
25         echo -e "$_b   http://wiki.archlinux.org/index.php/Mkinitcpio"
27         echo -e ""
28         echo -e "$_B >$_W Generating initial ramdisks using mkinitcpio$_n"
29         /sbin/mkinitcpio -p linux-next
32 post_upgrade() {
33         post_install $@