summaryrefslogtreecommitdiff
path: root/libre-testing/linux-libre/linux.install
diff options
context:
space:
mode:
authorDavid P <megver83@parabola.nu>2018-11-16 12:21:47 -0300
committerDavid P <megver83@parabola.nu>2018-11-16 12:21:47 -0300
commit77dc3c24bc8fbb1c54fe6fb2073e0a6bb7d96312 (patch)
tree079f5b0b7959d412989731cf5d4f44d74b278807 /libre-testing/linux-libre/linux.install
parent8c384f9620321ea824b68c8fb22f30b50d9ef6ae (diff)
downloadabslibre-77dc3c24bc8fbb1c54fe6fb2073e0a6bb7d96312.tar.gz
abslibre-77dc3c24bc8fbb1c54fe6fb2073e0a6bb7d96312.tar.bz2
abslibre-77dc3c24bc8fbb1c54fe6fb2073e0a6bb7d96312.zip
move linux-libre 4.18.11 to [libre-testing]
Because I'll remove the ppc64le support for 4.19 temporally Signed-off-by: David P <megver83@parabola.nu>
Diffstat (limited to 'libre-testing/linux-libre/linux.install')
-rw-r--r--libre-testing/linux-libre/linux.install12
1 files changed, 12 insertions, 0 deletions
diff --git a/libre-testing/linux-libre/linux.install b/libre-testing/linux-libre/linux.install
new file mode 100644
index 000000000..f1f033b4e
--- /dev/null
+++ b/libre-testing/linux-libre/linux.install
@@ -0,0 +1,12 @@
+post_upgrade() {
+ if [ "$(uname -m)" = "x86_64" ] || [ "$(uname -m)" = "i686" ]; then
+ 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
+ fi
+}
+
+post_remove() {
+ rm -f boot/initramfs-%PKGBASE%.img
+ rm -f boot/initramfs-%PKGBASE%-fallback.img
+}