Skip to content

Commit

Permalink
- initial version of POS-Installation module
Browse files Browse the repository at this point in the history
    * POS Data Migration client
    * POS Pattern Selector
- 2.13.0


svn path=/trunk/pos-installation/; revision=41316
  • Loading branch information
kobliha committed Oct 10, 2007
0 parents commit 2225ad0
Show file tree
Hide file tree
Showing 29 changed files with 1,494 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .cvsignore
@@ -0,0 +1,20 @@
Makefile
Makefile.am
Makefile.am.common
Makefile.in
aclocal.m4
config.cache
config.guess
config.h.in
config.log
config.status
config.sub
configure
configure.in
depcomp
install-sh
missing
mkinstalldirs
stamp-h
pos-installation.pot
autom4te.cache
1 change: 1 addition & 0 deletions MAINTAINER
@@ -0,0 +1 @@
Lukas Ocilka <locilka@suse.cz>
22 changes: 22 additions & 0 deletions Makefile.cvs
@@ -0,0 +1,22 @@
#
# Makefile.cvs
#
PREFIX = /usr

LIB = $(shell y2tool get-lib)

configure: all
./configure --prefix=$(PREFIX) --libdir=$(PREFIX)/$(LIB)

all:
y2tool y2autoconf
y2tool y2automake
autoreconf --force --install

install: configure
make
make install

reconf: all
./config.status --recheck
./config.status
1 change: 1 addition & 0 deletions RPMNAME
@@ -0,0 +1 @@
yast2-pos-installation
1 change: 1 addition & 0 deletions VERSION
@@ -0,0 +1 @@
2.13.0
2 changes: 2 additions & 0 deletions agents/.cvsignore
@@ -0,0 +1,2 @@
Makefile
Makefile.in
7 changes: 7 additions & 0 deletions agents/Makefile.am
@@ -0,0 +1,7 @@
# Makefile.am for pos-installation/agents

agent_SCRIPTS =

scrconf_DATA =

EXTRA_DIST = $(agent_SCRIPTS) $(scrconf_DATA)
12 changes: 12 additions & 0 deletions configure.in.in
@@ -0,0 +1,12 @@
## YCP module configure.in.in

## Initialize
@YAST2-INIT-COMMON@
@YAST2-INIT-YCP@

## some common checks
@YAST2-CHECKS-COMMON@
@YAST2-CHECKS-YCP@

## and generate the output...
@YAST2-OUTPUT@
12 changes: 12 additions & 0 deletions control/Makefile.am
@@ -0,0 +1,12 @@
# Makefile.am for installation/general
#
SUBDIRS = docs tests

controldir = $(yast2dir)/control

control_DATA = slepos_migration.xml

EXTRA_DIST = $(control_DATA) $(product_DATA)

include $(top_srcdir)/Makefile.am.common

8 changes: 8 additions & 0 deletions control/README.txt
@@ -0,0 +1,8 @@
Here you can find description of files:

installation.xml
- Additional workflow modifications

