summaryrefslogtreecommitdiff
path: root/libre/linux-libre-hardened/linux.install
diff options
context:
space:
mode:
authorDavid P <megver83@parabola.nu>2018-03-18 20:07:16 -0300
committerDavid P <megver83@parabola.nu>2018-03-18 20:07:16 -0300
commit99f92fd0455f4d201b40ea7351e7dea979887661 (patch)
treece903b3141a1a7d6552b892e9ebf5580d3cded6f /libre/linux-libre-hardened/linux.install
parente006f2cf0d4f74f9ef84fd2bc32e6b7abcc1d070 (diff)
downloadabslibre-99f92fd0455f4d201b40ea7351e7dea979887661.tar.gz
abslibre-99f92fd0455f4d201b40ea7351e7dea979887661.tar.bz2
abslibre-99f92fd0455f4d201b40ea7351e7dea979887661.zip
upgpkg: libre/linux-libre-hardened 4.15.10_gnu.a-1
Diffstat (limited to 'libre/linux-libre-hardened/linux.install')
-rw-r--r--libre/linux-libre-hardened/linux.install7
1 files changed, 4 insertions, 3 deletions
diff --git a/libre/linux-libre-hardened/linux.install b/libre/linux-libre-hardened/linux.install
index a20b44c45..f1f033b4e 100644
--- a/libre/linux-libre-hardened/linux.install
+++ b/libre/linux-libre-hardened/linux.install
@@ -1,8 +1,9 @@
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."
+ 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() {