ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] Minimal Server
@ 2008-06-05  7:09 Eugene Prokopiev
  0 siblings, 0 replies; only message in thread
From: Eugene Prokopiev @ 2008-06-05  7:09 UTC (permalink / raw)
  To: shigorin, ALT Linux sysadmin discuss,
	ALT Linux Team development discussions

[-- Attachment #1: Type: text/plain, Size: 663 bytes --]

>  > >  > ... В том году я собирал себе нечто подобное, пока нет
>  > >  > времени (хотя надобность, конечно, периодически возникает)
>  > >  > повторить на mkimage.
>  > > Нет, но давай сделаем.  Выложи профиль, какой получился?
>  > это был еще spt :(
>
>
> Да понял :)  Выложи, всяко легче.

Приложу-ка я лучше вывод diff -ur для моего профиля по сравнению с
оригинальным и файл 004sshd, отсутствующий в оргинальном профиле (это
для rescue, не пугайтесь).

Но это не все, там еще надо сам инсталлер патчить, чтоб он активнее
чистил за собой - git diff HEAD^ HEAD тоже приложу как пример того,
что мне потребовалось вычищать

-- 
С уважением,
Прокопьев Евгений

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: server-spt-minimal.diff --]
[-- Type: text/x-patch; name=server-spt-minimal.diff, Size: 1410 bytes --]

Only in installer/profile: asterisk
diff -ur installer/profile/base/packages installer-minimal/profile/base/packages
--- installer/profile/base/packages	2007-08-09 22:49:51 +0400
+++ installer-minimal/profile/base/packages	2007-10-15 13:40:08 +0400
@@ -6,9 +6,7 @@
 glibc-utils
 interactivesystem
 kbd
-kernel-image-ovz-smp
 kernel-image-std-smp
-kernel-modules-atl1-ovz-smp
 kernel-modules-atl1-std-smp
 lilo
 setarch
@@ -33,6 +31,7 @@
 rsync
 traceroute
 vlan-utils
+ntpdate
 
 # disk tools
 eject
@@ -58,9 +57,9 @@
 # docs
 man-pages
 
-# ve
-ve-build-scripts
-ve-base
-
 # alterator
 alterator-install3-server
+
+# mc
+terminus-fonts-console
+mc
diff -ur installer/profile/config installer-minimal/profile/config
--- installer/profile/config	2007-08-09 22:49:51 +0400
+++ installer-minimal/profile/config	2007-10-17 16:15:56 +0400
@@ -1,8 +1,8 @@
 PUBLISHER='ALT Linux'
-ORIGIN='ALT Linux'
+ORIGIN='ALT Linux Team'
 SUITE='Server'
 LABEL='Server'
-CODENAME='Walnut'
+CODENAME='minimal installer by enp@altlinux.org'
 VERSION='4.0'
 DESIGN=server
 THEME=server
@@ -10,5 +10,5 @@
 ARCH="$(uname -m)"
 [ "$ARCH" != i686 ] || ARCH=i586
 LANGS="en_US:ru_RU:be_BY:uk_UA:tt_RU"
-COMPONENTS='rescue install2 base disk asterisk'
-CDFILENAME='server.iso'
+COMPONENTS='rescue install2 base'
+CDFILENAME='installer-minimal.iso'
Only in installer/profile: disk
Only in installer-minimal/profile/rescue/hooks.d: 004sshd

