From 3e47c9da0772337be61b044bae64502bfd490f0f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Philip=20M=C3=BCller?= <philm@manjaro.org>
Date: Wed, 17 Jun 2020 22:59:47 +0200
Subject: [PATCH] [pkg-upd] 5.6.19-1 - mark it EOL

---
 PKGBUILD        |  1 +
 linux56.install | 16 ++++++++++++++++
 2 files changed, 17 insertions(+)
 create mode 100644 linux56.install

diff --git a/PKGBUILD b/PKGBUILD
index 9112a65..55e88a7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -270,6 +270,7 @@ package_linux56() {
   depends=('coreutils' 'linux-firmware' 'kmod' 'mkinitcpio>=27')
   optdepends=('crda: to set the correct wireless channels of your country')
   provides=("linux=${pkgver}" VIRTUALBOX-GUEST-MODULES WIREGUARD-MODULE)
+  install=linux56.install
 
   cd "${srcdir}/linux-${_basekernel}"
 
diff --git a/linux56.install b/linux56.install
new file mode 100644
index 0000000..a39c5e9
--- /dev/null
+++ b/linux56.install
@@ -0,0 +1,16 @@
+eol() {
+  echo ">>> NOTE, 5.6.19 was the last maintenance release by Greg Kroah-Hartman."
+  echo "    This kernel series is now marked EOL (end of life)."
+  echo "    "
+  echo "    It is recommend to move on to linux57 series."
+  echo "    Use followed cmd to do that: 'sudo mhwd-kernel -i linux57'"
+  echo "    "
+}
+
+post_upgrade() {
+  eol
+}
+
+post_install() {
+  eol
+}
-- 
GitLab