Commit bd4e2c5b authored by Timo Teräs's avatar Timo Teräs

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.
parent f0c288e8
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment