Re: Hardware clock: /etc/adjtime - how to configure it
On 06/14/2012 01:36 PM, Baurzhan Muftakhidinov wrote:
> Since UTC/LOCAL parameter migrated from /etc/default/rcS to /etc/adjtime,
> is there any way to configure this at build stage? Like preseed or
> with dpkg-reconfigure?
not yet, but newest live-config does have a generic debconf interface
now so stuff for random other packages can be configured through that
(at build-time).
however, your problem is a different one: live-build removes adjtime
unconditionally since it used to contain only the time
offsets/corrections and *not* the UTC-or-not-UTC flag. that's very
unfortunate that this went into that file.
but anyhow, both live-build (to strip instead of remove /etc/adjtime)
and live-config (to use /etc/adjtime instead of /etc/default/rcS for the
runtime configuration through the boot parameters/environment variabes)
need to be updated for that. i'll get to it somewhen next week.
thanks for making us aware of it.
--
Address: Daniel Baumann, Donnerbuehlweg 3, CH-3012 Bern
Email: daniel.baumann@progress-technologies.net
Internet: http://people.progress-technologies.net/~daniel.baumann/
Reply to: