From b514610443af68af3672146081a5c8bc7220bf80 Mon Sep 17 00:00:00 2001 From: Andrew Scheller Date: Mon, 26 Aug 2013 22:49:37 +0100 Subject: [PATCH] Status message updates Make it clearer that "modules" actually means "kernel modules", and display a message while extracting tarball (which can take a while). --- rpi-update | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/rpi-update b/rpi-update index ff63005..113972a 100755 --- a/rpi-update +++ b/rpi-update @@ -59,14 +59,14 @@ EOF function update_modules { if [[ ${SKIP_KERNEL} -eq 0 ]]; then - echo " *** Updating modules" + echo " *** Updating kernel modules" cp -vR "${FW_REPOLOCAL}/modules/"* "${FW_MODPATH}/" find "${FW_REPOLOCAL}/modules" -mindepth 1 -maxdepth 1 -type d | while read DIR; do echo " *** depmod $(basename "${DIR}")" depmod -b "${ROOT_PATH}" -a $(basename "${DIR}") done else - echo " *** As requested, not updating modules" + echo " *** As requested, not updating kernel modules" fi } @@ -159,6 +159,7 @@ function download_rev { echo " *** Downloading specific firmware revision (this will take a few minutes)" mkdir -p "${FW_REPOLOCAL}" FW_TARBALL="${FW_REPOLOCAL}/${FW_REV}.tar.gz" + echo " *** Decompressing downloaded firmware archive" wget "${REPO_URI}/tarball/${FW_REV}" -O "${FW_TARBALL}" tar xzf "${FW_TARBALL}" -C "${FW_REPOLOCAL}" --strip-components=1 rm "${FW_TARBALL}"