KERNEL_NAME=
KERNEL_VERSION=`/bin/uname -r`

post_install () {
  # updating module dependencies
  echo ">>> Updating module dependencies. Please wait ..."
  /sbin/depmod $KERNEL_VERSION 
  # generate init ramdisks
  echo ">>> Generating ramdisk, using mkinitcpio.  Please wait..."
  /sbin/mkinitcpio -p kernel26${KERNEL_NAME}
}

post_upgrade() {
  post_install
}

post_remove() {
  post_install
}