aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2016-12-07 12:06:58 +0200
committerTimo Teräs <timo.teras@iki.fi>2016-12-07 12:08:03 +0200
commitbd4e2c5b0a11f09502f9bb9a6d842019a2fb7705 (patch)
treea4ab40f6ec361c8ea75258d86d222e944f75d20d
parentf0c288e8d7f6ef3762b7bdd0ede9efca300ba84d (diff)
downloadalpine-conf-bd4e2c5b0a11f09502f9bb9a6d842019a2fb7705.tar.bz2
alpine-conf-bd4e2c5b0a11f09502f9bb9a6d842019a2fb7705.tar.xz
update-kernel: use busybox's losetup always
fixes #6517 The output format of util-linux losetup is different, and there's no easy way to get uniform output from these two implementations.
-rw-r--r--update-kernel.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/update-kernel.in b/update-kernel.in
index cd1edc0..88f266b 100644
--- a/update-kernel.in
+++ b/update-kernel.in
@@ -133,7 +133,7 @@ if [ -z "$DESTDIR" ]; then
while read MOUNT; do
set -- $MOUNT
[ $2 = /.modloop ] || continue
- DESTDIR=$(dirname $(losetup $1 | cut -d " " -f 3))
+ DESTDIR=$(dirname $(busybox losetup $1 | cut -d " " -f 3))
MNTDIR=$(dirname "$DESTDIR")
break
done < /proc/mounts