summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lamb <chris@chris-lamb.co.uk>2008-08-14 01:01:19 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 17:48:01 +0100
commit69711afc9791c7cf5ff968d87f9abdc23ad2d253 (patch)
tree94c5ed59fcfc469a3bc71be679db06088033b513
parenta1311a56603a95bfc642adba1390882591c12c9f (diff)
downloadlive-boot-69711afc9791c7cf5ff968d87f9abdc23ad2d253.tar.gz
live-boot-69711afc9791c7cf5ff968d87f9abdc23ad2d253.zip
Rework ugly `echo "debug:..` message to use log_{begin,end}_msg.
-rwxr-xr-xscripts/live3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/live b/scripts/live
index 656039a..7bd673b 100755
--- a/scripts/live
+++ b/scripts/live
@@ -1041,8 +1041,9 @@ setup_unionfs ()
fi
mkdir -p "${croot}/${imagename}"
- echo "debug: Mounting backdev \"${backdev}\" (image = ${image}) on croot/imagename \"${croot}/${imagename}\""
+ log_begin_msg "Mounting \"${image}\" on \"${croot}${imagename}\" via \"${backdev}\""
mount -t "${fstype}" -o ro,noatime "${backdev}" "${croot}/${imagename}" || panic "Can not mount ${backdev} (${image}) on ${croot}/${imagename}" && rofsstring="${croot}/${imagename}=${roopt}:${rofsstring}" && rofslist="${croot}/${imagename} ${rofslist}"
+ log_end_msg
fi
done