From 1dc58c05bef6beb7dd99b57c865cbcb920064fe6 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sun, 18 Aug 2019 20:30:51 +0200 Subject: update-me: do not remount /boot on crux --- update-me.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/update-me.in b/update-me.in index 0b4c48d..09025fc 100644 --- a/update-me.in +++ b/update-me.in @@ -8,7 +8,8 @@ if mountpoint -q /boot \ && mount \ | grep -wF '/boot' \ | cut -d' ' -f6 \ - | grep -qwF 'ro'; then + | grep -qwF 'ro' \ +&& [ ! -d '#ETCDIR#/ports' ]; then preCmds+=('mount -o remount,rw /boot') postCmds+=('mount -o remount,ro /boot') fi -- cgit v1.2.3-54-g00ecf