summaryrefslogtreecommitdiffstats
path: root/source/a/util-linux
diff options
context:
space:
mode:
Diffstat (limited to 'source/a/util-linux')
-rw-r--r--source/a/util-linux/doinst.sh8
-rwxr-xr-xsource/a/util-linux/util-linux.SlackBuild2
2 files changed, 9 insertions, 1 deletions
diff --git a/source/a/util-linux/doinst.sh b/source/a/util-linux/doinst.sh
index 8277c0e65..0d9730801 100644
--- a/source/a/util-linux/doinst.sh
+++ b/source/a/util-linux/doinst.sh
@@ -31,3 +31,11 @@ done
if [ -r etc/default/su.new ]; then
config etc/default/su.new
fi
+
+# Since libmount has dropped all support for an /etc/mtab file, if we find that
+# we'll need to replace it with a symlink to /proc/mounts:
+if [ ! -L etc/mtab ]; then
+ rm -f etc/mtab
+ ( cd etc ; ln -sf /proc/mounts mtab )
+fi
+
diff --git a/source/a/util-linux/util-linux.SlackBuild b/source/a/util-linux/util-linux.SlackBuild
index 673dba44a..23f636729 100755
--- a/source/a/util-linux/util-linux.SlackBuild
+++ b/source/a/util-linux/util-linux.SlackBuild
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=util-linux
VERSION=${VERSION:-$(echo util-linux*.tar.xz | cut -d - -f 3 | rev | cut -f 3- -d . | rev)}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
ADJTIMEXVERS=1.29
SETSERIALVERS=2.17