pax_global_header00006660000000000000000000000064121424357350014520gustar00rootroot0000000000000052 comment=56b5aa9bb31a186aaa40632d8150fb47ea622783 installer-feature-centaurus-profiles-1.0/000075500000000000000000000000001214243573500206345ustar00rootroot00000000000000installer-feature-centaurus-profiles-1.0/.gear-rules000064400000000000000000000000071214243573500227000ustar00rootroot00000000000000tar: . installer-feature-centaurus-profiles-1.0/50-groups.sh000075500000000000000000000017231214243573500227370ustar00rootroot00000000000000#!/bin/sh . install2-init-functions . shell-config check(){ for n in $@; do subst 's/X-Alterator-Required=no/X-Alterator-Required=yes/' /var/lib/install3/groups/$n.directory echo 'X-Alterator-Required=yes' >> /var/lib/install3/groups/$n.directory done } uncheck_all(){ subst 's/X-Alterator-Required=yes/X-Alterator-Required=no/' /var/lib/install3/groups/*.directory ||: } select_profile(){ mv /var/lib/install3/profiles/$1.directory /var/lib/install3/profiles/0_$1.directory uncheck_all for n in $(shell_config_get /var/lib/install3/profiles/0_$1.directory X-Alterator-Groups); do check $n done } # Custom: all unchecked if grep -q '/evms/profiles/none.*action apply' /tmp/wizard.log ; then select_profile minimal fi # Server if grep -q '/evms/profiles/server.*action apply' /tmp/wizard.log ; then select_profile centaurus-server fi # Desktop if grep -q '/evms/profiles/workstation.*action apply' /tmp/wizard.log ; then select_profile centaurus-desktop fi installer-feature-centaurus-profiles-1.0/installer-feature.spec000064400000000000000000000031451214243573500251410ustar00rootroot00000000000000Name: installer-feature-centaurus-profiles Version: 1.0 Release: alt1 Summary: Setups package groups from selected vm-profile License: GPL Group: System/Configuration/Other Url: http://www.altlinux.org/Installer/beans BuildArch: noarch Source: %name-%version.tar %description Setups package groups from selected vm-profile %prep %setup %install %define hookdir %_datadir/install2/prepkg.d mkdir -p %buildroot%hookdir install -pm755 *.sh %buildroot%hookdir/ %files %hookdir/* %changelog * Wed May 08 2013 Anton V. Boyarshinov 1.0-alt1 - profile-based selection used (see http://www.altlinux.org/Alterator-pkg) * Thu Feb 07 2013 Anton V. Boyarshinov 0.8-alt2 - check domain-server on server * Tue Feb 05 2013 Anton V. Boyarshinov 0.8-alt1 - sysvinit and systemd groups added * Fri Jan 18 2013 Anton V. Boyarshinov 0.7-alt1 - add sysvinit in server cases * Wed Dec 12 2012 Anton V. Boyarshinov 0.6-alt1 - use centaurus-mate instead of centaurus-gnome - remove kernel setup * Fri Feb 11 2011 Anton V. Boyarshinov 0.5-alt1 - kernel setup added: el-smp for server, std-def for desktop and both for custom * Thu Feb 10 2011 Anton V. Boyarshinov 0.4-alt1 - server: kvm enabled, bacula disabled * Wed Feb 09 2011 Anton V. Boyarshinov 0.3-alt1 - added bacula-server setting * Tue Feb 08 2011 Anton V. Boyarshinov 0.2-alt1 - added bacula setting * Thu Jan 13 2011 Anton V. Boyarshinov 0.1-alt1 - first build