From 6a85bfe121a93570d7a0a9b08cff00f3897dfd01 Mon Sep 17 00:00:00 2001 From: David P Date: Wed, 14 Mar 2018 22:50:51 -0300 Subject: upgpkg: libre/linux-libre 4.15.9_gnu-1 --- libre/linux-libre/linux.install | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'libre/linux-libre/linux.install') diff --git a/libre/linux-libre/linux.install b/libre/linux-libre/linux.install index 37ba37494..f1f033b4e 100644 --- a/libre/linux-libre/linux.install +++ b/libre/linux-libre/linux.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 } -- cgit v1.2.3