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

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

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

pax_global_header00006660000000000000000000000064114661727110014520gustar00rootroot0000000000000052 comment=d8c3175888924450b37c42c05cc47ebbb779d6bb
installer-feature-vm-server-light-0.2/000075500000000000000000000000001146617271100200365ustar00rootroot00000000000000installer-feature-vm-server-light-0.2/.gear-rules000064400000000000000000000000071146617271100221020ustar00rootroot00000000000000tar: .
installer-feature-vm-server-light-0.2/05-vm-profile-server-light000075500000000000000000000011121146617271100246720ustar00rootroot00000000000000#!/bin/sh

mem=$(($(sed -n '/^MemTotal:/ s/[^0-9]//pg' /proc/meminfo)*2))
root=$((1*2048*1024*2))
var=$((1*1024*1024*1))
home=$((1*1024*1024*1))

cat >/var/cache/alterator/vm-profile.scm <<_EOF_
((server
(title . "Setup for server")
(action . trivial)
(actiondata ("swap" (size . $mem) (fsim . "SWAPFS") (methods raid plain))
("/" (size . $root ) (fsim . "Ext2/3") (methods raid plain))
("/home" (size $var . #t) (fsim . "Ext2/3") (methods raid plain))
("/var" (size $var . #t) (fsim . "Ext2/3") (methods raid plain))
)
)
)
_EOF_

installer-feature-vm-server-light-0.2/installer-feature-fs-server-light.spec000064400000000000000000000021411146617271100273550ustar00rootroot00000000000000Name: installer-feature-vm-server-light
Version: 0.2
Release: alt1

Summary: Installer alterator-vm profile tuning and filesystem layout hooks
License: GPL
Group: System/Configuration/Other
Url: http://www.altlinux.org/Installer/beans
Packager: Anton Farygin <rider@altlinux.ru>
BuildArch: noarch

Source: %name-%version.tar

%description
This package contains alterator-vm profile tuning and
filesystem layout hooks for Server Light.

%package stage2
Summary: Installer stage2 alterator-vm profile tuning hook
License: GPL
Group: System/Configuration/Other
Requires: installer-common-stage2

%description stage2
This package contains alterator-vm profile tuning hook for
Server Light installer stage2.

%prep
%setup

%install
%define hookdir %_datadir/install2
mkdir -p %buildroot%hookdir/{initinstall,preinstall}.d
install -pm755 05-* %buildroot%hookdir/initinstall.d/

%files stage2
%hookdir/initinstall.d/*

%changelog
* Mon Nov 08 2010 Anton Farygin <rider@altlinux.ru> 0.2-alt1
- 2Gb for root

* Fri Jun 19 2009 Anton Farygin <rider@altlinux.ru> 0.1-alt1
- Initial revision based on installer-feature-vm-ofs hooks
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin