Репозитории ALT
Последнее обновление в Сб, 06 июня 2020, 00:49:50 +0000 | Пакетов: 15384
en ru
Исходные пакеты в ветвях
свернуть окно
Группа :: Система/Настройка/Прочее
Исходный пакет: alterator-setup
Необработанный spec-файл

%define _altdata_dir %_datadir/alterator

Name: alterator-setup
Version: 0.2.1
Release: alt2

Summary: Perform initial setup of an OEM installation (warning!)
License: GPLv2
Group: System/Configuration/Other

Url: http://www.altlinux.org/Alterator
Source: %name-%version.tar

BuildArch: noarch
BuildPreReq: alterator >= 4.10-alt6
BuildRequires: rpm-macros-alterator

Requires: libshell
Requires: alterator-l10n >= 2.5-alt1
Requires: alterator-browser-qt >= 2.17.0
Requires: alterator-lookout => 2.4-alt1
Requires: alterator-wizardface
Requires: alterator-notes
Requires: alterator-sysconfig
Requires: alterator-datetime
Requires: alterator-root
Requires: alterator-users



WARNING: you really don't want to install this package
into an already configured system as it may spoil the
next boot! Given that its sole purpose is the _initial_
configuration of a new system (like setting root password)
nobody should need that on an up-and-running host.



# TODO: alterator-wizardface might take a parameter

mkdir -p %buildroot%_datadir/install2
ln -s ../../..%_sysconfdir/alterator-setup/steps \

cat >> %buildroot%_sysconfdir/alterator-setup/config << EOF
# erase %name and related packages


%dir %_sysconfdir/%name
%config(noreplace) %_sysconfdir/%name/*

# the restore is done in postinstall script

# triggered by successful completion of the module

# as it can be reused now (doesn't self destruct)

[ -d /etc/systemd/system ] || exit 0
mv /etc/systemd/system/default.target /etc/systemd/system/default.target.bak ||:
ln -sf /lib/systemd/system/setup.target /etc/systemd/system/default.target

* Wed Mar 26 2014 Michael Shigorin <mike at altlinux.org> 0.2.1-alt2
- added a warning to description

* Thu Mar 06 2014 Gleb F-Malinovskiy <glebfm at altlinux.org> 0.2.1-alt1
- Remove more packages during cleanup.

* Tue Jul 16 2013 Michael Shigorin <mike at altlinux.org> 0.2.0-alt1
- made self destruction optional (sysconfig knob)
- minor spec cleanup

* Fri Jul 12 2013 Michael Shigorin <mike at altlinux.org> 0.1.1-alt1
- added license step

* Thu Jun 20 2013 Michael Shigorin <mike at altlinux.org> 0.1-alt1
- initial release, thanks sem@

Проект Geyser основан на коде из проекта Prometheus 2.0, который был доступен по лицензии MIT