diff options
author | Rubba Reduppa | 2011-08-04 04:55:38 -0700 |
---|---|---|
committer | yar | 2015-07-03 16:57:47 -0700 |
commit | c7348383263f52ddb6444c24742c1fb7e4fcf749 (patch) | |
tree | 9852e8dd630d75053b93f18064d525e6ccd00f46 /linux-linode.install | |
download | aur-c7348383263f52ddb6444c24742c1fb7e4fcf749.tar.gz |
before doing make/nconfig stuff
Rebased to include from descendent commit to make AUR4 happy:
linux-linode.install
linux-linode.preset
Diffstat (limited to 'linux-linode.install')
-rw-r--r-- | linux-linode.install | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/linux-linode.install b/linux-linode.install new file mode 100644 index 000000000000..2f706ae6deda --- /dev/null +++ b/linux-linode.install @@ -0,0 +1,24 @@ +# arg 1: the new package version +# arg 2: the old package version + +KERNEL_NAME= +KERNEL_VERSION=3.0-ARCH + +post_install () { + echo ">>> Updating module dependencies. Please wait ..." + depmod ${KERNEL_VERSION} + echo ">>> Generating initial ramdisk, using mkinitcpio. Please wait..." + mkinitcpio -p linux${KERNEL_NAME} +} + +post_upgrade() { + echo ">>> Updating module dependencies. Please wait ..." + depmod ${KERNEL_VERSION} + echo ">>> Generating initial ramdisk, using mkinitcpio. Please wait..." + mkinitcpio -p linux${KERNEL_NAME} +} + +post_remove() { + rm -f boot/initramfs-linux${KERNEL_NAME}.img + rm -f boot/initramfs-linux${KERNEL_NAME}-fallback.img +} |