Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37834974
en ru br
Репозитории ALT
S:0.2-alt1
5.1: 0.2-alt1
www.altlinux.org/Changes

Группа :: Система/Настройка/Прочее
Пакет: installer-feature-set-tz

 Главная   Изменения   Спек   Патчи   Исходники   Загрузить   Gear   Bugs and FR  Repocop 

pax_global_header00006660000000000000000000000064112054562250014514gustar00rootroot0000000000000052 comment=3e7d33b06b2dc3404eb016d12c42c776e57dd867
installer-feature-set-tz-0.2/000075500000000000000000000000001120545622500162255ustar00rootroot00000000000000installer-feature-set-tz-0.2/.gear-rules000064400000000000000000000000071120545622500202710ustar00rootroot00000000000000tar: .
installer-feature-set-tz-0.2/51-set-tz.sh000075500000000000000000000003041120545622500202320ustar00rootroot00000000000000#!/bin/sh

a= . install2-init-functions
. shell-config

ZONE=$(cat /proc/cmdline | sed -n 's/^.* tz=\([^ ]*\).*/\1/gp')

[ -n "$ZONE" ] && shell_config_set /etc/sysconfig/clock ZONE "'$ZONE'" ||:
installer-feature-set-tz-0.2/installer-feature.spec000064400000000000000000000013521120545622500225300ustar00rootroot00000000000000Name: installer-feature-set-tz
Version: 0.2
Release: alt1

Summary: Set TZ in stage2 from kernel command line
License: GPL
Group: System/Configuration/Other
Url: http://www.altlinux.org/Installer/beans
BuildArch: noarch
Packager: Anton V. Boyarshinov <boyarsh@altlinux.org>
Source: %name-%version.tar

%description
This package sets TZ from kernel command line

%prep
%setup

%install
%define hookdir %_datadir/install2/initinstall.d
mkdir -p %buildroot%hookdir
install -pm755 *.sh %buildroot%hookdir/

%files
%hookdir/*

%changelog
* Fri May 22 2009 Anton V. Boyarshinov <boyarsh@altlinux.ru> 0.2-alt1
- fixed work when no tz specified in /proc/cmdline

* Wed Apr 29 2009 Anton V. Boyarshinov <boyarsh@altlinux.ru> 0.1-alt1
- initial version

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin