There was a "-n" missing in a sed statement in the
code for Kurobox Pro in oldsys-preseed.

Please apply.


-- Per
diff --git a/packages/oldsys-preseed/oldsys-preseed b/packages/oldsys-preseed/oldsys-preseed
index e5316b0..c3e0928 100755
--- a/packages/oldsys-preseed/oldsys-preseed
+++ b/packages/oldsys-preseed/oldsys-preseed
@@ -138,7 +138,7 @@ case "`archdetect`" in
 			fi
 			hostinfo=$path/rootfs/etc/host.info
 			if [ -e "$hostinfo" ]; then
-				HOSTNAME=$(sed '/^hostname/ {s/.*=//; p}' "$hostinfo")
+				HOSTNAME=$(sed -n '/^hostname/ {s/.*=//; p}' "$hostinfo")
 			fi
 			unset_matching_var "HOSTNAME" "KUROBOX-PRO"
 			if [ "$NET_CONFIG" != "static" ]; then

Reply via email to