[-- Attachment #3: 004sshd --]
[-- Type: application/octet-stream, Size: 141 bytes --]

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #4: alterator-install2.diff --]
[-- Type: text/x-patch; name=alterator-install2.diff, Size: 3597 bytes --]

diff --git a/alterator-install2-server.spec b/alterator-install2-server.spec
index 2a7100f..22d4f6c 100644
--- a/alterator-install2-server.spec
+++ b/alterator-install2-server.spec
@@ -1,11 +1,11 @@
 Name: alterator-install2-server
-Version: 0.9.3
+Version: 10
 Release: alt1
 
 Summary: Server installer stage2
 License: GPL
 Group: System/Configuration/Other
-Packager: Alexey Gladkov <legion@altlinux.ru>
+Packager: Eugene Prokopiev <enp@altlinux.ru>
 
 Source: %name-%version.tar
 
@@ -98,6 +98,9 @@ Server installer common files
 %_datadir/alterator/maps/*
 
 %changelog
+* Wed Oct 17 2007 Eugene Prokopiev <enp@altlinux.ru> 10-alt1
+- fake custom version for installer/ovz
+
 * Sat Jul 21 2007 Dmitry V. Levin <ldv@altlinux.org> 0.9.3-alt1
 - Updated langlist files to match reality.
 - install2: Fixed gen_xorgconf wording.
diff --git a/backend3/savesettings.in b/backend3/savesettings.in
index 9f7acb3..1882bb1 100755
--- a/backend3/savesettings.in
+++ b/backend3/savesettings.in
@@ -153,7 +153,7 @@ save_portmap() {
 	local conf="$destdir/etc/sysconfig/portmap"
 	[ -f "$conf" ] || return 0
 	sed -i 's,#\(PORTMAP_ARGS="-l".*\),\1,' "$conf"
-	exec_chroot chkconfig portmap on
+	exec_chroot chkconfig portmap off
 }
 
 save_mdadm() {
diff --git a/bin/install2-cleanup.in b/bin/install2-cleanup.in
index fb82728..c22c5bc 100755
--- a/bin/install2-cleanup.in
+++ b/bin/install2-cleanup.in
@@ -98,7 +98,8 @@ exec_chroot()
 }
 
 # Remove installer specific packages from installed system
-list="$(exec_chroot rpmquery -a alterator-autoinstall alterator-install* installer-group-*)"
+#list="$(exec_chroot rpmquery -a alterator-autoinstall alterator-install* installer-group-*)"
+list="$(exec_chroot rpmquery -a alterator* installer-group-* guile16)"
 action 'Removing installer specific packages from installed system' \
 	exec_chroot rpmi -e -- $list
 
diff --git a/data/install3/lilo.conf.template b/data/install3/lilo.conf.template
index 076bbb6..366ecc9 100644
--- a/data/install3/lilo.conf.template
+++ b/data/install3/lilo.conf.template
@@ -2,22 +2,11 @@ boot=" "
 vga="normal"
 map="/boot/map"
 lba32
-prompt
-timeout="100"
-install="menu"
-default="ALTLinux"
+default="linux"
 append="panic=30"
 
 image="/boot/vmlinuz"
-	label="ALTLinux"
+	label="linux"
 	initrd="/boot/initrd.img"
 	root=" "
 	read-only
-
-image="/boot/vmlinuz"
-	label="failsafe"
-	initrd="/boot/initrd.img"
-	root=" "
-	addappend="failsafe"
-	vga="normal"
-	read-only
diff --git a/profile.d/install2 b/profile.d/install2
index c2d2560..c810dd4 100644
--- a/profile.d/install2
+++ b/profile.d/install2
@@ -1,2 +1,2 @@
-(acc-type "system" acc-modules "/install2/1;/install2/2;/install2/3;/install2/4;/install3/1;/install3/2;/install3/3;/install3/4;/install3/5;/install3/6;/install3/7" acc-caption "Installer" acc-translation "alterator-install2")
+(acc-type "system" acc-modules "/install2/1;/install2/2;/install2/3;/install2/4;/install3/1;/install3/2;/install3/3" acc-caption "Installer" acc-translation "alterator-install2")
 
diff --git a/ui/install3/finish.scm b/ui/install3/finish.scm
index 3a17176..72dcafb 100644
--- a/ui/install3/finish.scm
+++ b/ui/install3/finish.scm
@@ -10,9 +10,6 @@
 	(spacer)
 	(groupbox ""
 		(label (format #f (_ "Log files from installation progress will be saved in ~A directory.") logfile) text-wrap #t)
-		(label (format #f (_ "System management server will be available after reboot at https://~A:8080")
-		       (woo-get-option (woo-read-first "/net-general") 'hostname))
-		       text-wrap #t))
 	(spacer))
 
 (frame:on-next (thunk (woo-write "/autoinstall" 'file profile)))

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-06-05  7:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-06-05  7:09 [devel] Minimal Server Eugene Prokopiev

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git