summaryrefslogtreecommitdiff
path: root/libre/linux-libre-lts/linux-lts.install
diff options
context:
space:
mode:
authorDavid P <megver83@parabola.nu>2018-03-16 21:20:24 -0300
committerDavid P <megver83@parabola.nu>2018-03-16 21:20:24 -0300
commit4fdb5adf62ea271808c1ab35b753c688006b2953 (patch)
tree71f35ace7e552cc59bf03a9e13c5cf4bc03f357f /libre/linux-libre-lts/linux-lts.install
parentb04e1941c754dab41ef17e43258d282611c3596b (diff)
downloadabslibre-4fdb5adf62ea271808c1ab35b753c688006b2953.tar.gz
abslibre-4fdb5adf62ea271808c1ab35b753c688006b2953.tar.bz2
abslibre-4fdb5adf62ea271808c1ab35b753c688006b2953.zip
upgpkg: libre/linux-libre-lts 4.14.26_gnu-1
Diffstat (limited to 'libre/linux-libre-lts/linux-lts.install')
-rw-r--r--libre/linux-libre-lts/linux-lts.install6
1 files changed, 4 insertions, 2 deletions
diff --git a/libre/linux-libre-lts/linux-lts.install b/libre/linux-libre-lts/linux-lts.install
index 37ba37494..f1f033b4e 100644
--- a/libre/linux-libre-lts/linux-lts.install
+++ b/libre/linux-libre-lts/linux-lts.install
@@ -1,6 +1,8 @@
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
}