summarylogtreecommitdiffstats
path: root/linux-aarch64-raspberrypi-4.14.install
diff options
context:
space:
mode:
Diffstat (limited to 'linux-aarch64-raspberrypi-4.14.install')
-rw-r--r--linux-aarch64-raspberrypi-4.14.install25
1 files changed, 25 insertions, 0 deletions
diff --git a/linux-aarch64-raspberrypi-4.14.install b/linux-aarch64-raspberrypi-4.14.install
new file mode 100644
index 000000000000..22e4ac83f6da
--- /dev/null
+++ b/linux-aarch64-raspberrypi-4.14.install
@@ -0,0 +1,25 @@
+# arg 1: the new package version
+# arg 2: the old package version
+
+KERNEL_NAME=-aarch64-raspberrypi-4.14
+KERNEL_VERSION=4.14.95-1-v8-640f592e9163+
+
+post_install () {
+ # updating module dependencies
+ echo ">>> Updating module dependencies. Please wait ..."
+ depmod ${KERNEL_VERSION}
+}
+
+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}
+}
+
+post_remove() {
+ rm -f boot/initramfs-linux.img
+}