summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-10-03 07:31:34 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-10-03 07:44:22 +0000
commitd1de3c5a190f8ffb2ed8e768dcbfb968a88f5384 (patch)
tree4eeebfae3ed87de7b786240d621a7331b3ac652f
parentb0933e81cd81f331c4e9ab03fda87e829ca2ee04 (diff)
downloadalpine-conf-d1de3c5a190f8ffb2ed8e768dcbfb968a88f5384.zip
setup-bootable: fix the 'Could not find the parent device for ...'
ref #1399
-rw-r--r--setup-bootable.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup-bootable.in b/setup-bootable.in
index 0414cb4..2c16bc5 100644
--- a/setup-bootable.in
+++ b/setup-bootable.in
@@ -170,7 +170,7 @@ dev="$dest"
while [ -L "$dev" ]; do
dev=$(readlink -f $dev)
done
-parent_dev=$(find_disk_dev)
+parent_dev=$(find_disk_dev $dev)
# check if this files exist and not in upgrade mode
if [ -z "$upgrade" ] && [ -z "$force" ]; then