On hppa, we don't need cdtar.

---
 targets/support/functions.sh | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/targets/support/functions.sh b/targets/support/functions.sh
index 7face15..8c59033 100755
--- a/targets/support/functions.sh
+++ b/targets/support/functions.sh
@@ -51,8 +51,12 @@ extract_cdtar() {
        # which will normally contains a pre-built binary
        # boot-loader/filesystem skeleton for the ISO.
        cdtar=${clst_cdtar}
-       [ -z "${cdtar}" ] && die "Required key cdtar not defined, exiting"
-       tar -I lbzip2 -xpf ${cdtar} -C $1 || die "Couldn't extract cdtar 
${cdtar}"
+       if [ -z "${cdtar}" ]
+       then
+               echo "No cdtar specified. Skipping."
+       else
+               tar -I lbzip2 -xpf ${cdtar} -C $1 || die "Couldn't extract 
cdtar ${cdtar}"
+       fi
 }
 
 extract_kernels() {
-- 
1.8.3.2



Reply via email to