diff options
Diffstat (limited to 'kernel26-zen/kernel26-zen.install')
-rw-r--r-- | kernel26-zen/kernel26-zen.install | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/kernel26-zen/kernel26-zen.install b/kernel26-zen/kernel26-zen.install new file mode 100644 index 0000000..acb3711 --- /dev/null +++ b/kernel26-zen/kernel26-zen.install @@ -0,0 +1,24 @@ +KERNEL_VERSION=2.6.34-ZEN-g8d23351-dirty + +post_install () { + echo ">" + echo "> Updating module dependencies. Please wait ..." + + depmod -v ${KERNEL_VERSION} > /dev/null 2>&1 + + echo ">" + echo "> Generating initramfs, using mkinitcpio. Please wait..." + echo ">" + + /sbin/mkinitcpio -p kernel26-zen +} + +post_upgrade() { + post_install +} + +op=$1 +shift +$op $* + +#EOF |