slepos_migration.xml
- Configuration for POS Migration Assisten (FATE #302870)

67 changes: 67 additions & 0 deletions control/installation.xml
@@ -0,0 +1,67 @@
<?xml version="1.0"?>
<!DOCTYPE productDefines SYSTEM "/usr/share/YaST2/control/control.dtd">
<productDefines xmlns="http://www.suse.com/1.0/yast2ns" xmlns:config="http://www.suse.com/1.0/configns">
<textdomain>control-SLEPOS</textdomain>

<workflows config:type="list">

<workflow>
<defaults>
<enable_back>no</enable_back>
<enable_next>no</enable_next>
</defaults>

<stage>normal</stage>
<mode>installation,normal</mode>

<modules config:type="list">
<module>
<label>Server Type Selection</label>
<name>slepos_server_selection</name>
<enable_back>no</enable_back>
<enable_next>yes</enable_next>
</module>
<module>
<label>Install Software</label>
<name>inst_rpmcopy</name>
<enable_back>yes</enable_back>
<enable_next>yes</enable_next>
</module>
<module>
<label>Data Migration</label>
<name>slepos_data_migration</name>
<enable_back>yes</enable_back>
<enable_next>yes</enable_next>
</module>
</modules>
</workflow>
</workflows>

<update>
<workflows config:type="list">
<workflow>
<defaults>
<enable_back>yes</enable_back>
<enable_next>yes</enable_next>
</defaults>

<!-- Second Stage - Update -->
<stage>continue</stage>
<mode>update</mode>

<!-- Update: Insert -->
<insert_modules config:type="list">
<insert_module>
<before>congratulate</before>
<modules config:type="list">
<module>
<label>Data Migration</label>
<name>slepos_data_migration</name>
</module>
</modules>
</insert_module>
</insert_modules>
</workflow>
</workflows>
</update>
</productDefines>
79 changes: 79 additions & 0 deletions control/slepos_migration.xml
@@ -0,0 +1,79 @@
<?xml version="1.0"?>
<migrate xmlns="http://www.suse.com/1.0/yast2ns"
xmlns:config="http://www.suse.com/1.0/configns">
<config>
<!-- Default archive location -->
<default_backupdir>/var/adm/backup/SLEPOS_DATA/</default_backupdir>

<!-- Default archive name -->
<default_backupname>SLEPOS_DATA_</default_backupname>

<!-- Defines whether backup is selected by default -->
<default_do_backup config:type="boolean">false</default_do_backup>

<!-- UI sleep in msecs -->
<migration_redraw_sleep config:type="integer">50</migration_redraw_sleep>

<!-- Either 'copy' or 'move' -->
<migration_type>copy</migration_type>

<!-- Script running after the migration (optional) -->
<slepos_migration_post_script>/var/lib/YaST2/slepos_post.pl</slepos_migration_post_script>
</config>

<itemcopies config:type="list">

<itemcopy>
<type>directory</type>
<source>/yast/test/XML</source>
<destination>/srv/SLEPOS/1/</destination>
</itemcopy>

<itemcopy>
<type>directory</type>
<source>/yast/Botanicka</source>
<destination>/srv/SLEPOS/15/</destination>
</itemcopy>

<itemcopy>
<type>directory</type>
<source>/yast/CODE11/SL_11.0/zypp/</source>
<!-- Destination is always directory! -->
<destination>/srv/SLEPOS/2/</destination>
</itemcopy>

<itemcopy>
<type>file</type>
<source>/yast/CODE11/Alpha6Test.xml</source>
<!-- Destination is always directory! -->
<destination>/srv/SLEPOS/3</destination>
</itemcopy>

<itemcopy>
<type>file</type>
<source>/yast/docs/Behavioral_Indicators_Release_2.3</source>
<!-- Destination is always directory! -->
<destination>/srv/SLEPOS/4/</destination>
</itemcopy>

<itemcopy>
<type>directory</type>
<source>/tmp/some/missing/dir</source>
<destination>/srv/SLEPOS/5/</destination>
</itemcopy>

<!-- Erroneous -->
<itemcopy>
<type>directory</type>
<destination>/srv/SLEPOS/12/</destination>
</itemcopy>

<!-- Erroneous -->
<itemcopy>
<type>dyrectori</type>
<source>/tmp/</source>
<destination>/tmp/</destination>
</itemcopy>

</itemcopies>
</migrate>
2 changes: 2 additions & 0 deletions doc/.cvsignore
@@ -0,0 +1,2 @@
Makefile
Makefile.in
10 changes: 10 additions & 0 deletions doc/Makefile.am
@@ -0,0 +1,10 @@
# Makefile.am for pos-installation/doc

SUBDIRS = autodocs

htmldir = $(docdir)

doc_DATA =
html_DATA =

EXTRA_DIST = $(doc_DATA) $(html_DATA)
3 changes: 3 additions & 0 deletions doc/autodocs/.cvsignore
@@ -0,0 +1,3 @@
Makefile
Makefile.in
*.html
3 changes: 3 additions & 0 deletions doc/autodocs/Makefile.am
@@ -0,0 +1,3 @@
# Makefile.am for pos-installation/doc/autodocs

include $(top_srcdir)/autodocs-ycp.ami
2 changes: 2 additions & 0 deletions package/.cvsignore
@@ -0,0 +1,2 @@
*.spec
*.bz2
7 changes: 7 additions & 0 deletions package/yast2-pos-installation.changes
@@ -0,0 +1,7 @@
-------------------------------------------------------------------
Wed Oct 10 13:52:53 2007 - locilka@suse.cz

- initial version
* POS Data Migration client
* POS Pattern Selector
- 2.13.0
4 changes: 4 additions & 0 deletions src/.cvsignore
@@ -0,0 +1,4 @@
Makefile
Makefile.in
*.ybc
.dep
5 changes: 5 additions & 0 deletions src/Makefile.am
@@ -0,0 +1,5 @@
#
# Makefile.am for installation/src
#

SUBDIRS = clients scripts
11 changes: 11 additions & 0 deletions src/clients/Makefile.am
@@ -0,0 +1,11 @@
# Makefile.am for installation/general

client_DATA = $(wildcard *.ycp)
YCPCFLAGS = -M ../modules

EXTRA_DIST = $(client_DATA)

install-data-local:
-install -d -m 755 $(DESTDIR)/var/lib/YaST2

include $(top_srcdir)/Makefile.am.common

0 comments on commit 2225ad0

Please sign in to comment.