Open star-buck opened 5 years ago
@bhush9 mentioned this to me on IRC as well today. During image creation, the locales are built (in Jenkins). That takes about a minute, here's the Jenkins log:
12:46:12 Generating locales (this might take a while)...
12:46:14 en_AG.UTF-8... done
12:46:16 en_AU.UTF-8... done
12:46:19 en_BW.UTF-8... done
12:46:21 en_CA.UTF-8... done
12:46:24 en_DK.UTF-8... done
12:46:26 en_GB.UTF-8... done
12:46:29 en_HK.UTF-8... done
12:46:31 en_IE.UTF-8... done
12:46:33 en_IL.UTF-8... done
12:46:36 en_IN.UTF-8... done
12:46:38 en_NG.UTF-8... done
12:46:41 en_NZ.UTF-8... done
12:46:43 en_PH.UTF-8... done
12:46:45 en_SG.UTF-8... done
12:46:48 en_US.UTF-8... done
12:46:50 en_ZA.UTF-8... done
12:46:53 en_ZM.UTF-8... done
12:46:55 en_ZW.UTF-8... done
12:46:55 Generation complete.
The localecfg module in Calamares does two things:
locale-gen
to do actual work
locale-gen
in turn calls localedef
to do the real workIt may be possible to make the localecfg module smarter / faster by doing only new work, rather than re-generating the locales (.. that list of English variants) that are already there. That would reduce the time to (probably) just running localedef once, for the locale selected by the user during Calamares. Judging from the time in the Jenkins log, down to a few seconds. That means, though, doing the localecfg module differently in OEM mode, and a partial re-write, and getting that delivered means re-building the images it's used on, too.
Filed upstream as Cala bug #1032 https://github.com/calamares/calamares/issues/1032
Maybe adding a small throbber helps (psychologically) to indicate its still doing something?
never seen that gap/pause at that point before so long... it does continue but seems optical bad like stuck, as it is again stuck for a while at 73% "installing packages" which does seem valid as a user thinks packages might take a while...