diff options
author | Timo Teräs <timo.teras@iki.fi> | 2016-12-07 12:06:58 +0200 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2016-12-07 12:08:03 +0200 |
commit | bd4e2c5b0a11f09502f9bb9a6d842019a2fb7705 (patch) | |
tree | a4ab40f6ec361c8ea75258d86d222e944f75d20d | |
parent | f0c288e8d7f6ef3762b7bdd0ede9efca300ba84d (diff) | |
download | alpine-conf-bd4e2c5b0a11f09502f9bb9a6d842019a2fb7705.zip |
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.in | 2 |
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 |