From 99f92fd0455f4d201b40ea7351e7dea979887661 Mon Sep 17 00:00:00 2001 From: David P Date: Sun, 18 Mar 2018 20:07:16 -0300 Subject: upgpkg: libre/linux-libre-hardened 4.15.10_gnu.a-1 --- libre/linux-libre-hardened/linux.install | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'libre/linux-libre-hardened/linux.install') 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() { -- cgit v1.2.3