In this bug report, it is originally proposed that the RTC is
considered to be set at local time when Solaris is detected.

So, in his first patch, Colin proposed to do this when Solaris is
detected. However, the later discussion suggested that only
OpenSolaris and Solaris x86 do this.

As a consequence, I propose the attached patch.

-- 


diff --git a/finish-install.d/10clock-setup b/finish-install.d/10clock-setup
index 1357609..646ba34 100755
--- a/finish-install.d/10clock-setup
+++ b/finish-install.d/10clock-setup
@@ -27,6 +27,11 @@ os_needs_local_clock () {
 		case $shortname in
 		MS-DOS*|Windows*|FreeDOS*) # keep in sync with os-prober
 			return 0
+		Solaris*)
+			case "$(udpkg --print-architecture)" in
+			*i386*|*amd64*)
+				return 0
+			;;
 		;;
 		esac
 	done

Attachment: signature.asc
Description: Digital signature

Reply via email to