summaryrefslogtreecommitdiff
path: root/libre-testing/linux-libre/linux.install
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2015-05-01 04:12:16 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2015-05-01 04:12:16 -0300
commitc597e34a9eb5b621b25948a2dee839c0373c9a06 (patch)
tree4ca33e37c998b980263797deab1bb7c492db23a4 /libre-testing/linux-libre/linux.install
parent6cbb4856878cd40a98b794d44c499ce24919ba9f (diff)
parent21888545b93caafc0f72de189b74712deed0a8bf (diff)
Merge branch 'master' of ssh://projects.parabola.nu:1863/~git/abslibre/abslibre
Diffstat (limited to 'libre-testing/linux-libre/linux.install')
-rw-r--r--libre-testing/linux-libre/linux.install37
1 files changed, 0 insertions, 37 deletions
diff --git a/libre-testing/linux-libre/linux.install b/libre-testing/linux-libre/linux.install
deleted file mode 100644
index 32514d892..000000000
--- a/libre-testing/linux-libre/linux.install
+++ /dev/null
@@ -1,37 +0,0 @@
-# arg 1: the new package version
-# arg 2: the old package version
-
-KERNEL_NAME=
-KERNEL_VERSION=
-
-post_install () {
- # updating module dependencies
- echo ">>> Updating module dependencies. Please wait ..."
- depmod ${KERNEL_VERSION}
- echo ">>> Generating initial ramdisk, using mkinitcpio. Please wait..."
- mkinitcpio -p linux-libre${KERNEL_NAME}
-}
-
-post_upgrade() {
- if findmnt --fstab -uno SOURCE /boot &>/dev/null && ! mountpoint -q /boot; then
- echo "WARNING: /boot appears to be a separate partition but is not mounted."
- fi
-
- # updating module dependencies
- echo ">>> Updating module dependencies. Please wait ..."
- depmod ${KERNEL_VERSION}
- echo ">>> Generating initial ramdisk, using mkinitcpio. Please wait..."
- mkinitcpio -p linux-libre${KERNEL_NAME}
-
- if [ $(vercmp $2 3.13) -lt 0 ]; then
- echo ">>> WARNING: AT keyboard support is no longer built into the kernel."
- echo ">>> In order to use your keyboard during early init, you MUST"
- echo ">>> include the 'keyboard' hook in your mkinitcpio.conf."
- fi
-}
-
-post_remove() {
- # also remove the compat symlinks
- rm -f boot/initramfs-linux-libre${KERNEL_NAME}.img
- rm -f boot/initramfs-linux-libre${KERNEL_NAME}-fallback.img
-}