2 KERNEL_VERSION=2.6.30-uk
5 mkdir /etc/unifiedkernel
6 echo $HOME > /etc/unifiedkernel/home
7 echo $SUDO_USER > /etc/unifiedkernel/user
9 # updating module dependencies
10 echo ">>> Updating module dependencies. Please wait ..."
12 # depmod -v $KERNEL_VERSION > /dev/null 2>&1
14 depmod $KERNEL_VERSION
15 # generate init ramdisks
16 echo ">>> MKINITCPIO SETUP"
17 echo ">>> ----------------"
18 echo ">>> If you use LVM2, Encrypted root or software RAID,"
19 echo ">>> Ensure you enable support in /etc/mkinitcpio.conf ."
20 echo ">>> More information about mkinitcpio setup can be found here:"
21 echo ">>> http://wiki.archlinux.org/index.php/Mkinitcpio"
23 echo ">>> Generating initial ramdisk, using mkinitcpio. Please wait..."
24 /sbin/mkinitcpio -p longene
33 rm -rf /etc/unifiedkernel