summarylogtreecommitdiffstats
path: root/linux-nitrous.install
diff options
context:
space:
mode:
authorSimão Gomes Viana2020-11-25 10:33:23 +0100
committerSimão Gomes Viana2020-11-25 10:33:23 +0100
commit4b00796ab3671cda75425e1419b186d2bed6325b (patch)
treec6075c04bef18ae7a6e248680b8c946d5f0ff3fd /linux-nitrous.install
parent815b184ebd6167a9481013ded0343c56bbd9a3da (diff)
downloadaur-4b00796ab3671cda75425e1419b186d2bed6325b.tar.gz
Add back mkinitcpio
Seems like this is still necessary
Diffstat (limited to 'linux-nitrous.install')
-rw-r--r--linux-nitrous.install6
1 files changed, 5 insertions, 1 deletions
diff --git a/linux-nitrous.install b/linux-nitrous.install
index d2e43f4fe514..0ca7cbd7aa1b 100644
--- a/linux-nitrous.install
+++ b/linux-nitrous.install
@@ -5,7 +5,8 @@ KERNEL_NAME=
KERNEL_VERSION=
post_install () {
- :
+ echo ">>> Generating kernel initramfs..."
+ mkinitcpio -p ${KERNEL_NAME}
}
post_upgrade() {
@@ -13,6 +14,9 @@ post_upgrade() {
echo "WARNING: /boot appears to be a separate partition but is not mounted."
fi
+ echo ">>> Generating kernel initramfs..."
+ mkinitcpio -p ${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"