Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37706043
en ru br
ALT Linux repos
S:0.1-alt1

Group :: System/Configuration/Other
RPM: installer-feature-set-tz-stage3

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: installer-feature-set-tz-stage3
Version: 0.1
Release: alt1

Summary: Set TZ in stage3 from kernel command line
License: GPL
Group: System/Configuration/Other

Url: http://www.altlinux.org/Installer/beans
BuildArch: noarch

%description
This package sets destination system's timezone
from kernel command line (stage3 version).

%prep

%post
. shell-config
ZONE=$(cat /proc/cmdline | sed -n 's/^.* tz=\([^ ]*\).*/\1/gp')
if [ -n "$ZONE" ]; then
shell_config_set /etc/sysconfig/clock ZONE "'$ZONE'"
service clock tzset
fi

%files

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin