updated on Mon Jan 9 08:00:21 UTC 2012
[aur-mirror.git] / longene / longene.install
blob298dbc16c346e3f9e14ed2b14fd984864f5cdad7
1 KERNEL_NAME=longene
2 KERNEL_VERSION=2.6.30-uk
4 post_install () {
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 ..."
11   # kernel 2.6.24       
12 #  depmod -v $KERNEL_VERSION > /dev/null 2>&1
13   # kenel 2.6.28
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"
22   echo ""
23   echo ">>> Generating initial ramdisk, using mkinitcpio.  Please wait..."
24   /sbin/mkinitcpio -p longene
27 post_upgrade() {
28     post_install $1
32 post_remove() {
33   rm -rf /etc/unifiedkernel
38 op=$1
39 shift
41 $op $*