Neue Version V963
git-svn-id: svn://svn.compuextreme.de/Viitor/V963/ViitorInstall@5933 504e572c-2e33-0410-9681-be2bf7408885
This commit is contained in:
commit
632b48e1e3
57
.basedirs
Executable file
57
.basedirs
Executable file
|
@ -0,0 +1,57 @@
|
||||||
|
#!/bin/bash
|
||||||
|
# Erzeugung der Verzeichnisse für die Monsum Distribution
|
||||||
|
# (c) 2001 by RainMaer MultiMedia OHG Bamberg
|
||||||
|
#
|
||||||
|
# $Author$
|
||||||
|
# $Date$
|
||||||
|
# $Revision$
|
||||||
|
#
|
||||||
|
# $Log$
|
||||||
|
# Revision 1.2 2004/04/30 09:05:36 kueller
|
||||||
|
# /sys wird mit angelegt (ab kernel 2.6 für sysfs)
|
||||||
|
#
|
||||||
|
# Revision 1.1 2001/09/24 14:36:19 kueller
|
||||||
|
# Neustart wg. datenverlust
|
||||||
|
#
|
||||||
|
# Revision 1.1.1.1 2001/08/06 22:09:47 kueller
|
||||||
|
# Aufnahme in CVS Überwachung
|
||||||
|
#
|
||||||
|
#
|
||||||
|
#
|
||||||
|
|
||||||
|
create_dir() {
|
||||||
|
if [ ! -d $1 ]; then
|
||||||
|
mkdir $1
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
LFS=$1
|
||||||
|
cd $LFS
|
||||||
|
for i in bin boot dev dev/pts etc home lib mnt proc sys root sbin tmp var; do
|
||||||
|
create_dir $i
|
||||||
|
done
|
||||||
|
for dirname in $LFS/usr $LFS/usr/local; do
|
||||||
|
create_dir $dirname
|
||||||
|
cd $dirname
|
||||||
|
for i in bin etc include lib sbin share src tmp var; do
|
||||||
|
create_dir $i
|
||||||
|
done
|
||||||
|
ln -s share/man man
|
||||||
|
ln -s share/doc doc
|
||||||
|
ln -s share/info info
|
||||||
|
cd $dirname/share
|
||||||
|
for i in dict doc info locale man nls misc terminfo zoneinfo; do
|
||||||
|
create_dir $i
|
||||||
|
done
|
||||||
|
cd $dirname/share/man
|
||||||
|
for i in man1 man2 man3 man4 man5 man6 man7 man8; do
|
||||||
|
create_dir $i
|
||||||
|
done
|
||||||
|
done
|
||||||
|
cd $LFS/var
|
||||||
|
for i in lock log mail run spool tmp install state; do
|
||||||
|
create_dir $i
|
||||||
|
done
|
||||||
|
cd $LFS
|
||||||
|
chmod 0750 root
|
||||||
|
chmod 1777 tmp usr/tmp var/tmp
|
433
.function
Executable file
433
.function
Executable file
|
@ -0,0 +1,433 @@
|
||||||
|
#!/bin/bash
|
||||||
|
# bash Script Header der RainMaker MultiMedia OHG
|
||||||
|
# (c) 2001 by RainMaer MultiMedia OHG Bamberg
|
||||||
|
#
|
||||||
|
#$Author$
|
||||||
|
#$Date$
|
||||||
|
#$Revision$
|
||||||
|
#
|
||||||
|
#$Log$
|
||||||
|
#Revision 1.16 2006/07/17 19:45:34 kueller
|
||||||
|
#Aenderung beim mounten von /dev -> anpassung an udev im ersatz an devfs
|
||||||
|
#
|
||||||
|
#Revision 1.15 2006/06/24 08:48:29 kueller
|
||||||
|
#korrektur beim read aufruf (-r dass \ mit uebernommen und nicht interpretiert
|
||||||
|
#wird)
|
||||||
|
#
|
||||||
|
#Revision 1.14 2004/10/11 11:48:52 kueller
|
||||||
|
#Locale Abfrage nun auf Viitor_Install umgestellt
|
||||||
|
#
|
||||||
|
#Revision 1.13 2004/10/11 11:45:26 kueller
|
||||||
|
#Fehlerkorrektur bei der kernel und kernelmodule installation - es war
|
||||||
|
#noch der alte Pfad (/Monsum) eingestellt. ist nun auch auf /Viitor
|
||||||
|
#umgestellt
|
||||||
|
#
|
||||||
|
#Revision 1.12 2004/10/11 09:25:13 kueller
|
||||||
|
#Installation der Kernel Module nicht mehr mit cp sondern mit tar. Ausserdem
|
||||||
|
#CD Erkennung von Monsum in Viitor geändert.
|
||||||
|
#
|
||||||
|
#Revision 1.11 2004/10/11 08:50:06 kueller
|
||||||
|
#Anpassung an neues installpkg verhalten ungenuegend. Nummerierung erfolgt 2
|
||||||
|
#stellig. Fehler korrigiert
|
||||||
|
#
|
||||||
|
#Revision 1.10 2004/10/06 20:50:38 kueller
|
||||||
|
#Ausfuehrung der postinstallation scripts - speziell den spezialfall config -
|
||||||
|
#an neue version von installpkg angepasst
|
||||||
|
#
|
||||||
|
#Revision 1.9 2004/09/19 14:57:45 kueller
|
||||||
|
#An DVD Installation angepasst, so dass alle postinstall nach der eigentlichen
|
||||||
|
#installation ausgefuehrt werden.
|
||||||
|
#
|
||||||
|
#Revision 1.8 2002/08/13 20:01:16 hkueller
|
||||||
|
#while schleife zu read kommando vereinfacht
|
||||||
|
#
|
||||||
|
#Revision 1.7 2002/07/03 08:40:11 hkueller
|
||||||
|
#Unterstützung für ext3fs hinzugefügt
|
||||||
|
#
|
||||||
|
#Revision 1.6 2002/06/12 12:52:30 hkueller
|
||||||
|
#Installationsroutine make_base_install erweitert. getargsauswertung der
|
||||||
|
#Optionen, Verwendung unterschiedlicher pkg configurationen wird nun
|
||||||
|
#unterstützt. Standart ist BaseSystem.cfg mit installroot in /mnt
|
||||||
|
#mit -c können alternative .cfg Dateien angegeben werden. Mitgeliefert:
|
||||||
|
#All.cfg : installation aller Distributionsdateien
|
||||||
|
#Workstation.cfg: Normale Workstation Installation
|
||||||
|
#Ausserdem Localisierung der Installationroutine eingeführt
|
||||||
|
#
|
||||||
|
#Revision 1.5 2002/05/15 15:16:45 hkueller
|
||||||
|
#Installationsfunktion installpkg entfernt - wird nun durch neues installpkg
|
||||||
|
#script ersetzt
|
||||||
|
#
|
||||||
|
#Revision 1.4 2002/02/11 15:25:08 hkueller
|
||||||
|
#Korrektur der Kernel Installation - nicht vmlinuz (boot Kernel für CD) sondern
|
||||||
|
#vmlinuz.inst und System.map.inst muessen installiert werden
|
||||||
|
#(installation Kernel)
|
||||||
|
#
|
||||||
|
#Revision 1.3 2002/02/08 01:52:42 hkueller
|
||||||
|
#Verzeichniss angaben der aktuellen CD Strucktur angepasst (Kernel Installation
|
||||||
|
#suchte noch unter /RMMLinux die Daten)
|
||||||
|
#Damit sollte der lästige Fehler in den Kernelmodulen nach der Installation
|
||||||
|
#der Vergangenheit angehören
|
||||||
|
#
|
||||||
|
#Revision 1.2 2001/10/08 22:50:51 kueller
|
||||||
|
#Anzeige beim Kopieren der Module ausgeschalten
|
||||||
|
#
|
||||||
|
#Revision 1.1 2001/09/24 14:33:30 kueller
|
||||||
|
#Neustart wg. datenverlust
|
||||||
|
#
|
||||||
|
#Revision 1.2 2001/08/25 20:52:43 kueller
|
||||||
|
#
|
||||||
|
#Statusmeldungen an die neue Monsum Version angepasst
|
||||||
|
#
|
||||||
|
#Revision 1.1.1.1 2001/08/06 22:09:47 kueller
|
||||||
|
#Aufnahme in CVS Überwachung
|
||||||
|
#
|
||||||
|
#
|
||||||
|
|
||||||
|
COL=70
|
||||||
|
SET_COL="echo -en \\033[${COL}G"
|
||||||
|
NORMAL="echo -en \\033[0;39m"
|
||||||
|
SUCCESS="echo -en \\033[1;42m"
|
||||||
|
FAILURE="echo -en \\033[1;41m"
|
||||||
|
|
||||||
|
print_status(){
|
||||||
|
if [ $# = 0 ]
|
||||||
|
then
|
||||||
|
echo "Usage: print_status {success|failure}"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
case "$1" in
|
||||||
|
success)
|
||||||
|
$SET_COL
|
||||||
|
$SUCCESS
|
||||||
|
echo -n " READY "
|
||||||
|
$NORMAL
|
||||||
|
echo ""
|
||||||
|
;;
|
||||||
|
failure)
|
||||||
|
$SET_COL
|
||||||
|
$FAILURE
|
||||||
|
echo -n " FAILED "
|
||||||
|
$NORMAL
|
||||||
|
echo ""
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
print() {
|
||||||
|
STRING=$1
|
||||||
|
shift
|
||||||
|
printf "`gettext -d Viitor_Install "$STRING"`\n" $*
|
||||||
|
}
|
||||||
|
|
||||||
|
make_FileSystem() {
|
||||||
|
KONFIG=$1
|
||||||
|
DEST=$2
|
||||||
|
MOUNTPOINTS=""
|
||||||
|
cat $KONFIG/fstab|awk '{print $1":"$2":"$3":"$4":"$5":"$6}' >/tmp/fstab
|
||||||
|
for i in `cat /tmp/fstab`; do
|
||||||
|
MOUNTPOINTS="$MOUNTPOINTS `echo $i|cut -d ":" -f 2`"
|
||||||
|
if [ "reiserfs" == `echo $i |cut -d ":" -f 3` ]; then
|
||||||
|
case "`echo $i|cut -d ":" -f 2`" in
|
||||||
|
"/")
|
||||||
|
ROOT=`echo $i|cut -d ":" -f 1`
|
||||||
|
yes|mkreiserfs $ROOT
|
||||||
|
;;
|
||||||
|
"/usr")
|
||||||
|
USR=`echo $i|cut -d ":" -f 1`
|
||||||
|
yes|mkreiserfs $USR
|
||||||
|
;;
|
||||||
|
"/opt")
|
||||||
|
OPT=`echo $i|cut -d ":" -f 1`
|
||||||
|
yes|mkreiserfs $OPT
|
||||||
|
;;
|
||||||
|
"/var")
|
||||||
|
VAR=`echo $i|cut -d ":" -f 1`
|
||||||
|
yes|mkreiserfs $VAR
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
fi
|
||||||
|
if [ "xfs" == `echo $i |cut -d ":" -f 3` ]; then
|
||||||
|
case "`echo $i|cut -d ":" -f 2`" in
|
||||||
|
"/")
|
||||||
|
ROOT=`echo $i|cut -d ":" -f 1`
|
||||||
|
mkfs.xfs -f $ROOT
|
||||||
|
;;
|
||||||
|
"/usr")
|
||||||
|
USR=`echo $i|cut -d ":" -f 1`
|
||||||
|
mkfs.xfs -f $USR
|
||||||
|
;;
|
||||||
|
"/opt")
|
||||||
|
OPT=`echo $i|cut -d ":" -f 1`
|
||||||
|
mkfs.xfs -f $OPT
|
||||||
|
;;
|
||||||
|
"/var")
|
||||||
|
VAR=`echo $i|cut -d ":" -f 1`
|
||||||
|
mkfs.xfs -f $VAR
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
fi
|
||||||
|
if [ "ext2" == `echo $i |cut -d ":" -f 3` ]; then
|
||||||
|
case "`echo $i|cut -d ":" -f 2`" in
|
||||||
|
"/")
|
||||||
|
ROOT=`echo $i|cut -d ":" -f 1`
|
||||||
|
mkfs $ROOT
|
||||||
|
;;
|
||||||
|
"/usr")
|
||||||
|
USR=`echo $i|cut -d ":" -f 1`
|
||||||
|
mkfs $USR
|
||||||
|
;;
|
||||||
|
"/opt")
|
||||||
|
OPT=`echo $i|cut -d ":" -f 1`
|
||||||
|
mkfs $OPT
|
||||||
|
;;
|
||||||
|
"/var")
|
||||||
|
VAR=`echo $i|cut -d ":" -f 1`
|
||||||
|
mkfs $VAR
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
fi
|
||||||
|
if [ "ext3" == `echo $i |cut -d ":" -f 3` ]; then
|
||||||
|
case "`echo $i|cut -d ":" -f 2`" in
|
||||||
|
"/")
|
||||||
|
ROOT=`echo $i|cut -d ":" -f 1`
|
||||||
|
mkfs -t ext3 $ROOT
|
||||||
|
;;
|
||||||
|
"/usr")
|
||||||
|
USR=`echo $i|cut -d ":" -f 1`
|
||||||
|
mkfs -t ext3 $USR
|
||||||
|
;;
|
||||||
|
"/opt")
|
||||||
|
OPT=`echo $i|cut -d ":" -f 1`
|
||||||
|
mkfs -t ext3 $OPT
|
||||||
|
;;
|
||||||
|
"/var")
|
||||||
|
VAR=`echo $i|cut -d ":" -f 1`
|
||||||
|
mkfs -t ext3 $VAR
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
fi
|
||||||
|
if [ "swap" == `echo $i | cut -d ":" -f 3` ]; then
|
||||||
|
case "`echo $i|cut -d ":" -f 2`" in
|
||||||
|
"swap")
|
||||||
|
SWAP=`echo $i|cut -d ":" -f 1`
|
||||||
|
print "Initializing swap on %b" $SWAP
|
||||||
|
mkswap -c $SWAP
|
||||||
|
swapon $SWAP
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
$DEBUG mount $ROOT $DEST
|
||||||
|
if [ -n $OPT ]; then
|
||||||
|
mkdir $DEST/opt
|
||||||
|
mount $OPT $DEST/opt
|
||||||
|
fi
|
||||||
|
if [ -n $USR ]; then
|
||||||
|
mkdir $DEST/usr
|
||||||
|
mount $USR $DEST/usr
|
||||||
|
fi
|
||||||
|
if [ -n $VAR ]; then
|
||||||
|
mkdir $DEST/var
|
||||||
|
mount $VAR $DEST/var
|
||||||
|
fi
|
||||||
|
for i in $MOUNTPOINTS; do
|
||||||
|
if [ ! -d $DEST/$i ] && [ ! "$i" == "swap" ]; then
|
||||||
|
mkdir $DEST/$i
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
gen_name() {
|
||||||
|
basename $1|sed -e "s/\.tbz//"
|
||||||
|
}
|
||||||
|
|
||||||
|
install_kernel() {
|
||||||
|
if [ -f /boot/vmlinuz ] && [ ! -f /Viitor/VERSION ]; then
|
||||||
|
print "installing available system kernel"
|
||||||
|
$DEBUG cp /boot/vmlinuz $1/boot/vmlinuz
|
||||||
|
$DEBUG cp /boot/System.map $1/boot/System.map
|
||||||
|
if [ -f /boot/vmlinuz.old ]; then
|
||||||
|
$DEBUG cp /boot/vmlinuz.old $1/boot/vmlinuz.old
|
||||||
|
$DEBUG cp /boot/System.old $1/boot/System.old
|
||||||
|
fi
|
||||||
|
print_status success
|
||||||
|
print "installing available kernel modules"
|
||||||
|
$DEBUG mkdir $1/lib/modules
|
||||||
|
cd /lib/modules
|
||||||
|
tar -cf - `uname -r`|\
|
||||||
|
tar -C $1/lib/modules -xf -
|
||||||
|
cd -
|
||||||
|
print_status success
|
||||||
|
else
|
||||||
|
print "No kernel found"
|
||||||
|
print "installing standard kernel"
|
||||||
|
print "Kernel installation:"
|
||||||
|
$DEBUG cp /boot/vmlinuz $1/boot/vmlinuz.viitor
|
||||||
|
$DEBUG cp /boot/initrd.gz $1/boot/initrd.gz
|
||||||
|
$DEBUG cp /Viitor/boot/System.map $1/boot/System.map
|
||||||
|
if [ ! -d $1/lib/modules ]; then
|
||||||
|
mkdir $1/lib/modules
|
||||||
|
fi
|
||||||
|
cd $1/lib/modules
|
||||||
|
tar -zxf /Viitor/boot/modules.tgz
|
||||||
|
print_status success
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
FindHDDev() {
|
||||||
|
PART=$1
|
||||||
|
DEVICE=`basename $PART`
|
||||||
|
DEVICE=`find /sys/block/[sh]d? -name $DEVICE`
|
||||||
|
if [ ${DEVICE} ]; then
|
||||||
|
DEVICE=`dirname $DEVICE`
|
||||||
|
basename $DEVICE
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
make_boot() {
|
||||||
|
INSTROOT=$1
|
||||||
|
INSTROOT=`echo $INSTROOT|sed -e "s%/$%%"`
|
||||||
|
$DEBUG mount -o bind /dev $INSTROOT/dev
|
||||||
|
$DEBUG mount -t proc none $INSTROOT/proc
|
||||||
|
ROOTPART=`mount|grep "on $INSTROOT "|awk '{print $1}'`
|
||||||
|
ROOTPART=`basename $ROOTPART`
|
||||||
|
ROOTDEV=`FindHDDev $ROOTPART`
|
||||||
|
sed -e "s/^\(boot=\/dev\/\)<YourBootDev>/\1$ROOTDEV/" \
|
||||||
|
-e "s/^.*\(root = \/dev\/\)<YourBootPartition>/\1$ROOTPART/" \
|
||||||
|
$INSTROOT/etc/lilo.conf >/tmp/lilo.conf
|
||||||
|
mv /tmp/lilo.conf $INSTROOT/etc/lilo.conf
|
||||||
|
print "Add $ROOTPART to your lilo.conf as ViitorOrginal"
|
||||||
|
WINNTPART=`fdisk -l /dev/hda|sed -e "s/\*//" |awk '{ if ( $5 == "7" ) print $1}'`
|
||||||
|
if [ ${WINNTPART} ]; then
|
||||||
|
WINNTPART=`basename $WINNTPART`
|
||||||
|
WINNTHD=`FindHDDev $WINNTPART`
|
||||||
|
sed -e "s/#\(other = \/dev\/\).*$/\1$WINNTPART/" \
|
||||||
|
-e "s/#.*\(\label = \)windows/ \1WinNT/" \
|
||||||
|
-e "s/#.*\(table = \/dev\/\).*$/ \1$WINNTHD/" \
|
||||||
|
$INSTROOT/etc/lilo.conf >/tmp/lilo.conf
|
||||||
|
mv /tmp/lilo.conf $INSTROOT/etc/lilo.conf
|
||||||
|
print "Add $WINNTHD as WinNT boot to your lilo.conf"
|
||||||
|
fi
|
||||||
|
if [ ! -f $INSTROOT/tmp/NOQUEST ]; then
|
||||||
|
print "You can now switch to the new System and edit your lilo.conf"
|
||||||
|
print "by the way to install a new kernel, or build a new kernel"
|
||||||
|
print "if you say \"no\", this script will install the CD Boot Kernel"
|
||||||
|
print "with special boot support for HD"
|
||||||
|
print "Would you like to edit your lilo.conf ?[Y/n]"
|
||||||
|
read
|
||||||
|
if [ ! "$REPLY" == "y" ]; then
|
||||||
|
$DEBUG chroot $INSTROOT /sbin/lilo
|
||||||
|
else
|
||||||
|
print "The root is now changed to the new System for this task"
|
||||||
|
$DEBUG chroot $INSTROOT /usr/bin/env -i HOME=/root TERM=$TERM /bin/bash --login
|
||||||
|
fi
|
||||||
|
$DEBUG umount $INSTROOT/dev
|
||||||
|
$DEBUG umount $INSTROOT/proc
|
||||||
|
print "your System is now installed. please remove the CD/DVD"
|
||||||
|
print "and reboot your System"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
install_cluster() {
|
||||||
|
CFGFILE=$1
|
||||||
|
INSTALLROOT=$2
|
||||||
|
INSTSOURCE=$3
|
||||||
|
|
||||||
|
sed -e "/^#/d" -e "/^ *$/d" $CFGFILE >/tmp/install$$
|
||||||
|
NUMOFPKG=`cat /tmp/install$$|wc -l`
|
||||||
|
exec 3</tmp/install$$
|
||||||
|
if [ ! -z ${NO_DEV} ]; then
|
||||||
|
INSTOPT="${INSTOPT} -e"
|
||||||
|
fi
|
||||||
|
if [ ! -z ${NO_MAN} ]; then
|
||||||
|
INSTOPT="${INSTOPT} -a"
|
||||||
|
fi
|
||||||
|
while read -r <&3 INSTCD PKGPATH SHNAME; do
|
||||||
|
echo -n "$NUMOFPKG: "
|
||||||
|
INSTPKG=`grep "SN=$SHNAME;.*PP=$PKGPATH\$" $INSTSOURCE/$PKGLIST|awk -F";" '{print $2}'|sed -e "s/PF=//"`
|
||||||
|
if [ "$INSTCD" == "Boot" ]; then
|
||||||
|
installpkg ${INSTOPT} -m $INSTALLROOT -doi $INSTSOURCE/$PKGPATH/$INSTPKG
|
||||||
|
else
|
||||||
|
echo "$INSTCD $INSTPKG" >>$INSTALLROOT/var/install/pkg_to_do
|
||||||
|
fi
|
||||||
|
(( NUMOFPKG-- ))
|
||||||
|
done
|
||||||
|
if [ -f $INSTALLROOT/root/.bash_profile ]; then
|
||||||
|
cp $INSTALLROOT/root/.bash_profile $INSTALLROOT/root/.bash_profile.store
|
||||||
|
fi
|
||||||
|
if [ -f $INSTALLROOT/tmp/afterinstall/[0-9][0-9].config-[0-9]*.postinstall ]; then
|
||||||
|
source $INSTALLROOT/tmp/afterinstall/[0-9][0-9].config-[0-9]*.postinstall $INSTALLROOT
|
||||||
|
rm $INSTALLROOT/tmp/afterinstall/[0-9][0-9].config-[0-9]*.postinstall
|
||||||
|
fi
|
||||||
|
echo "export INSTROOT=$INSTALLROOT" >>$INSTALLROOT/root/.bash_profile
|
||||||
|
echo "cd /" >>$INSTALLROOT/root/.bash_profile
|
||||||
|
echo "ldconfig" >>$INSTALLROOT/root/.bash_profile
|
||||||
|
echo "chmod 1777 tmp" >>$INSTALLROOT/root/.bash_profile
|
||||||
|
echo "if [ -d /tmp/afterinstall ]; then" >>$INSTALLROOT/root/.bash_profile
|
||||||
|
echo "for i in /tmp/afterinstall/*; do" >>$INSTALLROOT/root/.bash_profile
|
||||||
|
echo "chmod 755 \$i" >>$INSTALLROOT/root/.bash_profile
|
||||||
|
echo "bash -c \$i /" >>$INSTALLROOT/root/.bash_profile
|
||||||
|
echo "cd - >/dev/null" >>$INSTALLROOT/root/.bash_profile
|
||||||
|
echo "rm \$i" >>$INSTALLROOT/root/.bash_profile
|
||||||
|
echo "done" >>$INSTALLROOT/root/.bash_profile
|
||||||
|
echo "rm -r /tmp/afterinstall" >>$INSTALLROOT/root/.bash_profile
|
||||||
|
echo "fi" >>$INSTALLROOT/root/.bash_profile
|
||||||
|
echo "exit" >>$INSTALLROOT/root/.bash_profile
|
||||||
|
mknod $INSTALLROOT/dev/console c 5 1
|
||||||
|
mknod $INSTALLROOT/dev/null c 1 3
|
||||||
|
mkdir $INSTALLROOT/media
|
||||||
|
mount -o bind /dev $INSTALLROOT/dev
|
||||||
|
mount -o bind /proc $INSTALLROOT/proc
|
||||||
|
chroot $INSTALLROOT /usr/bin/env -i HOME=/root TERM=$TERM /bin/bash --login
|
||||||
|
if [ -f "$INSTALLROOT/root/.bash_profile" ]; then
|
||||||
|
mv $INSTALLROOT/root/.bash_profile.store $INSTALLROOT/root/.bash_profile
|
||||||
|
fi
|
||||||
|
umount $INSTALLROOT/proc
|
||||||
|
umount $INSTALLROOT/dev
|
||||||
|
}
|
||||||
|
|
||||||
|
ScanInstalledPackages() {
|
||||||
|
ALLPACKAGES=$1
|
||||||
|
OUTFILE=$2
|
||||||
|
|
||||||
|
|
||||||
|
cat /var/install/contents|\
|
||||||
|
awk -F";" '{print $1}'|\
|
||||||
|
sort -u|\
|
||||||
|
sed -e "s/^PN=//" >/tmp/allprogs$$
|
||||||
|
if [ ! -f $ALLPACKAGES ]; then
|
||||||
|
echo "$ALLPACKAGES not found"
|
||||||
|
exit 10
|
||||||
|
fi
|
||||||
|
exec 3< $ALLPACKAGES
|
||||||
|
while read -r <&3 CDROM PKGPATH PACKAGE; do
|
||||||
|
if grep -q $PACKAGE /tmp/allprogs$$; then
|
||||||
|
echo "$CDROM $PKGPATH $PACKAGE"
|
||||||
|
echo "$PACKAGE" >>/tmp/foundprogs$$
|
||||||
|
fi
|
||||||
|
done >$OUTFILE
|
||||||
|
exec 3>&-
|
||||||
|
for i in `cat /tmp/allprogs$$`; do
|
||||||
|
if ! grep -q "${i}" /tmp/foundprogs$$; then
|
||||||
|
if [ ! "$i" == "tmp" ]; then
|
||||||
|
echo $i
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
rm /tmp/allprogs$$
|
||||||
|
rm /tmp/foundprogs$$
|
||||||
|
}
|
||||||
|
|
||||||
|
FindDiskDevices() {
|
||||||
|
for i in `\ls /dev/{h,s}d? 2>/dev/null`; do
|
||||||
|
DEVNAME=`basename $i`
|
||||||
|
if [ "`cat /sys/block/$DEVNAME/device/type 2>/dev/null`" == "0" ] || \
|
||||||
|
[ "`cat /sys/block/$DEVNAME/device/media 2>/dev/null`" == "disk" ] ; then
|
||||||
|
if [ "`cat /sys/block/$DEVNAME/removable 2>/dev/null`" == "0" ]; then
|
||||||
|
echo $DEVNAME
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
}
|
1
FileLists/XOrg
Normal file
1
FileLists/XOrg
Normal file
|
@ -0,0 +1 @@
|
||||||
|
PKGFNAMES="etc/X11/xorg.conf etc/X11/xdm/*.xdm"
|
1
FileLists/config
Normal file
1
FileLists/config
Normal file
|
@ -0,0 +1 @@
|
||||||
|
PKGFNAMES="/etc/fstab /etc/passwd /etc/group /etc/shadow /etc/sysconfig/net/defaultrouter /etc/sysconfig/nodename /etc/hosts /etc/resolv.conf /etc/sysconfig/loadmods"
|
1
FileLists/ypclient
Normal file
1
FileLists/ypclient
Normal file
|
@ -0,0 +1 @@
|
||||||
|
PKGFNAMES="/etc/sysconfig/nis/defaultdomain /etc/yp.conf"
|
196
GenInstallcfg
Normal file
196
GenInstallcfg
Normal file
|
@ -0,0 +1,196 @@
|
||||||
|
#!/usr/bin/env perl
|
||||||
|
#Framework, welches ein komplettes Linux System aus den Sourcen erstellt
|
||||||
|
#dieses Framework wird im CVS Repository
|
||||||
|
#:pserver:cvs.compuextreme.de:/Data/cvs zur Verfügung gestellt
|
||||||
|
#
|
||||||
|
#Lage dieser Datei im Archiv: $HeadURL: svn://svn.compuextreme.de/Viitor/V962/ViitorMake/Scripts/GenInstallcfg $
|
||||||
|
#
|
||||||
|
#(c) 2003 Harald Kueller, Germany
|
||||||
|
#This program is free software; you can redistribute it and/or
|
||||||
|
#modify ist under the terms of the GNU General Public License
|
||||||
|
#as published by the Free Software Foundation; either version
|
||||||
|
#2 of the License, or (at your option) any later version.
|
||||||
|
#
|
||||||
|
#This program is distributed in the hope that it will be useful,
|
||||||
|
#but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
|
#See the GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
#You should have received a copy of the GNU General Public License
|
||||||
|
#along with this program; if not write to the Free Software Foundation,
|
||||||
|
#Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
|
#
|
||||||
|
#Script:
|
||||||
|
#
|
||||||
|
#Letzte Änderung von: $Author: kueller $
|
||||||
|
#Datum der letzten Änderung: $Date: 2010-01-19 12:27:40 +0100 (Di, 19 Jan 2010) $
|
||||||
|
#Version der Datei: $Revision: 5134 $
|
||||||
|
#
|
||||||
|
#
|
||||||
|
|
||||||
|
use strict;
|
||||||
|
use Getopt::Std;
|
||||||
|
|
||||||
|
my %ArgSwitches;
|
||||||
|
my $DistTarget;
|
||||||
|
my $CfgFile;
|
||||||
|
my $PkgName;
|
||||||
|
my @PkgList;
|
||||||
|
my @CheckDependics;
|
||||||
|
|
||||||
|
getopts('d:f:',\%ArgSwitches);
|
||||||
|
foreach (sort keys %ArgSwitches) {
|
||||||
|
( $_ eq "d" ) && ($DistTarget = $ArgSwitches{$_});
|
||||||
|
( $_ eq "f" ) && ($CfgFile = $ArgSwitches{$_});
|
||||||
|
}
|
||||||
|
|
||||||
|
if ( ($ArgSwitches{f}) && ($ArgSwitches{d}) ) {
|
||||||
|
my @CfgFile;
|
||||||
|
my @Dependics;
|
||||||
|
open(CFG,"$CfgFile") or die "Could not open the in file: $!";
|
||||||
|
@CfgFile=<CFG>;
|
||||||
|
foreach(@CfgFile) {
|
||||||
|
chomp($_);
|
||||||
|
}
|
||||||
|
close CFG;
|
||||||
|
open(PKGLIST,"$DistTarget/.pkglist") or die "Could no open pkglist: $!";
|
||||||
|
@PkgList = <PKGLIST>;
|
||||||
|
close PKGLIST;
|
||||||
|
@CheckDependics=@CfgFile;
|
||||||
|
foreach ( @CheckDependics ) {
|
||||||
|
print STDERR "Generating Dependics for $_\n";
|
||||||
|
my @PkgFileInfo = &GetPkgInfoList($_);
|
||||||
|
if ( ! @PkgFileInfo ) {
|
||||||
|
print STDERR "Error in Config File: Shortname $_ not found!";
|
||||||
|
exit 10;
|
||||||
|
}
|
||||||
|
my $PkgFilePath="$DistTarget/$PkgFileInfo[1]/$PkgFileInfo[0]";
|
||||||
|
@Dependics=&GetDependicsList($PkgFilePath);
|
||||||
|
foreach ( @Dependics ) {
|
||||||
|
my $NotFound;
|
||||||
|
|
||||||
|
chomp($_);
|
||||||
|
$_ =~ s/^WARN\s(.*)$/$1/;
|
||||||
|
$_ =~ s/^FORCE\s(.*)$/$1/;
|
||||||
|
my $DepName=$_;
|
||||||
|
$DepName =~ s/\+/\\+/g;
|
||||||
|
$NotFound=0;
|
||||||
|
foreach ( @CheckDependics ) {
|
||||||
|
if ( /^$DepName$/ ) {
|
||||||
|
$NotFound=1;
|
||||||
|
last;
|
||||||
|
} else {
|
||||||
|
$NotFound=0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if ( ! $NotFound ) {
|
||||||
|
push @CheckDependics,$_;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
open (BASE,"$DistTarget/../install/BaseDevel.cfg") or die "BaseDevel.cfg not found - should be created first! :$!\n";
|
||||||
|
my @Cfg = <BASE>;
|
||||||
|
close BASE;
|
||||||
|
foreach ( @Cfg ) {
|
||||||
|
chomp($_);
|
||||||
|
my @CfgLine = split /\s/,$_;
|
||||||
|
my $NotFound;
|
||||||
|
my $DepName = $CfgLine[2];
|
||||||
|
$DepName=~ s/\+/\\+/g;
|
||||||
|
foreach ( @CheckDependics ) {
|
||||||
|
if ( /^$DepName$/ ) {
|
||||||
|
$NotFound=1;
|
||||||
|
last;
|
||||||
|
} else {
|
||||||
|
$NotFound=0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if ( ! $NotFound ) {
|
||||||
|
push @CheckDependics, $DepName;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
open ( ALL,"$DistTarget/../install/All.cfg" ) or die "All.cfg must be created first!: $!\n";
|
||||||
|
@Cfg = <ALL>;
|
||||||
|
close ALL;
|
||||||
|
my @NewCfg;
|
||||||
|
foreach ( @Cfg ) {
|
||||||
|
chomp($_);
|
||||||
|
my @CfgLine = split /\s/,$_;
|
||||||
|
my $NotFound;
|
||||||
|
my $DepName = $CfgLine[2];
|
||||||
|
$DepName =~ s/\+/\\+/g;
|
||||||
|
foreach ( @CheckDependics ) {
|
||||||
|
if ( /^$DepName$/ ) {
|
||||||
|
$NotFound=1;
|
||||||
|
last;
|
||||||
|
} else {
|
||||||
|
$NotFound=0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if ( $NotFound ) {
|
||||||
|
push @NewCfg, $_;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
foreach ( @NewCfg ) {
|
||||||
|
print "$_\n"
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
&HELP_MESSAGE();
|
||||||
|
}
|
||||||
|
|
||||||
|
sub DeBzip2() {
|
||||||
|
open(UNCOMPRESS,"|bzip2 -d -c >/tmp/installpkg_bzip2_$$") or die "Can not start decompress: $!";
|
||||||
|
print UNCOMPRESS @_;
|
||||||
|
close UNCOMPRESS;
|
||||||
|
open(DATA,"/tmp/installpkg_bzip2_$$") or die "Data File after decompression not found: $!";
|
||||||
|
my @UnBzip2Data = <DATA>;
|
||||||
|
close DATA;
|
||||||
|
unlink("/tmp/installpkg_bzip2_$$");
|
||||||
|
return @UnBzip2Data;
|
||||||
|
}
|
||||||
|
|
||||||
|
sub GetPkgInfoList() {
|
||||||
|
my @PkgFile;
|
||||||
|
my $SearchName=$_[0];
|
||||||
|
|
||||||
|
$SearchName=~s/\+/\\+/g;
|
||||||
|
foreach ( @PkgList ) {
|
||||||
|
if ( /SN=$SearchName;PF=(.*);PP=(.*)/ ) {
|
||||||
|
$PkgFile[0]=$1;
|
||||||
|
$PkgFile[1]=$2;
|
||||||
|
chomp($PkgFile[1]);
|
||||||
|
return @PkgFile;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return();
|
||||||
|
}
|
||||||
|
|
||||||
|
sub GetDependicsList() {
|
||||||
|
my $PkgFile=@_[0];
|
||||||
|
my @StartFile;
|
||||||
|
|
||||||
|
open(ARCH,$PkgFile) or die "Could not open Archive File: $!";
|
||||||
|
my $ArchiveInfo=<ARCH>;
|
||||||
|
my @FileSizes = split /\s/,$ArchiveInfo;
|
||||||
|
unshift(@FileSizes,0);
|
||||||
|
$FileSizes[0]=tell(ARCH);
|
||||||
|
for ( my $j = 0; $j <= 11; $j++ ) {
|
||||||
|
for ( my $i=0; $i <= $j; $i++ ) {
|
||||||
|
$StartFile[$j]+=$FileSizes[$i];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
shift @FileSizes;
|
||||||
|
if ( $FileSizes[0] > 0 ) {
|
||||||
|
read ARCH,my $Dependics, $FileSizes[0];
|
||||||
|
close ARCH;
|
||||||
|
return(&DeBzip2($Dependics));
|
||||||
|
} else {
|
||||||
|
close ARCH;
|
||||||
|
return () ;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
sub HELP_MESSAGE() {
|
||||||
|
printf("\nGenInstallcfg: Aus den *.in files *.cfg files für make_base_install erzeugen\n");
|
||||||
|
printf("usage: ./GenInstallcfg -d <Distributionbinarydir> -f <cfg.in file>\n");
|
||||||
|
}
|
117
GenInstallcfg.sh
Executable file
117
GenInstallcfg.sh
Executable file
|
@ -0,0 +1,117 @@
|
||||||
|
#!/bin/bash
|
||||||
|
#Framework, welches ein komplettes Linux System aus den Sourcen erstellt
|
||||||
|
#dieses Framework wird im CVS Repository
|
||||||
|
#:pserver:cvs.compuextreme.de:/Data/cvs zur Verfügung gestellt
|
||||||
|
#
|
||||||
|
#Lage dieser Datei im Archiv: $HeadURL: svn://svn.compuextreme.de/Viitor/V962/ViitorMake/Scripts/GenInstallcfg $
|
||||||
|
#
|
||||||
|
#(c) 2003 Harald Kueller, Germany
|
||||||
|
#This program is free software; you can redistribute it and/or
|
||||||
|
#modify ist under the terms of the GNU General Public License
|
||||||
|
#as published by the Free Software Foundation; either version
|
||||||
|
#2 of the License, or (at your option) any later version.
|
||||||
|
#
|
||||||
|
#This program is distributed in the hope that it will be useful,
|
||||||
|
#but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
|
#See the GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
#You should have received a copy of the GNU General Public License
|
||||||
|
#along with this program; if not write to the Free Software Foundation,
|
||||||
|
#Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
|
#
|
||||||
|
#Script:
|
||||||
|
#
|
||||||
|
#Letzte Änderung von: $Author: kueller $
|
||||||
|
#Datum der letzten Änderung: $Date: 2010-01-19 12:27:40 +0100 (Di, 19 Jan 2010) $
|
||||||
|
#Version der Datei: $Revision: 5134 $
|
||||||
|
#
|
||||||
|
#
|
||||||
|
|
||||||
|
export PKGLIST=.pkglist
|
||||||
|
|
||||||
|
WDIR=`pwd`
|
||||||
|
|
||||||
|
PKGLISTING=$1
|
||||||
|
TMPFILE=`mktemp`
|
||||||
|
TMPFILE2=`mktemp`
|
||||||
|
rm $TMPFILE
|
||||||
|
rm $TMPFILE2
|
||||||
|
NUMDEPSOLD=0
|
||||||
|
NUMDEPSNEW=0
|
||||||
|
|
||||||
|
GenDeps() {
|
||||||
|
PKGNAME=$1
|
||||||
|
echo >&2 "Generating Dependics for $PKGNAME"
|
||||||
|
PKGFILE=`grep "SN=$PKGNAME;" $DISTTARGET/$PKGLIST|\
|
||||||
|
awk -F";" '{print $2}'|sed -e "s/PF=//"`
|
||||||
|
PKGPATH=`grep "PF=$PKGFILE;" $DISTTARGET/$PKGLIST|\
|
||||||
|
awk -F";" '{print $3}'|\
|
||||||
|
sed -e "s/PP=//"`
|
||||||
|
extractvarchive $DISTTARGET/$PKGPATH/$PKGFILE dep >$TMPFILE
|
||||||
|
echo "WARN $PKGNAME" >>$TMPFILE
|
||||||
|
NUMDEPSOLD=`cat $TMPFILE|wc -l`
|
||||||
|
while [ ! $NUMDEPSOLD == $NUMDEPSNEW ]; do
|
||||||
|
NUMDEPSOLD=$NUMDEPSNEW
|
||||||
|
exec 3<$TMPFILE
|
||||||
|
while read <&3 FLAG SHNAME; do
|
||||||
|
grep "SN=$SHNAME;" $DISTTARGET/$PKGLIST|awk -F";" '{print $2}'|sed -e "s/PF=//"
|
||||||
|
done > $TMPFILE2
|
||||||
|
exec 3>&-
|
||||||
|
for i in `cat $TMPFILE2`; do
|
||||||
|
PKGPATH=`grep "PF=$i;" $DISTTARGET/$PKGLIST|\
|
||||||
|
awk -F";" '{print $3}'|\
|
||||||
|
sed -e "s/PP=//"`
|
||||||
|
extractvarchive $DISTTARGET/$PKGPATH/$i dep
|
||||||
|
done >>$TMPFILE
|
||||||
|
rm $TMPFILE2
|
||||||
|
cat $TMPFILE |sort -u >$TMPFILE2
|
||||||
|
mv $TMPFILE2 $TMPFILE
|
||||||
|
NUMDEPSNEW=`cat $TMPFILE|wc -l`
|
||||||
|
done
|
||||||
|
cat $TMPFILE
|
||||||
|
rm $TMPFILE
|
||||||
|
}
|
||||||
|
|
||||||
|
USAGE="Usage: $0 -d <Path to Distribution Packages> -f <Path to cfg in file>"
|
||||||
|
while getopts :d:f: opt_char; do
|
||||||
|
case $opt_char in
|
||||||
|
d)
|
||||||
|
DISTTARGET=$OPTARG
|
||||||
|
;;
|
||||||
|
f)
|
||||||
|
CFGFILE=$OPTARG
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo $USAGE
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
|
||||||
|
if [ ! -d $DISTTARGET ]; then
|
||||||
|
echo "$DISTTARGET ist not a directory"
|
||||||
|
echo $USAGE
|
||||||
|
exit 10
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ ! -f $CFGFILE ]; then
|
||||||
|
echo "$CFGFILE does not exist"
|
||||||
|
echo $USAGE
|
||||||
|
exit 10
|
||||||
|
fi
|
||||||
|
|
||||||
|
for i in `cat $CFGFILE`; do
|
||||||
|
GenDeps $i >>/tmp/DepsList$$
|
||||||
|
done
|
||||||
|
cat /tmp/DepsList$$|sort -u >/tmp/DepsListSort$$
|
||||||
|
rm /tmp/DepsList$$
|
||||||
|
cat $DISTTARGET/../install/BaseDevel.cfg
|
||||||
|
exec 3<$DISTTARGET/../install/All.cfg
|
||||||
|
while read <&3 CDROM PKGPATH MODNAME; do
|
||||||
|
if egrep -q " ${MODNAME}$" /tmp/DepsListSort$$; then
|
||||||
|
if ! egrep -q " ${MODNAME}$" $DISTTARGET/../install/BaseDevel.cfg; then
|
||||||
|
echo "$CDROM $PKGPATH $MODNAME"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
rm /tmp/DepsListSort$$
|
18
GenPkgList
Executable file
18
GenPkgList
Executable file
|
@ -0,0 +1,18 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
WDIR=`pwd`
|
||||||
|
|
||||||
|
DISTTARGET=$1
|
||||||
|
|
||||||
|
if [ ! $DISTTARGET ] || [ ! -d $DISTTARGET ]; then
|
||||||
|
echo "Usage: $0 <Path to Distribution Binary files>"
|
||||||
|
exit 10
|
||||||
|
fi
|
||||||
|
|
||||||
|
for i in `find $DISTTARGET -name "*.vpg"`; do
|
||||||
|
PKGFILE=`basename $i`
|
||||||
|
PKGPATH=`dirname $i`
|
||||||
|
PKGPATH=`echo $PKGPATH|sed -e "s%$DISTTARGET/%%"`
|
||||||
|
SHNAME=`extractvarchive $DISTTARGET/$PKGPATH/$PKGFILE meta|grep ModuleName|awk '{print $2}'`
|
||||||
|
echo "SN=$SHNAME;PF=$PKGFILE;PP=$PKGPATH"
|
||||||
|
done
|
68
GenPkgList.pl
Executable file
68
GenPkgList.pl
Executable file
|
@ -0,0 +1,68 @@
|
||||||
|
#!/usr/bin/env perl
|
||||||
|
|
||||||
|
use strict;
|
||||||
|
use Getopt::Std;
|
||||||
|
use File::Basename;
|
||||||
|
use File::Path;
|
||||||
|
use Cwd;
|
||||||
|
use Sys::Syslog;
|
||||||
|
|
||||||
|
#my $ShortName=&GetShortName($ARGV[0]);
|
||||||
|
my $DirPath=$ARGV[0];
|
||||||
|
|
||||||
|
if ( -d $DirPath ) {
|
||||||
|
open(FIND,"find $DirPath -name \"\*.vpg\"|");
|
||||||
|
my @FileList=<FIND>;
|
||||||
|
#print "@FileList";
|
||||||
|
foreach(@FileList) {
|
||||||
|
#print "$_\n";
|
||||||
|
my $ShortName=&GetShortName($_);
|
||||||
|
my $PkgName=basename($_);
|
||||||
|
my $FilePath=dirname($_);
|
||||||
|
chomp($PkgName);
|
||||||
|
(my $PkgPath = $FilePath) =~ s/$DirPath//;
|
||||||
|
chomp($PkgPath);
|
||||||
|
print "SN=$ShortName;PF=$PkgName;PP=$PkgPath\n";
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
print "Usage: GenPkgList <Path to BINARY Distribution Files>";
|
||||||
|
}
|
||||||
|
|
||||||
|
sub GetShortName() {
|
||||||
|
my $PkgName = $_[0];
|
||||||
|
my @StartFile;
|
||||||
|
my $MetaInfo;
|
||||||
|
my @Contents;
|
||||||
|
my @MetaInfo;
|
||||||
|
|
||||||
|
open PACKAGE,$PkgName or die "Could ot open ViitorArchive: $! $PkgName\n";
|
||||||
|
my $FileSizes = <PACKAGE>;
|
||||||
|
my @FileSizes = split /\s/,$FileSizes;
|
||||||
|
unshift(@FileSizes,0);
|
||||||
|
$FileSizes[0]=tell(PACKAGE);
|
||||||
|
for ( my $j = 0; $j <= 12; $j++ ) {
|
||||||
|
for ( my $i=0; $i<=$j; $i++) {
|
||||||
|
$StartFile[$j]+=$FileSizes[$i];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
shift @FileSizes;
|
||||||
|
seek PACKAGE,$StartFile[1],0;
|
||||||
|
if ( $FileSizes[1] > 0 ) {
|
||||||
|
read PACKAGE,$MetaInfo,$FileSizes[1];
|
||||||
|
@MetaInfo=&DeBzip2($MetaInfo);
|
||||||
|
}
|
||||||
|
(my $ShortName = $MetaInfo[0] ) =~ s/ModuleName: //;
|
||||||
|
chomp($ShortName);
|
||||||
|
return $ShortName;
|
||||||
|
}
|
||||||
|
|
||||||
|
sub DeBzip2() {
|
||||||
|
open (UNCOMPRESS,"|bzip2 -d -c >/tmp/PkgList_bzip2_$$") or die "Can not start decompress: $!";
|
||||||
|
print UNCOMPRESS @_;
|
||||||
|
close UNCOMPRESS;
|
||||||
|
open(DATA,"/tmp/PkgList_bzip2_$$") or die "Data File after decompression not found: $!";
|
||||||
|
my @UnBzip2Data = <DATA>;
|
||||||
|
close DATA;
|
||||||
|
unlink("/tmp/PkgList_bzip2_$$");
|
||||||
|
return @UnBzip2Data;
|
||||||
|
}
|
118
SysScan
Executable file
118
SysScan
Executable file
|
@ -0,0 +1,118 @@
|
||||||
|
#!/bin/bash
|
||||||
|
#Framework, welches ein komplettes Linux System aus den Sourcen erstellt
|
||||||
|
#dieses Framework wird im CVS Repository
|
||||||
|
#:pserver:cvs.tramp-bbs.de:/opt/cvs zur Verfügung gestellt
|
||||||
|
#
|
||||||
|
#Lage dieser Datei im Archiv: $Source$
|
||||||
|
#
|
||||||
|
#(c) 2003 Harald Kueller, Germany
|
||||||
|
#This program is free software; you can redistribute it and/or
|
||||||
|
#modify ist under the terms of the GNU General Public License
|
||||||
|
#as published by the Free Software Foundation; either version
|
||||||
|
#2 of the License, or (at your option) any later version.
|
||||||
|
#
|
||||||
|
#This program is distributed in the hope that it will be useful,
|
||||||
|
#but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
|
#See the GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
#You should have received a copy of the GNU General Public License
|
||||||
|
#along with this program; if not write to the Free Software Foundation,
|
||||||
|
#Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
|
#
|
||||||
|
#SysScan:
|
||||||
|
#Scan ein mit Viitor Installiertes System, und versucht ein moeglichts
|
||||||
|
#komplettes Backup der System Konfiguration zu erstellen, um so eine
|
||||||
|
#identische neuinstallation anstossen zu koennen (was ein anderes Script erledigen wird)
|
||||||
|
#
|
||||||
|
#Aufruf:
|
||||||
|
#SysScan -p <Viitor Package Confige File mit allen DVD Packages>
|
||||||
|
# -o <Directory, in welchem die Configs gespeichert werden sollen>
|
||||||
|
#
|
||||||
|
#Letzte Änderung von: $Author$
|
||||||
|
#Datum der letzten Änderung: $Date$
|
||||||
|
#Version der Datei: $Revision$
|
||||||
|
#
|
||||||
|
#$Log$
|
||||||
|
#
|
||||||
|
|
||||||
|
#export DEBUG=echo
|
||||||
|
|
||||||
|
source .function
|
||||||
|
echo_help() {
|
||||||
|
echo -e "$0\t-p <Viitor Package Confige File mit allen DVD Packages>"
|
||||||
|
echo -e "\t\t-o <Directory, in welchem die Configs gespeichert werden sollen>"
|
||||||
|
}
|
||||||
|
|
||||||
|
while getopts :p:o: opt_char; do
|
||||||
|
case $opt_char in
|
||||||
|
p)
|
||||||
|
ALLPACKAGES=$OPTARG
|
||||||
|
if [ ! -f $ALLPACKAGES ]; then
|
||||||
|
echo "$ALLPACKAGES does not exist"
|
||||||
|
exit 10
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
o)
|
||||||
|
OUTDIR=$OPTARG
|
||||||
|
if [ -f $OUTDIR ]; then
|
||||||
|
echo "$OUTDIR is a file. Need a directory to store your configuration"
|
||||||
|
exit 10
|
||||||
|
fi
|
||||||
|
if [ -d $OUTDIR ]; then
|
||||||
|
echo "$OUTDIR already exists, please remove first"
|
||||||
|
exit 10
|
||||||
|
fi
|
||||||
|
mkdir $OUTDIR
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo_help
|
||||||
|
exit 10
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
if [ ! "${ALLPACKAGES}" ] || [ ! "${OUTDIR}" ]; then
|
||||||
|
echo_help
|
||||||
|
exit 10
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo -n "Generate directorys for System Konfiguration Files"
|
||||||
|
if [ ! -d ${OUTDIR}/Disks ]; then
|
||||||
|
mkdir ${OUTDIR}/Disks
|
||||||
|
fi
|
||||||
|
print_status success
|
||||||
|
|
||||||
|
echo "Scanning installed packages - you will get a list of packages not known"
|
||||||
|
ScanInstalledPackages ${ALLPACKAGES} ${OUTDIR}/${HOSTNAME}.cfg |tee ${OUTDIR}/${HOSTNAME}.missing
|
||||||
|
echo -n "Storing Partition Tables"
|
||||||
|
for i in `FindDiskDevices`; do
|
||||||
|
sfdisk /dev/$i -d >${OUTDIR}/Disks/$i
|
||||||
|
done
|
||||||
|
print_status success
|
||||||
|
|
||||||
|
echo "Starte Sicherung der package abhaengigen files"
|
||||||
|
for i in FileLists/*; do
|
||||||
|
source $i
|
||||||
|
MODNAME=`basename $i`
|
||||||
|
echo -n "Working on ${MODNAME}"
|
||||||
|
for j in ${PKGFNAMES}; do
|
||||||
|
CFGDIR=`dirname $j`
|
||||||
|
FNAME=`basename $j`
|
||||||
|
if [ -f /${CFGDIR}/${FNAME} ]; then
|
||||||
|
echo -n " ${CFGDIR}/${FNAME}"
|
||||||
|
if [ ! -d ${OUTDIR}/CFGS/${MODNAME}/${CFGDIR} ]; then
|
||||||
|
$DEBUG mkdir -p ${OUTDIR}/CFGS/${MODNAME}/${CFGDIR}
|
||||||
|
fi
|
||||||
|
$DEBUG cp /${CFGDIR}/${FNAME} ${OUTDIR}/CFGS/${MODNAME}/${CFGDIR}
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
print_status success
|
||||||
|
done
|
||||||
|
for i in cfg_modules/*; do
|
||||||
|
MODULENAME=`basename $i`
|
||||||
|
if [ -d /var/install/$MODULENAME[^a-zA-Z]* ]; then
|
||||||
|
echo -n "Starte sicherung der Konfigs fuer Package $MODULENAME"
|
||||||
|
cfg_modules/$MODULENAME b ${OUTDIR}
|
||||||
|
print_status success
|
||||||
|
fi
|
||||||
|
done
|
693
Workstation.in
Normal file
693
Workstation.in
Normal file
|
@ -0,0 +1,693 @@
|
||||||
|
pkgconfig
|
||||||
|
libusb
|
||||||
|
expat
|
||||||
|
libpng
|
||||||
|
libxml2
|
||||||
|
libxslt
|
||||||
|
libsigc++
|
||||||
|
parted
|
||||||
|
libmad
|
||||||
|
libid3tag
|
||||||
|
taglib
|
||||||
|
libnet
|
||||||
|
svgalib
|
||||||
|
openssl
|
||||||
|
pcre
|
||||||
|
alsa-lib
|
||||||
|
bluez-libs
|
||||||
|
libsidplay
|
||||||
|
libraw1394
|
||||||
|
libiec61883
|
||||||
|
libsamplerate
|
||||||
|
libao
|
||||||
|
libogg
|
||||||
|
libvorbis
|
||||||
|
libiconv
|
||||||
|
libisofs
|
||||||
|
libburn
|
||||||
|
id3lib
|
||||||
|
libidn
|
||||||
|
libgpg-error
|
||||||
|
libgcrypt
|
||||||
|
libsmi
|
||||||
|
lzo
|
||||||
|
libghttp
|
||||||
|
jpegbin
|
||||||
|
lcms
|
||||||
|
libmng
|
||||||
|
glib-2
|
||||||
|
glib-1
|
||||||
|
glibmm
|
||||||
|
libIDL
|
||||||
|
libmpeg2
|
||||||
|
libmpeg3
|
||||||
|
xvidcore
|
||||||
|
libfame
|
||||||
|
libdvdcss
|
||||||
|
libcdio
|
||||||
|
libswf
|
||||||
|
libart_lgpl
|
||||||
|
libcroco
|
||||||
|
libexif
|
||||||
|
libdvdread
|
||||||
|
liboil
|
||||||
|
srtp
|
||||||
|
libmikmod
|
||||||
|
libotr
|
||||||
|
integrit
|
||||||
|
fribidi
|
||||||
|
flac
|
||||||
|
libffi
|
||||||
|
lsof
|
||||||
|
screen
|
||||||
|
sudo
|
||||||
|
dmidecode
|
||||||
|
acpid
|
||||||
|
sysfsutils
|
||||||
|
eject
|
||||||
|
strace
|
||||||
|
cpufrequtils
|
||||||
|
cpufreqd
|
||||||
|
pcmciautils
|
||||||
|
rlogind
|
||||||
|
ftpd
|
||||||
|
talkd
|
||||||
|
telnetd
|
||||||
|
wireless_tools
|
||||||
|
mt-st
|
||||||
|
mtx
|
||||||
|
dbus
|
||||||
|
tcl
|
||||||
|
XML-Parser
|
||||||
|
Python
|
||||||
|
intltool
|
||||||
|
PDL
|
||||||
|
midentd
|
||||||
|
popt
|
||||||
|
gdbm
|
||||||
|
libproxy
|
||||||
|
dbus-glib
|
||||||
|
dbus-python
|
||||||
|
eggdbus
|
||||||
|
ypbind-mt
|
||||||
|
yp-tools
|
||||||
|
tsocks
|
||||||
|
tcp_wrappers
|
||||||
|
nfs-utils
|
||||||
|
traceroute
|
||||||
|
freealut
|
||||||
|
audiofile
|
||||||
|
toolame
|
||||||
|
a52dec
|
||||||
|
wav2cdr
|
||||||
|
bladeenc
|
||||||
|
dmake
|
||||||
|
Digest-SHA1
|
||||||
|
Digest-MD5
|
||||||
|
Sys-Syslog
|
||||||
|
ethtool
|
||||||
|
autofs
|
||||||
|
cdparanoia-III
|
||||||
|
recode
|
||||||
|
gsl
|
||||||
|
bc
|
||||||
|
a2ps
|
||||||
|
binfmt_misc
|
||||||
|
wget
|
||||||
|
pciutils
|
||||||
|
usbutils
|
||||||
|
psutils
|
||||||
|
hdparm
|
||||||
|
cmake
|
||||||
|
libcap
|
||||||
|
cdrkit
|
||||||
|
cdrtools
|
||||||
|
gpm
|
||||||
|
sbc
|
||||||
|
libpcap
|
||||||
|
iftop
|
||||||
|
cftp
|
||||||
|
lame
|
||||||
|
shed
|
||||||
|
w32codec
|
||||||
|
divx611
|
||||||
|
rarlinux
|
||||||
|
CDspindown
|
||||||
|
doxygen
|
||||||
|
dvd+rw-tools
|
||||||
|
db
|
||||||
|
pks
|
||||||
|
neon
|
||||||
|
sqlite-amalgamation
|
||||||
|
zisofs-tools
|
||||||
|
GSSAPI
|
||||||
|
pine
|
||||||
|
speex
|
||||||
|
ptlib
|
||||||
|
wpa_supplicant
|
||||||
|
libbind
|
||||||
|
openssh
|
||||||
|
cyrus-sasl
|
||||||
|
net-snmp
|
||||||
|
cups
|
||||||
|
normalize
|
||||||
|
freetype
|
||||||
|
util-macros
|
||||||
|
fontconfig
|
||||||
|
bigreqsproto
|
||||||
|
xproto
|
||||||
|
xextproto
|
||||||
|
xtrans
|
||||||
|
libXau
|
||||||
|
xcmiscproto
|
||||||
|
kbproto
|
||||||
|
inputproto
|
||||||
|
xf86bigfontproto
|
||||||
|
xcb-proto
|
||||||
|
libXdmcp
|
||||||
|
libxcb
|
||||||
|
libpthread-stubs
|
||||||
|
libdrm
|
||||||
|
libX11
|
||||||
|
xcmsdb
|
||||||
|
xorg-sgml-doctools
|
||||||
|
rman
|
||||||
|
xorg-docs
|
||||||
|
libXext
|
||||||
|
libICE
|
||||||
|
libSM
|
||||||
|
libXt
|
||||||
|
libXmu
|
||||||
|
libXpm
|
||||||
|
libXaw
|
||||||
|
xterm
|
||||||
|
gccmakedep
|
||||||
|
makedepend
|
||||||
|
lndir
|
||||||
|
imake
|
||||||
|
compositeproto
|
||||||
|
damageproto
|
||||||
|
dmxproto
|
||||||
|
dri2proto
|
||||||
|
evieext
|
||||||
|
fixesproto
|
||||||
|
fontcacheproto
|
||||||
|
fontsproto
|
||||||
|
glproto
|
||||||
|
printproto
|
||||||
|
randrproto
|
||||||
|
recordproto
|
||||||
|
renderproto
|
||||||
|
resourceproto
|
||||||
|
scrnsaverproto
|
||||||
|
trapproto
|
||||||
|
videoproto
|
||||||
|
windowswmproto
|
||||||
|
xf86dgaproto
|
||||||
|
xf86driproto
|
||||||
|
xf86miscproto
|
||||||
|
xf86rushproto
|
||||||
|
xf86vidmodeproto
|
||||||
|
xineramaproto
|
||||||
|
xproxymanagementprotocol
|
||||||
|
libdmx
|
||||||
|
libfontenc
|
||||||
|
libFS
|
||||||
|
liblbxutil
|
||||||
|
liboldX
|
||||||
|
libpciaccess
|
||||||
|
libWindowsWM
|
||||||
|
libXfixes
|
||||||
|
libXcomposite
|
||||||
|
libXrender
|
||||||
|
libXcursor
|
||||||
|
libXdamage
|
||||||
|
libXevie
|
||||||
|
libXfont
|
||||||
|
libXfontcache
|
||||||
|
libXft
|
||||||
|
libXi-
|
||||||
|
libXinerama
|
||||||
|
libxkbfile
|
||||||
|
libxkbui
|
||||||
|
libXp
|
||||||
|
libXprintUtil
|
||||||
|
libXprintAppUtil
|
||||||
|
libXrandr
|
||||||
|
libXres
|
||||||
|
libXScrnSaver
|
||||||
|
libXTrap
|
||||||
|
libXtst
|
||||||
|
libXv
|
||||||
|
libXvMC
|
||||||
|
libXxf86dga
|
||||||
|
libXxf86misc
|
||||||
|
libXxf86vm
|
||||||
|
pixman
|
||||||
|
MesaLib
|
||||||
|
gle
|
||||||
|
xbitmaps
|
||||||
|
xcursorgen
|
||||||
|
xcursor-themes
|
||||||
|
xkbcomp
|
||||||
|
xkbdata
|
||||||
|
xkeyboard-config
|
||||||
|
xorg-server
|
||||||
|
xf86-input-evdev
|
||||||
|
xf86-input-joystick
|
||||||
|
xf86-input-keyboard
|
||||||
|
xf86-input-mouse
|
||||||
|
xf86-input-vmmouse
|
||||||
|
xf86-input-void
|
||||||
|
xf86-video-ark
|
||||||
|
xf86-video-ati
|
||||||
|
xf86-video-cirrus
|
||||||
|
xf86-video-dummy
|
||||||
|
xf86-video-fbdev
|
||||||
|
xf86-video-glint
|
||||||
|
xf86-video-i128
|
||||||
|
xf86-video-i740
|
||||||
|
xf86-video-intel
|
||||||
|
xf86-video-mach64
|
||||||
|
xf86-video-nv
|
||||||
|
xf86-video-r128
|
||||||
|
xf86-video-radeonhd
|
||||||
|
xf86-video-s3
|
||||||
|
xf86-video-s3virge
|
||||||
|
xf86-video-savage
|
||||||
|
xf86-video-sis
|
||||||
|
xf86-video-sisusb
|
||||||
|
xf86-video-tdfx
|
||||||
|
xf86-video-tga
|
||||||
|
xf86-video-trident
|
||||||
|
xf86-video-tseng
|
||||||
|
xf86-video-v4l
|
||||||
|
xf86-video-vesa
|
||||||
|
xf86-video-vmware
|
||||||
|
xf86-video-voodoo
|
||||||
|
appres
|
||||||
|
bdftopcf
|
||||||
|
beforelight
|
||||||
|
bitmap
|
||||||
|
startup-notification
|
||||||
|
editres
|
||||||
|
fonttosfnt
|
||||||
|
fslsfonts
|
||||||
|
fstobdf
|
||||||
|
iceauth
|
||||||
|
ico
|
||||||
|
lbxproxy
|
||||||
|
listres
|
||||||
|
luit
|
||||||
|
mkcomposecache
|
||||||
|
mkfontdir
|
||||||
|
mkfontscale
|
||||||
|
oclock
|
||||||
|
proxymngr
|
||||||
|
rendercheck
|
||||||
|
rgb
|
||||||
|
rstart
|
||||||
|
scripts
|
||||||
|
sessreg
|
||||||
|
setxkbmap
|
||||||
|
showfont
|
||||||
|
smproxy
|
||||||
|
twm
|
||||||
|
viewres
|
||||||
|
x11perf
|
||||||
|
xauth
|
||||||
|
xbiff
|
||||||
|
xbacklight
|
||||||
|
xcalc
|
||||||
|
xclipboard
|
||||||
|
xclock
|
||||||
|
xconsole
|
||||||
|
xcompmgr
|
||||||
|
xdbedizzy
|
||||||
|
xditview
|
||||||
|
xdm
|
||||||
|
xdpyinfo
|
||||||
|
xdriinfo
|
||||||
|
xedit
|
||||||
|
xev
|
||||||
|
xeyes
|
||||||
|
xf86dga
|
||||||
|
xfd
|
||||||
|
xfindproxy
|
||||||
|
xfontsel
|
||||||
|
xfs
|
||||||
|
xfsinfo
|
||||||
|
xfwp
|
||||||
|
xgamma
|
||||||
|
xgc
|
||||||
|
xhost
|
||||||
|
xinit
|
||||||
|
xinput
|
||||||
|
xkbevd
|
||||||
|
xkbprint
|
||||||
|
xkbutils
|
||||||
|
xkill
|
||||||
|
xload
|
||||||
|
xlsatoms
|
||||||
|
xlsclients
|
||||||
|
xlsfonts
|
||||||
|
xmessage
|
||||||
|
xmh
|
||||||
|
xmodmap
|
||||||
|
xphelloworld
|
||||||
|
xplsprinters
|
||||||
|
xpr
|
||||||
|
xprehashprinterlist
|
||||||
|
xprop
|
||||||
|
xrandr
|
||||||
|
xrdb
|
||||||
|
xrefresh
|
||||||
|
xset
|
||||||
|
xsetmode
|
||||||
|
xsetpointer
|
||||||
|
xsetroot
|
||||||
|
xsm
|
||||||
|
xstdcmap
|
||||||
|
xtrap
|
||||||
|
xvidtune
|
||||||
|
xvinfo
|
||||||
|
xwd
|
||||||
|
xwininfo
|
||||||
|
xwud
|
||||||
|
encodings
|
||||||
|
font-util
|
||||||
|
font-alias
|
||||||
|
font-adobe-100dpi
|
||||||
|
font-adobe-75dpi
|
||||||
|
font-adobe-utopia-100dpi
|
||||||
|
font-adobe-utopia-75dpi
|
||||||
|
font-adobe-utopia-type1
|
||||||
|
font-arabic-misc
|
||||||
|
font-bh-100dpi
|
||||||
|
font-bh-75dpi
|
||||||
|
font-bh-lucidatypewriter-100dpi
|
||||||
|
font-bh-lucidatypewriter-75dpi
|
||||||
|
font-bh-ttf
|
||||||
|
font-bh-type1
|
||||||
|
font-bitstream-100dpi
|
||||||
|
font-bitstream-75dpi
|
||||||
|
font-bitstream-speedo
|
||||||
|
font-bitstream-type1
|
||||||
|
font-cronyx-cyrillic
|
||||||
|
font-cursor-misc
|
||||||
|
font-daewoo-misc
|
||||||
|
font-dec-misc
|
||||||
|
font-ibm-type1
|
||||||
|
font-isas-misc
|
||||||
|
font-jis-misc
|
||||||
|
font-micro-misc
|
||||||
|
font-misc-cyrillic
|
||||||
|
font-misc-ethiopic
|
||||||
|
font-misc-meltho
|
||||||
|
font-misc-misc
|
||||||
|
font-mutt-misc
|
||||||
|
font-schumacher-misc
|
||||||
|
font-screen-cyrillic
|
||||||
|
font-sony-misc
|
||||||
|
font-sun-misc
|
||||||
|
font-winitzki-cyrillic
|
||||||
|
font-xfree86-type1
|
||||||
|
liberation-fonts-ttf
|
||||||
|
xorg-cf-files
|
||||||
|
freefonts
|
||||||
|
clucene-core
|
||||||
|
mono
|
||||||
|
mc
|
||||||
|
PolicyKit
|
||||||
|
ConsoleKit
|
||||||
|
hal
|
||||||
|
tcpdump
|
||||||
|
ExtUtils-F77
|
||||||
|
XML-Simple
|
||||||
|
XML-SAX-Base
|
||||||
|
URI
|
||||||
|
Convert-ASN1
|
||||||
|
Digest-HMAC
|
||||||
|
Authen-SASL
|
||||||
|
IO-Socket-SSL
|
||||||
|
Net-SSLeay
|
||||||
|
Net-DBus
|
||||||
|
Crypt-SmbHash
|
||||||
|
GnuPG
|
||||||
|
yafc
|
||||||
|
rsync
|
||||||
|
sendmail
|
||||||
|
mutt
|
||||||
|
htdig
|
||||||
|
lynx
|
||||||
|
openobex
|
||||||
|
sane-backends
|
||||||
|
tiff
|
||||||
|
netpbm
|
||||||
|
mpg123
|
||||||
|
vcdimager
|
||||||
|
curl
|
||||||
|
vorbis-tools
|
||||||
|
esound
|
||||||
|
git
|
||||||
|
gdb
|
||||||
|
cvs
|
||||||
|
ruby
|
||||||
|
bluez-utils
|
||||||
|
bluez-hcidump
|
||||||
|
bluez-firmware
|
||||||
|
dump
|
||||||
|
lha
|
||||||
|
plugz
|
||||||
|
btsco
|
||||||
|
cdrdao
|
||||||
|
dvdrtools
|
||||||
|
aspell
|
||||||
|
aspell-de
|
||||||
|
enchant
|
||||||
|
hplip
|
||||||
|
pth
|
||||||
|
libassuan
|
||||||
|
libksba
|
||||||
|
gnupg
|
||||||
|
udns
|
||||||
|
openjade
|
||||||
|
gperf
|
||||||
|
xcb-util
|
||||||
|
iso-codes
|
||||||
|
links
|
||||||
|
libical
|
||||||
|
gpgme
|
||||||
|
polkit
|
||||||
|
DeviceKit
|
||||||
|
DeviceKit-power
|
||||||
|
libgii
|
||||||
|
libggi
|
||||||
|
giflib
|
||||||
|
libungif
|
||||||
|
libwmf
|
||||||
|
SDL
|
||||||
|
avifile
|
||||||
|
ImageMagick
|
||||||
|
libquicktime
|
||||||
|
libdv
|
||||||
|
tk
|
||||||
|
espgs
|
||||||
|
graphviz
|
||||||
|
imlib
|
||||||
|
fnlib
|
||||||
|
aalib
|
||||||
|
t1lib
|
||||||
|
glitz
|
||||||
|
cairo
|
||||||
|
pango
|
||||||
|
jasper
|
||||||
|
gtk+-2
|
||||||
|
gtk+-1
|
||||||
|
cairomm
|
||||||
|
pangomm
|
||||||
|
gtkmm
|
||||||
|
gtkglext
|
||||||
|
gstreamer
|
||||||
|
gst-plugins-base
|
||||||
|
gobject-introspection
|
||||||
|
libnotify
|
||||||
|
libsexy
|
||||||
|
lesstif
|
||||||
|
efltk
|
||||||
|
unixODBC
|
||||||
|
qt-everywhere-opensource-src
|
||||||
|
wxGTK
|
||||||
|
opal
|
||||||
|
libglade
|
||||||
|
libwnck
|
||||||
|
libgtop
|
||||||
|
libxklavier
|
||||||
|
libgsf
|
||||||
|
wv
|
||||||
|
librsvg
|
||||||
|
fontforge
|
||||||
|
plotutils
|
||||||
|
plib
|
||||||
|
libxmi
|
||||||
|
libtasn1
|
||||||
|
libcanberra
|
||||||
|
ffmpeg
|
||||||
|
Xdialog
|
||||||
|
gftp
|
||||||
|
mjpegtools
|
||||||
|
gst-plugins-good
|
||||||
|
pygobject
|
||||||
|
pygtk
|
||||||
|
ttf2fft
|
||||||
|
mtools
|
||||||
|
jdk
|
||||||
|
tightvnc
|
||||||
|
boost
|
||||||
|
pilot-link
|
||||||
|
libmal
|
||||||
|
SimGear
|
||||||
|
ddd
|
||||||
|
nedit
|
||||||
|
nmap
|
||||||
|
gnokii
|
||||||
|
sane-frontends
|
||||||
|
SDL_image
|
||||||
|
SDL_ttf
|
||||||
|
smpeg
|
||||||
|
SDL_mixer
|
||||||
|
ruby-utils
|
||||||
|
rdesktop
|
||||||
|
ethereal
|
||||||
|
ffcall
|
||||||
|
alsa-tools
|
||||||
|
xmix
|
||||||
|
procmail
|
||||||
|
xmms
|
||||||
|
xmms-sid
|
||||||
|
nspr
|
||||||
|
nss
|
||||||
|
alien
|
||||||
|
sox
|
||||||
|
gtkglarea
|
||||||
|
xscreensaver
|
||||||
|
firefox
|
||||||
|
thunderbird
|
||||||
|
icon-naming-utils
|
||||||
|
desktop-file-utils
|
||||||
|
gvfs
|
||||||
|
gnome-vfs
|
||||||
|
gnome-icon-theme
|
||||||
|
shared-mime-info
|
||||||
|
gnome-mime-data
|
||||||
|
compiz
|
||||||
|
kdeconfig
|
||||||
|
automoc4
|
||||||
|
phonon
|
||||||
|
strigi
|
||||||
|
soprano
|
||||||
|
akonadi
|
||||||
|
qimageblitz
|
||||||
|
oxygen-icons
|
||||||
|
shared-desktop-ontologies
|
||||||
|
attica
|
||||||
|
polkit-qt-1
|
||||||
|
kdelibs
|
||||||
|
kdelibs-experimental
|
||||||
|
kdepimlibs
|
||||||
|
kdebase-workspace
|
||||||
|
kdebase
|
||||||
|
kdebase-runtime
|
||||||
|
kdeadmin
|
||||||
|
kdenetwork
|
||||||
|
kdepim
|
||||||
|
kdepim-runtime
|
||||||
|
kdemultimedia
|
||||||
|
kdegraphics
|
||||||
|
kdeutils
|
||||||
|
kdeedu
|
||||||
|
kdeaccessibility
|
||||||
|
kdetoys
|
||||||
|
kdegames
|
||||||
|
kdeartwork
|
||||||
|
kde-l10n-de
|
||||||
|
kdeplasma-addons
|
||||||
|
PolicyKit-kde
|
||||||
|
libgda
|
||||||
|
evolution-data-server
|
||||||
|
gnome-audio
|
||||||
|
gnome-device-manager
|
||||||
|
xfceconfig
|
||||||
|
xfce4-dev-tools
|
||||||
|
libxfce4util
|
||||||
|
libxfcegui4
|
||||||
|
libxfce4mcs
|
||||||
|
exo
|
||||||
|
xfce-mcs-manager
|
||||||
|
xfce-mcs-plugins
|
||||||
|
xfce4-panel
|
||||||
|
Thunar
|
||||||
|
xfce4-session
|
||||||
|
xfwm4
|
||||||
|
xfdesktop
|
||||||
|
xfce-utils
|
||||||
|
xfce4-icon-theme
|
||||||
|
gtk-xfce-engine
|
||||||
|
xfwm4-themes
|
||||||
|
orage
|
||||||
|
xfprint
|
||||||
|
mousepad
|
||||||
|
Terminal
|
||||||
|
xarchiver
|
||||||
|
xfce4-appfinder
|
||||||
|
xfce4-mixer
|
||||||
|
xfmedia
|
||||||
|
xfce4-taskmanager
|
||||||
|
lxde-common
|
||||||
|
menu-cache
|
||||||
|
lxmenu-data
|
||||||
|
lxsession
|
||||||
|
lxpanel
|
||||||
|
lxappearance
|
||||||
|
lxtask
|
||||||
|
lxterminal
|
||||||
|
lxrandr
|
||||||
|
lxsession-edit
|
||||||
|
lxdm
|
||||||
|
lxshortcut
|
||||||
|
lxinput
|
||||||
|
lxlauncher
|
||||||
|
lxnm
|
||||||
|
pcmanfm
|
||||||
|
gpicview
|
||||||
|
gtknetcat
|
||||||
|
swftools
|
||||||
|
amiwm
|
||||||
|
icewm
|
||||||
|
transcode
|
||||||
|
krusader
|
||||||
|
k3b
|
||||||
|
taglib-extras
|
||||||
|
qca
|
||||||
|
qtscriptgenerator
|
||||||
|
amarok
|
||||||
|
koffice
|
||||||
|
koffice-l10n-de
|
||||||
|
gparted
|
||||||
|
gimp
|
||||||
|
gimp-data-extras
|
||||||
|
xsane
|
||||||
|
foomatic-filters
|
||||||
|
foomatic-db
|
||||||
|
xv
|
||||||
|
povray
|
||||||
|
mplayer-export
|
||||||
|
pidgin
|
||||||
|
xine-ui
|
||||||
|
tetex-texmf
|
||||||
|
tetex-texmfsrc
|
||||||
|
tetex-src
|
||||||
|
tetex-cm-super
|
||||||
|
gnuplot
|
||||||
|
wlan_intel_fw
|
||||||
|
OxygenOffice
|
73
cfg_modules/autofs
Normal file
73
cfg_modules/autofs
Normal file
|
@ -0,0 +1,73 @@
|
||||||
|
#!/bin/bash
|
||||||
|
#
|
||||||
|
# Backup/Restore Script für die unattendet Installation
|
||||||
|
# von RainMaker Linux
|
||||||
|
# (c) 2001 by RainMaker MultiMedia OHG
|
||||||
|
#
|
||||||
|
# Zur Funktion des Scriptes werden 2 Variablen vom aufrufenden
|
||||||
|
# Script exportiert:
|
||||||
|
# XPATH: Pfad ins basis Verzeichniss der Konfigurations Daten
|
||||||
|
# NAME: Name der Konfiguration
|
||||||
|
# Sprich die Eigentlichen Konfigurationsdaten sind unter:
|
||||||
|
# $XPATH/$NAME zu finden
|
||||||
|
# beim Restore muß das Zielverzeichniss (Root des neu installierten
|
||||||
|
# Systems) unter $2 übergeben werden
|
||||||
|
#
|
||||||
|
#$Author$
|
||||||
|
#$Date$
|
||||||
|
#$Revision$
|
||||||
|
#
|
||||||
|
#$Log$
|
||||||
|
#Revision 1.1 2001/09/23 17:50:40 kueller
|
||||||
|
#Initial revision
|
||||||
|
#
|
||||||
|
#Revision 1.1.1.1 2001/08/06 22:09:47 kueller
|
||||||
|
#Aufnahme in CVS Überwachung
|
||||||
|
#
|
||||||
|
#
|
||||||
|
|
||||||
|
DO=$1
|
||||||
|
STOREPATH=$2
|
||||||
|
RESTOREPATH=$3
|
||||||
|
|
||||||
|
if [ -z ${STOREPATH} ]; then
|
||||||
|
echo "Es wird Mindestens ein Backupverzeichniss benoetigt."
|
||||||
|
exit 10
|
||||||
|
fi
|
||||||
|
|
||||||
|
case ${DO} in
|
||||||
|
b)
|
||||||
|
if [ ! -d ${STOREPATH}/PKGS/autofs ]; then
|
||||||
|
${DEBUG} mkdir -p ${STOREPATH}/PKGS/autofs/etc/sysconfig
|
||||||
|
fi
|
||||||
|
if [ -f /etc/sysconfig/auto.master ]; then
|
||||||
|
${DEBUG} cp /etc/sysconfig/auto.master ${STOREPATH}/PKGS/autofs/etc/sysconfig
|
||||||
|
fi
|
||||||
|
if [ -f /etc/sysconfig/autofstime ]; then
|
||||||
|
${DEBUG} cp /etc/sysconfig/autofstime ${STOREPATH}/PKGS/autofs/etc/sysconfig
|
||||||
|
fi
|
||||||
|
for i in `cat /etc/sysconfig/auto.master|sed "/^#/d"`; do
|
||||||
|
if [ -f $i ] && [ ! "/etc/sysconfig/auto.master" == $i ]; then
|
||||||
|
${DEBUG} cp ${i} ${STOREPATH}/PKGS/autofs/etc/sysconfig
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
;;
|
||||||
|
r)
|
||||||
|
if [ -z ${RESTOREPATH} ]; then
|
||||||
|
echo "Restorefunction braucht Angabe des Install Root Pfades"
|
||||||
|
exit 10
|
||||||
|
fi
|
||||||
|
if [ ! -d ${RESTOREPATH} ]; then
|
||||||
|
echo "${RESTOREPATH} must exist!"
|
||||||
|
exit 10
|
||||||
|
fi
|
||||||
|
if [ -d ${STOREPATH}/PKGS/autofs ]; then
|
||||||
|
tar -C ${STOREPATH}/PKGS/autofs -cf -|tar -C ${RESTOREPATH}/ -xf -
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo "$0 {b|r}"
|
||||||
|
exit 10
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
exit 0
|
64
cfg_modules/bacula
Executable file
64
cfg_modules/bacula
Executable file
|
@ -0,0 +1,64 @@
|
||||||
|
#!/bin/bash
|
||||||
|
#
|
||||||
|
# Backup/Restore Script für die unattendet Installation
|
||||||
|
# von RainMaker Linux
|
||||||
|
# (c) 2001 by RainMaker MultiMedia OHG
|
||||||
|
#
|
||||||
|
# Zur Funktion des Scriptes werden 2 Variablen vom aufrufenden
|
||||||
|
# Script exportiert:
|
||||||
|
# XPATH: Pfad ins basis Verzeichniss der Konfigurations Daten
|
||||||
|
# NAME: Name der Konfiguration
|
||||||
|
# Sprich die Eigentlichen Konfigurationsdaten sind unter:
|
||||||
|
# $XPATH/$NAME zu finden
|
||||||
|
# beim Restore muß das Zielverzeichniss (Root des neu installierten
|
||||||
|
# Systems) unter $2 übergeben werden
|
||||||
|
#
|
||||||
|
#$Author: kueller $
|
||||||
|
#$Date: 2008-03-19 11:34:26 +0100 (Mi, 19 Mär 2008) $
|
||||||
|
#$Revision: 4105 $
|
||||||
|
#
|
||||||
|
#$Log$
|
||||||
|
#Revision 1.1 2001/09/23 17:50:40 kueller
|
||||||
|
#Initial revision
|
||||||
|
#
|
||||||
|
#Revision 1.1.1.1 2001/08/06 22:09:47 kueller
|
||||||
|
#Aufnahme in CVS Überwachung
|
||||||
|
#
|
||||||
|
#
|
||||||
|
|
||||||
|
DO=$1
|
||||||
|
STOREPATH=$2
|
||||||
|
RESTOREPATH=$3
|
||||||
|
|
||||||
|
if [ -z ${STOREPATH} ]; then
|
||||||
|
echo "Es wird Mindestens ein Backupverzeichniss benoetigt."
|
||||||
|
exit 10
|
||||||
|
fi
|
||||||
|
|
||||||
|
case ${DO} in
|
||||||
|
b)
|
||||||
|
if [ ! -d ${STOREPATH}/PKGS/bacula ]; then
|
||||||
|
${DEBUG} mkdir -p ${STOREPATH}/PKGS/bacula/etc
|
||||||
|
tar -C /etc/bacula -cf - .\|
|
||||||
|
tar -C ${STOREPATH}/PKGS/bacula/etc -xvf -
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
r)
|
||||||
|
if [ -z ${RESTOREPATH} ]; then
|
||||||
|
echo "Restorefunction braucht Angabe des Install Root Pfades"
|
||||||
|
exit 10
|
||||||
|
fi
|
||||||
|
if [ ! -d ${RESTOREPATH} ]; then
|
||||||
|
echo "${RESTOREPATH} must exist!"
|
||||||
|
exit 10
|
||||||
|
fi
|
||||||
|
if [ -d ${STOREPATH}/PKGS/bacula ]; then
|
||||||
|
tar -C ${STOREPATH}/PKGS/bacula -cf -|tar -C ${RESTOREPATH}/ -xf -
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo "$0 {b|r}"
|
||||||
|
exit 10
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
exit 0
|
72
cfg_modules/bind
Normal file
72
cfg_modules/bind
Normal file
|
@ -0,0 +1,72 @@
|
||||||
|
#!/bin/bash
|
||||||
|
#
|
||||||
|
# Backup/Restore Script für die unattendet Installation
|
||||||
|
# von RainMaker Linux
|
||||||
|
# (c) 2001 by RainMaker MultiMedia OHG
|
||||||
|
#
|
||||||
|
# Zur Funktion des Scriptes werden 2 Variablen vom aufrufenden
|
||||||
|
# Script exportiert:
|
||||||
|
# XPATH: Pfad ins basis Verzeichniss der Konfigurations Daten
|
||||||
|
# NAME: Name der Konfiguration
|
||||||
|
# Sprich die Eigentlichen Konfigurationsdaten sind unter:
|
||||||
|
# $XPATH/$NAME zu finden
|
||||||
|
# beim Restore muß das Zielverzeichniss (Root des neu installierten
|
||||||
|
# Systems) unter $2 übergeben werden
|
||||||
|
#
|
||||||
|
#$Author$
|
||||||
|
#$Date$
|
||||||
|
#$Revision$
|
||||||
|
#
|
||||||
|
#$Log$
|
||||||
|
#Revision 1.1 2001/09/23 17:50:40 kueller
|
||||||
|
#Initial revision
|
||||||
|
#
|
||||||
|
#Revision 1.1.1.1 2001/08/06 22:09:47 kueller
|
||||||
|
#Aufnahme in CVS Überwachung
|
||||||
|
#
|
||||||
|
#
|
||||||
|
|
||||||
|
DO=$1
|
||||||
|
STOREPATH=$2
|
||||||
|
RESTOREPATH=$3
|
||||||
|
|
||||||
|
if [ -z ${STOREPATH} ]; then
|
||||||
|
echo "Es wird Mindestens ein Backupverzeichniss benoetigt."
|
||||||
|
exit 10
|
||||||
|
fi
|
||||||
|
|
||||||
|
case ${DO} in
|
||||||
|
b)
|
||||||
|
if [ -f /etc/named.conf ]; then
|
||||||
|
if [ ! -d ${STOREPATH}/PKGS/bind/etc ]; then
|
||||||
|
mkdir -p ${STOREPATH}/PKGS/bind/etc
|
||||||
|
fi
|
||||||
|
cp /etc/named.conf ${STOREPATH}/PKGS/bind/etc
|
||||||
|
DATA=`grep -i DIRECTORY /etc/named.conf| \
|
||||||
|
cut -d " " -f 2| \
|
||||||
|
cut -d "\"" -f 2`
|
||||||
|
if [ ! -d ${STOREPATH}/PKGS/bind/$DATA ]; then
|
||||||
|
mkdir -p ${STOREPATH}/PKGS/bind/$DATA
|
||||||
|
fi
|
||||||
|
cp -rp $DATA/* ${STOREPATH}/PKGS/bind/$DATA
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
r)
|
||||||
|
if [ -z ${RESTOREPATH} ]; then
|
||||||
|
echo "Restorefunction braucht Angabe des Install Root Pfades"
|
||||||
|
exit 10
|
||||||
|
fi
|
||||||
|
if [ ! -d ${RESTOREPATH} ]; then
|
||||||
|
echo "${RESTOREPATH} must exist!"
|
||||||
|
exit 10
|
||||||
|
fi
|
||||||
|
if [ -d ${STOREPATH}/PKGS/bind ]; then
|
||||||
|
tar -C ${STOREPATH}/PKGS/bind -cf - .|tar -C ${RESTOREPATH} -xf -
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo "$0 {b|r}"
|
||||||
|
exit 10
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
exit 0
|
66
cfg_modules/cups
Executable file
66
cfg_modules/cups
Executable file
|
@ -0,0 +1,66 @@
|
||||||
|
#!/bin/bash
|
||||||
|
#
|
||||||
|
# Backup/Restore Script für die unattendet Installation
|
||||||
|
# von RainMaker Linux
|
||||||
|
# (c) 2001 by RainMaker MultiMedia OHG
|
||||||
|
#
|
||||||
|
# Zur Funktion des Scriptes werden 2 Variablen vom aufrufenden
|
||||||
|
# Script exportiert:
|
||||||
|
# XPATH: Pfad ins basis Verzeichniss der Konfigurations Daten
|
||||||
|
# NAME: Name der Konfiguration
|
||||||
|
# Sprich die Eigentlichen Konfigurationsdaten sind unter:
|
||||||
|
# $XPATH/$NAME zu finden
|
||||||
|
# beim Restore muß das Zielverzeichniss (Root des neu installierten
|
||||||
|
# Systems) unter $2 übergeben werden
|
||||||
|
#
|
||||||
|
#$Author: kueller $
|
||||||
|
#$Date: 2008-03-19 11:34:26 +0100 (Mi, 19 Mär 2008) $
|
||||||
|
#$Revision: 4105 $
|
||||||
|
#
|
||||||
|
#$Log$
|
||||||
|
#Revision 1.1 2001/09/23 17:50:40 kueller
|
||||||
|
#Initial revision
|
||||||
|
#
|
||||||
|
#Revision 1.1.1.1 2001/08/06 22:09:47 kueller
|
||||||
|
#Aufnahme in CVS Überwachung
|
||||||
|
#
|
||||||
|
#
|
||||||
|
|
||||||
|
DO=$1
|
||||||
|
STOREPATH=$2
|
||||||
|
RESTOREPATH=$3
|
||||||
|
|
||||||
|
if [ -z ${STOREPATH} ]; then
|
||||||
|
echo "Es wird Mindestens ein Backupverzeichniss benoetigt."
|
||||||
|
exit 10
|
||||||
|
fi
|
||||||
|
|
||||||
|
case ${DO} in
|
||||||
|
b)
|
||||||
|
if [ -f /etc/cups/printers.conf ]; then
|
||||||
|
if [ ! -d ${STOREPATH}/PKGS/cups ]; then
|
||||||
|
${DEBUG} mkdir -p ${STOREPATH}/PKGS/cups/etc/cups/ppd
|
||||||
|
fi
|
||||||
|
cp /etc/cups/printers.conf ${STOREPATH}/PKGS/cups/etc/cups/
|
||||||
|
cp /etc/cups/ppd/* ${STOREPATH}/PKGS/cups/etc/cups/ppd/
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
r)
|
||||||
|
if [ -z ${RESTOREPATH} ]; then
|
||||||
|
echo "Restorefunction braucht Angabe des Install Root Pfades"
|
||||||
|
exit 10
|
||||||
|
fi
|
||||||
|
if [ ! -d ${RESTOREPATH} ]; then
|
||||||
|
echo "${RESTOREPATH} must exist!"
|
||||||
|
exit 10
|
||||||
|
fi
|
||||||
|
if [ -d ${STOREPATH}/PKGS/autofs ]; then
|
||||||
|
tar -C ${STOREPATH}/PKGS/cups -cf -|tar -C ${RESTOREPATH}/ -xf -
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo "$0 {b|r}"
|
||||||
|
exit 10
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
exit 0
|
67
cfg_modules/ez-ipupdate
Normal file
67
cfg_modules/ez-ipupdate
Normal file
|
@ -0,0 +1,67 @@
|
||||||
|
#!/bin/bash
|
||||||
|
#
|
||||||
|
# Backup/Restore Script für die unattendet Installation
|
||||||
|
# von RainMaker Linux
|
||||||
|
# (c) 2001 by RainMaker MultiMedia OHG
|
||||||
|
#
|
||||||
|
# Zur Funktion des Scriptes werden 2 Variablen vom aufrufenden
|
||||||
|
# Script exportiert:
|
||||||
|
# XPATH: Pfad ins basis Verzeichniss der Konfigurations Daten
|
||||||
|
# NAME: Name der Konfiguration
|
||||||
|
# Sprich die Eigentlichen Konfigurationsdaten sind unter:
|
||||||
|
# $XPATH/$NAME zu finden
|
||||||
|
# beim Restore muß das Zielverzeichniss (Root des neu installierten
|
||||||
|
# Systems) unter $2 übergeben werden
|
||||||
|
#
|
||||||
|
#$Author$
|
||||||
|
#$Date$
|
||||||
|
#$Revision$
|
||||||
|
#
|
||||||
|
#$Log$
|
||||||
|
#Revision 1.1 2001/09/23 17:50:40 kueller
|
||||||
|
#Initial revision
|
||||||
|
#
|
||||||
|
#Revision 1.1.1.1 2001/08/06 22:09:47 kueller
|
||||||
|
#Aufnahme in CVS Überwachung
|
||||||
|
#
|
||||||
|
#
|
||||||
|
|
||||||
|
DO=$1
|
||||||
|
STOREPATH=$2
|
||||||
|
RESTOREPATH=$3
|
||||||
|
|
||||||
|
if [ -z ${STOREPATH} ]; then
|
||||||
|
echo "Es wird Mindestens ein Backupverzeichniss benoetigt."
|
||||||
|
exit 10
|
||||||
|
fi
|
||||||
|
|
||||||
|
case ${DO} in
|
||||||
|
b)
|
||||||
|
if [ -d /etc/sysconfig/net/ez-ipupdate ]; then
|
||||||
|
for i in /etc/sysconfig/net/ez-ipupdate*; do
|
||||||
|
if [ ! -d ${STOREPATH}/PKGS/ez-ipupdate/etc/sysconfig/net/ez-ipupdate ]; then
|
||||||
|
mkdir -p ${STOREPATH}/PKGS/ez-ipupdate
|
||||||
|
fi
|
||||||
|
cp $i ${STOREPATH}/PKGS/ez-ipupdate/etc/sysconfig/net/ez-ipupdate
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
r)
|
||||||
|
if [ -z ${RESTOREPATH} ]; then
|
||||||
|
echo "Restorefunction braucht Angabe des Install Root Pfades"
|
||||||
|
exit 10
|
||||||
|
fi
|
||||||
|
if [ ! -d ${RESTOREPATH} ]; then
|
||||||
|
echo "${RESTOREPATH} must exist!"
|
||||||
|
exit 10
|
||||||
|
fi
|
||||||
|
if [ -d ${STOREPATH}/PKGS/ez-ipupdate ]; then
|
||||||
|
tar -C ${STOREPATH}/PKGS/ez-ipupdate -cf - .|tar -C ${RESTOREPATH} -xf -
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo "$0 {b|r}"
|
||||||
|
exit 10
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
exit 0
|
64
cfg_modules/ftpd-inetutils
Normal file
64
cfg_modules/ftpd-inetutils
Normal file
|
@ -0,0 +1,64 @@
|
||||||
|
#!/bin/bash
|
||||||
|
#
|
||||||
|
# Backup/Restore Script für die unattendet Installation
|
||||||
|
# von RainMaker Linux
|
||||||
|
# (c) 2001 by RainMaker MultiMedia OHG
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# Zur Funktion des Scriptes werden 2 Variablen vom aufrufenden
|
||||||
|
# Script exportiert:
|
||||||
|
# XPATH: Pfad ins basis Verzeichniss der Konfigurations Daten
|
||||||
|
# NAME: Name der Konfiguration
|
||||||
|
# Sprich die Eigentlichen Konfigurationsdaten sind unter:
|
||||||
|
# $XPATH/$NAME zu finden
|
||||||
|
# beim Restore muß das Zielverzeichniss (Root des neu installierten
|
||||||
|
# Systems) unter $2 übergeben werden
|
||||||
|
#
|
||||||
|
#$Author$
|
||||||
|
#$Date$
|
||||||
|
#$Revision$
|
||||||
|
#
|
||||||
|
#$Log$
|
||||||
|
#Revision 1.1 2001/09/23 17:50:40 kueller
|
||||||
|
#Initial revision
|
||||||
|
#
|
||||||
|
#Revision 1.1.1.1 2001/08/06 22:09:47 kueller
|
||||||
|
#Aufnahme in CVS Überwachung
|
||||||
|
#
|
||||||
|
#
|
||||||
|
|
||||||
|
DO=$1
|
||||||
|
STOREPATH=$2
|
||||||
|
RESTOREPATH=$3
|
||||||
|
|
||||||
|
if [ -z ${STOREPATH} ]; then
|
||||||
|
echo "Es wird Mindestens ein Backupverzeichniss benoetigt."
|
||||||
|
exit 10
|
||||||
|
fi
|
||||||
|
|
||||||
|
case ${DO} in
|
||||||
|
b)
|
||||||
|
if [ -f /etc/ftpusers ]; then
|
||||||
|
${DEBUG} mkdir ${STOREPATH}/PKGS/ftpd/etc
|
||||||
|
${DEBUG} cp /etc/ftpusers ${STOREPATH}/PKGS/etc
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
r)
|
||||||
|
if [ -z ${RESTOREPATH} ]; then
|
||||||
|
echo "Restorefunction braucht Angabe des Install Root Pfades"
|
||||||
|
exit 10
|
||||||
|
fi
|
||||||
|
if [ ! -d ${RESTOREPATH} ]; then
|
||||||
|
echo "${RESTOREPATH} must exist!"
|
||||||
|
exit 10
|
||||||
|
fi
|
||||||
|
if [ -d ${STOREPATH}/PKGS/ftpd ]; then
|
||||||
|
${DEBUG} cp ${STOREPATH}/PKGS/ftpd/etc/ftpusers ${RESTOREPATH}/etc/
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo "$0 {b|r}"
|
||||||
|
exit 10
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
exit 0
|
71
cfg_modules/iptables
Normal file
71
cfg_modules/iptables
Normal file
|
@ -0,0 +1,71 @@
|
||||||
|
#!/bin/bash
|
||||||
|
#
|
||||||
|
# Backup/Restore Script für die unattendet Installation
|
||||||
|
# von RainMaker Linux
|
||||||
|
# (c) 2001 by RainMaker MultiMedia OHG
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# Zur Funktion des Scriptes werden 2 Variablen vom aufrufenden
|
||||||
|
# Script exportiert:
|
||||||
|
# XPATH: Pfad ins basis Verzeichniss der Konfigurations Daten
|
||||||
|
# NAME: Name der Konfiguration
|
||||||
|
# Sprich die Eigentlichen Konfigurationsdaten sind unter:
|
||||||
|
# $XPATH/$NAME zu finden
|
||||||
|
# beim Restore muß das Zielverzeichniss (Root des neu installierten
|
||||||
|
# Systems) unter $2 übergeben werden
|
||||||
|
#
|
||||||
|
#$Author$
|
||||||
|
#$Date$
|
||||||
|
#$Revision$
|
||||||
|
#
|
||||||
|
#$Log$
|
||||||
|
#Revision 1.1 2001/09/23 17:50:40 kueller
|
||||||
|
#Initial revision
|
||||||
|
#
|
||||||
|
#Revision 1.1.1.1 2001/08/06 22:09:47 kueller
|
||||||
|
#Aufnahme in CVS Überwachung
|
||||||
|
#
|
||||||
|
#
|
||||||
|
|
||||||
|
DO=$1
|
||||||
|
STOREPATH=$2
|
||||||
|
RESTOREPATH=$3
|
||||||
|
|
||||||
|
if [ -z ${STOREPATH} ]; then
|
||||||
|
echo "Es wird Mindestens ein Backupverzeichniss benoetigt."
|
||||||
|
exit 10
|
||||||
|
fi
|
||||||
|
|
||||||
|
case $1 in
|
||||||
|
b)
|
||||||
|
if [ -f /etc/sysconfig/firewall ]; then
|
||||||
|
mkdir -p ${STOREPATH}/PKGS/iptables/etc/sysconfig
|
||||||
|
cp /etc/sysconfig/firewall ${STOREPATH}/PKGS/iptables/etc/sysconfig
|
||||||
|
fi
|
||||||
|
if [ -f /var/state/iptables.state ]; then
|
||||||
|
mkdir -p ${STOREPATH}/PKGS/iptables/var/state
|
||||||
|
cp /var/state/iptables.state ${STOREPATH}/PKGS/iptables/var/state
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
r)
|
||||||
|
if [ -z ${RESTOREPATH} ]; then
|
||||||
|
echo "Restorefunction braucht Angabe des Install Root Pfades"
|
||||||
|
exit 10
|
||||||
|
fi
|
||||||
|
if [ ! -d ${RESTOREPATH} ]; then
|
||||||
|
echo "${RESTOREPATH} must exist!"
|
||||||
|
exit 10
|
||||||
|
fi
|
||||||
|
if [ -d ${STOREPATH}/PKGS/iptables/etc/sysconfig/firewall ]; then
|
||||||
|
cp ${STOREPATH}/PKGS/iptables/etc/sysconfig/firewall ${RESTOREPATH}/etc/sysconfig
|
||||||
|
fi
|
||||||
|
if [ -d ${STOREPATH}/PKGS/iptables/var/state/iptables.state ]; then
|
||||||
|
cp ${STOREPATH}/PKGS/iptables/var/state/iptables.state ${RESTOREPATH}/var/state
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo "$0 {b|r}"
|
||||||
|
exit 10
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
exit 0
|
69
cfg_modules/isdn4k
Normal file
69
cfg_modules/isdn4k
Normal file
|
@ -0,0 +1,69 @@
|
||||||
|
#!/bin/bash
|
||||||
|
#
|
||||||
|
# Backup/Restore Script für die unattendet Installation
|
||||||
|
# von RainMaker Linux
|
||||||
|
# (c) 2001 by RainMaker MultiMedia OHG
|
||||||
|
#
|
||||||
|
# Zur Funktion des Scriptes werden 2 Variablen vom aufrufenden
|
||||||
|
# Script exportiert:
|
||||||
|
# XPATH: Pfad ins basis Verzeichniss der Konfigurations Daten
|
||||||
|
# NAME: Name der Konfiguration
|
||||||
|
# Sprich die Eigentlichen Konfigurationsdaten sind unter:
|
||||||
|
# $XPATH/$NAME zu finden
|
||||||
|
# beim Restore muß das Zielverzeichniss (Root des neu installierten
|
||||||
|
# Systems) unter $2 übergeben werden
|
||||||
|
#
|
||||||
|
#$Author$
|
||||||
|
#$Date$
|
||||||
|
#$Revision$
|
||||||
|
#
|
||||||
|
#$Log$
|
||||||
|
#Revision 1.1 2001/09/23 17:50:40 kueller
|
||||||
|
#Initial revision
|
||||||
|
#
|
||||||
|
#Revision 1.1.1.1 2001/08/06 22:09:47 kueller
|
||||||
|
#Aufnahme in CVS Überwachung
|
||||||
|
#
|
||||||
|
#
|
||||||
|
|
||||||
|
DO=$1
|
||||||
|
STOREPATH=$2
|
||||||
|
RESTOREPATH=$3
|
||||||
|
|
||||||
|
if [ -z ${STOREPATH} ]; then
|
||||||
|
echo "Es wird Mindestens ein Backupverzeichniss benoetigt."
|
||||||
|
exit 10
|
||||||
|
fi
|
||||||
|
|
||||||
|
case ${DO} in
|
||||||
|
b)
|
||||||
|
if [ -f /etc/sysconfig/net/*.ippp* ]; then
|
||||||
|
mkdir -p ${STOREPATH}/PKGS/isdn4k/etc/sysconfig/net
|
||||||
|
cp /etc/sysconfig/net/*.ippp* ${STOREPATH}/PKGS/isdn4k/etc/sysconfig/net
|
||||||
|
mkdir -p ${STOREPATH}/PKGS/isdn4k/etc/ppp
|
||||||
|
cp -rp /etc/ppp/* ${STOREPATH}/PKGS/isdn4k/etc/ppp
|
||||||
|
fi
|
||||||
|
if [ -f /etc/sysconfig/net/isdn.isdn* ]; then
|
||||||
|
mkdir -p ${STOREPATH}/PKGS/isdn4k/etc/sysconfig/net
|
||||||
|
cp /etc/sysconfig/net/isdn.isdn* ${STOREPATH}/PKGS/isdn4k/etc/sysconfig/net
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
r)
|
||||||
|
if [ -z ${RESTOREPATH} ]; then
|
||||||
|
echo "Restorefunction braucht Angabe des Install Root Pfades"
|
||||||
|
exit 10
|
||||||
|
fi
|
||||||
|
if [ ! -d ${RESTOREPATH} ]; then
|
||||||
|
echo "${RESTOREPATH} must exist!"
|
||||||
|
exit 10
|
||||||
|
fi
|
||||||
|
if [ -d ${STOREPATH}/PKGS/isdn4k ]; then
|
||||||
|
tar -C ${STOREPATH}/PKGS/isdn4k -cf - .|tar -C ${RESTOREPATH} -xf -
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo "$0 {b|r}"
|
||||||
|
exit 10
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
exit 0
|
70
cfg_modules/lilo
Normal file
70
cfg_modules/lilo
Normal file
|
@ -0,0 +1,70 @@
|
||||||
|
#!/bin/bash
|
||||||
|
#
|
||||||
|
# Backup/Restore Script für die unattendet Installation
|
||||||
|
# von RainMaker Linux
|
||||||
|
# (c) 2001 by RainMaker MultiMedia OHG
|
||||||
|
#
|
||||||
|
# Zur Funktion des Scriptes werden 2 Variablen vom aufrufenden
|
||||||
|
# Script exportiert:
|
||||||
|
# XPATH: Pfad ins basis Verzeichniss der Konfigurations Daten
|
||||||
|
# NAME: Name der Konfiguration
|
||||||
|
# Sprich die Eigentlichen Konfigurationsdaten sind unter:
|
||||||
|
# $XPATH/$NAME zu finden
|
||||||
|
# beim Restore muß das Zielverzeichniss (Root des neu installierten
|
||||||
|
# Systems) unter $2 übergeben werden
|
||||||
|
#
|
||||||
|
#$Author: kueller $
|
||||||
|
#$Date: 2008-03-19 11:34:26 +0100 (Mi, 19 Mär 2008) $
|
||||||
|
#$Revision: 4105 $
|
||||||
|
#
|
||||||
|
#$Log$
|
||||||
|
#Revision 1.1 2001/09/23 17:50:40 kueller
|
||||||
|
#Initial revision
|
||||||
|
#
|
||||||
|
#Revision 1.1.1.1 2001/08/06 22:09:47 kueller
|
||||||
|
#Aufnahme in CVS Überwachung
|
||||||
|
#
|
||||||
|
#
|
||||||
|
|
||||||
|
DO=$1
|
||||||
|
STOREPATH=$2
|
||||||
|
RESTOREPATH=$3
|
||||||
|
|
||||||
|
if [ -z ${STOREPATH} ]; then
|
||||||
|
echo "Es wird Mindestens ein Backupverzeichniss benoetigt."
|
||||||
|
exit 10
|
||||||
|
fi
|
||||||
|
|
||||||
|
case ${DO} in
|
||||||
|
b)
|
||||||
|
if [ -d /boot ]; then
|
||||||
|
if [ ! -d ${STOREPATH}/PKGS/lilo ]; then
|
||||||
|
mkdir -p ${STOREPATH}/PKGS/lilo/{etc,boot,lib}
|
||||||
|
mkdir -p ${STOREPATH}/PKGS/lilo/lib/modules
|
||||||
|
fi
|
||||||
|
cp /etc/lilo.conf ${STOREPATH}/PKGS/lilo/etc/
|
||||||
|
tar -C /boot -cf - .|tar -C ${STOREPATH}/PKGS/lilo/boot -xf -
|
||||||
|
if [ -d /lib/modules/`uname -r` ]; then
|
||||||
|
tar -C /lib/modules -cf - `uname -r`|tar -C ${STOREPATH}/PKGS/lilo/lib/modules -xf -
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
r)
|
||||||
|
if [ -z ${RESTOREPATH} ]; then
|
||||||
|
echo "Restorefunction braucht Angabe des Install Root Pfades"
|
||||||
|
exit 10
|
||||||
|
fi
|
||||||
|
if [ ! -d ${RESTOREPATH} ]; then
|
||||||
|
echo "${RESTOREPATH} must exist!"
|
||||||
|
exit 10
|
||||||
|
fi
|
||||||
|
if [ -d ${STOREPATH}/PKGS/autofs ]; then
|
||||||
|
tar -C ${STOREPATH}/PKGS/lilo -cf -|tar -C ${RESTOREPATH}/ -xf -
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo "$0 {b|r}"
|
||||||
|
exit 10
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
exit 0
|
65
cfg_modules/nss_ldap
Executable file
65
cfg_modules/nss_ldap
Executable file
|
@ -0,0 +1,65 @@
|
||||||
|
#!/bin/bash
|
||||||
|
#
|
||||||
|
# Backup/Restore Script für die unattendet Installation
|
||||||
|
# von RainMaker Linux
|
||||||
|
# (c) 2001 by RainMaker MultiMedia OHG
|
||||||
|
#
|
||||||
|
# Zur Funktion des Scriptes werden 2 Variablen vom aufrufenden
|
||||||
|
# Script exportiert:
|
||||||
|
# XPATH: Pfad ins basis Verzeichniss der Konfigurations Daten
|
||||||
|
# NAME: Name der Konfiguration
|
||||||
|
# Sprich die Eigentlichen Konfigurationsdaten sind unter:
|
||||||
|
# $XPATH/$NAME zu finden
|
||||||
|
# beim Restore muß das Zielverzeichniss (Root des neu installierten
|
||||||
|
# Systems) unter $2 übergeben werden
|
||||||
|
#
|
||||||
|
#$Author: kueller $
|
||||||
|
#$Date: 2008-03-19 11:34:26 +0100 (Mi, 19 Mär 2008) $
|
||||||
|
#$Revision: 4105 $
|
||||||
|
#
|
||||||
|
#$Log$
|
||||||
|
#Revision 1.1 2001/09/23 17:50:40 kueller
|
||||||
|
#Initial revision
|
||||||
|
#
|
||||||
|
#Revision 1.1.1.1 2001/08/06 22:09:47 kueller
|
||||||
|
#Aufnahme in CVS Überwachung
|
||||||
|
#
|
||||||
|
#
|
||||||
|
|
||||||
|
DO=$1
|
||||||
|
STOREPATH=$2
|
||||||
|
RESTOREPATH=$3
|
||||||
|
|
||||||
|
if [ -z ${STOREPATH} ]; then
|
||||||
|
echo "Es wird Mindestens ein Backupverzeichniss benoetigt."
|
||||||
|
exit 10
|
||||||
|
fi
|
||||||
|
|
||||||
|
case ${DO} in
|
||||||
|
b)
|
||||||
|
if [ -f /etc/ldap.conf ]; then
|
||||||
|
if [ ! -d ${STOREPATH}/PKGS/nss_ldap ]; then
|
||||||
|
${DEBUG} mkdir -p ${STOREPATH}/PKGS/nss_ldap/etc
|
||||||
|
fi
|
||||||
|
cp /etc/ldap.conf ${STOREPATH}/PKGS/nss_ldap/etc/
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
r)
|
||||||
|
if [ -z ${RESTOREPATH} ]; then
|
||||||
|
echo "Restorefunction braucht Angabe des Install Root Pfades"
|
||||||
|
exit 10
|
||||||
|
fi
|
||||||
|
if [ ! -d ${RESTOREPATH} ]; then
|
||||||
|
echo "${RESTOREPATH} must exist!"
|
||||||
|
exit 10
|
||||||
|
fi
|
||||||
|
if [ -d ${STOREPATH}/PKGS/autofs ]; then
|
||||||
|
tar -C ${STOREPATH}/PKGS/nss_ldap -cf -|tar -C ${RESTOREPATH}/ -xf -
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo "$0 {b|r}"
|
||||||
|
exit 10
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
exit 0
|
63
cfg_modules/openssh
Executable file
63
cfg_modules/openssh
Executable file
|
@ -0,0 +1,63 @@
|
||||||
|
#!/bin/bash
|
||||||
|
#
|
||||||
|
# Backup/Restore Script für die unattendet Installation
|
||||||
|
# von RainMaker Linux
|
||||||
|
# (c) 2001 by RainMaker MultiMedia OHG
|
||||||
|
#
|
||||||
|
# Zur Funktion des Scriptes werden 2 Variablen vom aufrufenden
|
||||||
|
# Script exportiert:
|
||||||
|
# XPATH: Pfad ins basis Verzeichniss der Konfigurations Daten
|
||||||
|
# NAME: Name der Konfiguration
|
||||||
|
# Sprich die Eigentlichen Konfigurationsdaten sind unter:
|
||||||
|
# $XPATH/$NAME zu finden
|
||||||
|
# beim Restore muß das Zielverzeichniss (Root des neu installierten
|
||||||
|
# Systems) unter $2 übergeben werden
|
||||||
|
#
|
||||||
|
#$Author: kueller $
|
||||||
|
#$Date: 2008-03-19 11:34:26 +0100 (Mi, 19 Mär 2008) $
|
||||||
|
#$Revision: 4105 $
|
||||||
|
#
|
||||||
|
#$Log$
|
||||||
|
#Revision 1.1 2001/09/23 17:50:40 kueller
|
||||||
|
#Initial revision
|
||||||
|
#
|
||||||
|
#Revision 1.1.1.1 2001/08/06 22:09:47 kueller
|
||||||
|
#Aufnahme in CVS Überwachung
|
||||||
|
#
|
||||||
|
#
|
||||||
|
|
||||||
|
DO=$1
|
||||||
|
STOREPATH=$2
|
||||||
|
RESTOREPATH=$3
|
||||||
|
|
||||||
|
if [ -z ${STOREPATH} ]; then
|
||||||
|
echo "Es wird Mindestens ein Backupverzeichniss benoetigt."
|
||||||
|
exit 10
|
||||||
|
fi
|
||||||
|
|
||||||
|
case ${DO} in
|
||||||
|
b)
|
||||||
|
if [ ! -d ${STOREPATH}/PKGS/openssh ]; then
|
||||||
|
${DEBUG} mkdir -p ${STOREPATH}/PKGS/openssh/etc/sysconfig/ssh
|
||||||
|
cp /etc/sysconfig/ssh/* ${STOREPATH}/PKGS/openssh/etc/sysconfig/ssh
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
r)
|
||||||
|
if [ -z ${RESTOREPATH} ]; then
|
||||||
|
echo "Restorefunction braucht Angabe des Install Root Pfades"
|
||||||
|
exit 10
|
||||||
|
fi
|
||||||
|
if [ ! -d ${RESTOREPATH} ]; then
|
||||||
|
echo "${RESTOREPATH} must exist!"
|
||||||
|
exit 10
|
||||||
|
fi
|
||||||
|
if [ -d ${STOREPATH}/PKGS/autofs ]; then
|
||||||
|
tar -C ${STOREPATH}/PKGS/openssh -cf -|tar -C ${RESTOREPATH}/ -xf -
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo "$0 {b|r}"
|
||||||
|
exit 10
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
exit 0
|
65
cfg_modules/pam_ldap
Executable file
65
cfg_modules/pam_ldap
Executable file
|
@ -0,0 +1,65 @@
|
||||||
|
#!/bin/bash
|
||||||
|
#
|
||||||
|
# Backup/Restore Script für die unattendet Installation
|
||||||
|
# von RainMaker Linux
|
||||||
|
# (c) 2001 by RainMaker MultiMedia OHG
|
||||||
|
#
|
||||||
|
# Zur Funktion des Scriptes werden 2 Variablen vom aufrufenden
|
||||||
|
# Script exportiert:
|
||||||
|
# XPATH: Pfad ins basis Verzeichniss der Konfigurations Daten
|
||||||
|
# NAME: Name der Konfiguration
|
||||||
|
# Sprich die Eigentlichen Konfigurationsdaten sind unter:
|
||||||
|
# $XPATH/$NAME zu finden
|
||||||
|
# beim Restore muß das Zielverzeichniss (Root des neu installierten
|
||||||
|
# Systems) unter $2 übergeben werden
|
||||||
|
#
|
||||||
|
#$Author: kueller $
|
||||||
|
#$Date: 2008-03-19 11:34:26 +0100 (Mi, 19 Mär 2008) $
|
||||||
|
#$Revision: 4105 $
|
||||||
|
#
|
||||||
|
#$Log$
|
||||||
|
#Revision 1.1 2001/09/23 17:50:40 kueller
|
||||||
|
#Initial revision
|
||||||
|
#
|
||||||
|
#Revision 1.1.1.1 2001/08/06 22:09:47 kueller
|
||||||
|
#Aufnahme in CVS Überwachung
|
||||||
|
#
|
||||||
|
#
|
||||||
|
|
||||||
|
DO=$1
|
||||||
|
STOREPATH=$2
|
||||||
|
RESTOREPATH=$3
|
||||||
|
|
||||||
|
if [ -z ${STOREPATH} ]; then
|
||||||
|
echo "Es wird Mindestens ein Backupverzeichniss benoetigt."
|
||||||
|
exit 10
|
||||||
|
fi
|
||||||
|
|
||||||
|
case ${DO} in
|
||||||
|
b)
|
||||||
|
if [ -f /etc/ldap.conf ]; then
|
||||||
|
if [ ! -d ${STOREPATH}/PKGS/pam_ldap ]; then
|
||||||
|
${DEBUG} mkdir -p ${STOREPATH}/PKGS/pam_ldap/etc
|
||||||
|
fi
|
||||||
|
cp /etc/ldap.conf ${STOREPATH}/PKGS/pam_ldap/etc/
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
r)
|
||||||
|
if [ -z ${RESTOREPATH} ]; then
|
||||||
|
echo "Restorefunction braucht Angabe des Install Root Pfades"
|
||||||
|
exit 10
|
||||||
|
fi
|
||||||
|
if [ ! -d ${RESTOREPATH} ]; then
|
||||||
|
echo "${RESTOREPATH} must exist!"
|
||||||
|
exit 10
|
||||||
|
fi
|
||||||
|
if [ -d ${STOREPATH}/PKGS/autofs ]; then
|
||||||
|
tar -C ${STOREPATH}/PKGS/pam_ldap -cf -|tar -C ${RESTOREPATH}/ -xf -
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo "$0 {b|r}"
|
||||||
|
exit 10
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
exit 0
|
65
cfg_modules/sendmail
Executable file
65
cfg_modules/sendmail
Executable file
|
@ -0,0 +1,65 @@
|
||||||
|
#!/bin/bash
|
||||||
|
#
|
||||||
|
# Backup/Restore Script für die unattendet Installation
|
||||||
|
# von RainMaker Linux
|
||||||
|
# (c) 2001 by RainMaker MultiMedia OHG
|
||||||
|
#
|
||||||
|
# Zur Funktion des Scriptes werden 2 Variablen vom aufrufenden
|
||||||
|
# Script exportiert:
|
||||||
|
# XPATH: Pfad ins basis Verzeichniss der Konfigurations Daten
|
||||||
|
# NAME: Name der Konfiguration
|
||||||
|
# Sprich die Eigentlichen Konfigurationsdaten sind unter:
|
||||||
|
# $XPATH/$NAME zu finden
|
||||||
|
# beim Restore muß das Zielverzeichniss (Root des neu installierten
|
||||||
|
# Systems) unter $2 übergeben werden
|
||||||
|
#
|
||||||
|
#$Author: kueller $
|
||||||
|
#$Date: 2008-03-19 11:34:26 +0100 (Mi, 19 Mär 2008) $
|
||||||
|
#$Revision: 4105 $
|
||||||
|
#
|
||||||
|
#$Log$
|
||||||
|
#Revision 1.1 2001/09/23 17:50:40 kueller
|
||||||
|
#Initial revision
|
||||||
|
#
|
||||||
|
#Revision 1.1.1.1 2001/08/06 22:09:47 kueller
|
||||||
|
#Aufnahme in CVS Überwachung
|
||||||
|
#
|
||||||
|
#
|
||||||
|
|
||||||
|
DO=$1
|
||||||
|
STOREPATH=$2
|
||||||
|
RESTOREPATH=$3
|
||||||
|
|
||||||
|
if [ -z ${STOREPATH} ]; then
|
||||||
|
echo "Es wird Mindestens ein Backupverzeichniss benoetigt."
|
||||||
|
exit 10
|
||||||
|
fi
|
||||||
|
|
||||||
|
case ${DO} in
|
||||||
|
b)
|
||||||
|
if [ -d /etc/mail ]; then
|
||||||
|
if [ ! -d ${STOREPATH}/PKGS/sendmail ]; then
|
||||||
|
${DEBUG} mkdir -p ${STOREPATH}/PKGS/sendmail/etc/mail
|
||||||
|
fi
|
||||||
|
cp -rp /etc/mail/* ${STOREPATH}/PKGS/sendmail/etc/mail
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
r)
|
||||||
|
if [ -z ${RESTOREPATH} ]; then
|
||||||
|
echo "Restorefunction braucht Angabe des Install Root Pfades"
|
||||||
|
exit 10
|
||||||
|
fi
|
||||||
|
if [ ! -d ${RESTOREPATH} ]; then
|
||||||
|
echo "${RESTOREPATH} must exist!"
|
||||||
|
exit 10
|
||||||
|
fi
|
||||||
|
if [ -d ${STOREPATH}/PKGS/autofs ]; then
|
||||||
|
tar -C ${STOREPATH}/PKGS/sendmail -cf -|tar -C ${RESTOREPATH}/ -xf -
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo "$0 {b|r}"
|
||||||
|
exit 10
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
exit 0
|
67
cfg_modules/wireless_tools
Normal file
67
cfg_modules/wireless_tools
Normal file
|
@ -0,0 +1,67 @@
|
||||||
|
#!/bin/bash
|
||||||
|
#
|
||||||
|
# Backup/Restore Script für die unattendet Installation
|
||||||
|
# von RainMaker Linux
|
||||||
|
# (c) 2001 by RainMaker MultiMedia OHG
|
||||||
|
#
|
||||||
|
# Zur Funktion des Scriptes werden 2 Variablen vom aufrufenden
|
||||||
|
# Script exportiert:
|
||||||
|
# XPATH: Pfad ins basis Verzeichniss der Konfigurations Daten
|
||||||
|
# NAME: Name der Konfiguration
|
||||||
|
# Sprich die Eigentlichen Konfigurationsdaten sind unter:
|
||||||
|
# $XPATH/$NAME zu finden
|
||||||
|
# beim Restore muß das Zielverzeichniss (Root des neu installierten
|
||||||
|
# Systems) unter $2 übergeben werden
|
||||||
|
#
|
||||||
|
#$Author: kueller $
|
||||||
|
#$Date: 2008-03-19 11:34:26 +0100 (Mi, 19 Mär 2008) $
|
||||||
|
#$Revision: 4105 $
|
||||||
|
#
|
||||||
|
#$Log$
|
||||||
|
#Revision 1.1 2001/09/23 17:50:40 kueller
|
||||||
|
#Initial revision
|
||||||
|
#
|
||||||
|
#Revision 1.1.1.1 2001/08/06 22:09:47 kueller
|
||||||
|
#Aufnahme in CVS Überwachung
|
||||||
|
#
|
||||||
|
#
|
||||||
|
|
||||||
|
DO=$1
|
||||||
|
STOREPATH=$2
|
||||||
|
RESTOREPATH=$3
|
||||||
|
|
||||||
|
if [ -z ${STOREPATH} ]; then
|
||||||
|
echo "Es wird Mindestens ein Backupverzeichniss benoetigt."
|
||||||
|
exit 10
|
||||||
|
fi
|
||||||
|
|
||||||
|
case ${DO} in
|
||||||
|
b)
|
||||||
|
if [ -d /etc/sysconfig/wlan ]; then
|
||||||
|
for i in /etc/sysconfig/wlan/*; do
|
||||||
|
if [ ! -d ${STOREPATH}/PKGS/wireless_tools/etc/sysconfig/wlan ]; then
|
||||||
|
mkdir -p ${STOREPATH}/PKGS/wireless_tools/etc/sysconfig/wlan
|
||||||
|
fi
|
||||||
|
cp $i ${STOREPATH}/PKGS/wireless_tools/etc/sysconfig/wlan/
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
r)
|
||||||
|
if [ -z ${RESTOREPATH} ]; then
|
||||||
|
echo "Restorefunction braucht Angabe des Install Root Pfades"
|
||||||
|
exit 10
|
||||||
|
fi
|
||||||
|
if [ ! -d ${RESTOREPATH} ]; then
|
||||||
|
echo "${RESTOREPATH} must exist!"
|
||||||
|
exit 10
|
||||||
|
fi
|
||||||
|
if [ -d ${STOREPATH}/PKGS/wireless_tools ]; then
|
||||||
|
tar -C ${STOREPATH}/PKGS/wireless_tools -cf - .|tar -C ${RESTOREPATH} -xf -
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo "$0 {b|r}"
|
||||||
|
exit 10
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
exit 0
|
67
cfg_modules/wpa_supplicant
Normal file
67
cfg_modules/wpa_supplicant
Normal file
|
@ -0,0 +1,67 @@
|
||||||
|
#!/bin/bash
|
||||||
|
#
|
||||||
|
# Backup/Restore Script für die unattendet Installation
|
||||||
|
# von RainMaker Linux
|
||||||
|
# (c) 2001 by RainMaker MultiMedia OHG
|
||||||
|
#
|
||||||
|
# Zur Funktion des Scriptes werden 2 Variablen vom aufrufenden
|
||||||
|
# Script exportiert:
|
||||||
|
# XPATH: Pfad ins basis Verzeichniss der Konfigurations Daten
|
||||||
|
# NAME: Name der Konfiguration
|
||||||
|
# Sprich die Eigentlichen Konfigurationsdaten sind unter:
|
||||||
|
# $XPATH/$NAME zu finden
|
||||||
|
# beim Restore muß das Zielverzeichniss (Root des neu installierten
|
||||||
|
# Systems) unter $2 übergeben werden
|
||||||
|
#
|
||||||
|
#$Author: kueller $
|
||||||
|
#$Date: 2008-03-19 11:34:26 +0100 (Mi, 19 Mär 2008) $
|
||||||
|
#$Revision: 4105 $
|
||||||
|
#
|
||||||
|
#$Log$
|
||||||
|
#Revision 1.1 2001/09/23 17:50:40 kueller
|
||||||
|
#Initial revision
|
||||||
|
#
|
||||||
|
#Revision 1.1.1.1 2001/08/06 22:09:47 kueller
|
||||||
|
#Aufnahme in CVS Überwachung
|
||||||
|
#
|
||||||
|
#
|
||||||
|
|
||||||
|
DO=$1
|
||||||
|
STOREPATH=$2
|
||||||
|
RESTOREPATH=$3
|
||||||
|
|
||||||
|
if [ -z ${STOREPATH} ]; then
|
||||||
|
echo "Es wird Mindestens ein Backupverzeichniss benoetigt."
|
||||||
|
exit 10
|
||||||
|
fi
|
||||||
|
|
||||||
|
case ${DO} in
|
||||||
|
b)
|
||||||
|
if [ -d /etc/sysconfig/wpa_supplicant ]; then
|
||||||
|
for i in /etc/sysconfig/wpa_supplicant/*; do
|
||||||
|
if [ ! -d ${STOREPATH}/PKGS/wpa_supplicant/etc/sysconfig/wpa_supplicant ]; then
|
||||||
|
mkdir -p ${STOREPATH}/PKGS/wpa_supplicant/etc/sysconfig/wpa_supplicant
|
||||||
|
fi
|
||||||
|
cp $i ${STOREPATH}/PKGS/wpa_supplicant/etc/sysconfig/wpa_supplicant/
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
r)
|
||||||
|
if [ -z ${RESTOREPATH} ]; then
|
||||||
|
echo "Restorefunction braucht Angabe des Install Root Pfades"
|
||||||
|
exit 10
|
||||||
|
fi
|
||||||
|
if [ ! -d ${RESTOREPATH} ]; then
|
||||||
|
echo "${RESTOREPATH} must exist!"
|
||||||
|
exit 10
|
||||||
|
fi
|
||||||
|
if [ -d ${STOREPATH}/PKGS/wpa_supplicant ]; then
|
||||||
|
tar -C ${STOREPATH}/PKGS/wpa_supplicant -cf - .|tar -C ${RESTOREPATH} -xf -
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo "$0 {b|r}"
|
||||||
|
exit 10
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
exit 0
|
75
cfg_modules/ypserv
Normal file
75
cfg_modules/ypserv
Normal file
|
@ -0,0 +1,75 @@
|
||||||
|
#!/bin/bash
|
||||||
|
#
|
||||||
|
# Backup/Restore Script für die unattendet Installation
|
||||||
|
# von RainMaker Linux
|
||||||
|
# (c) 2001 by RainMaker MultiMedia OHG
|
||||||
|
#
|
||||||
|
# Zur Funktion des Scriptes werden 2 Variablen vom aufrufenden
|
||||||
|
# Script exportiert:
|
||||||
|
# XPATH: Pfad ins basis Verzeichniss der Konfigurations Daten
|
||||||
|
# NAME: Name der Konfiguration
|
||||||
|
# Sprich die Eigentlichen Konfigurationsdaten sind unter:
|
||||||
|
# $XPATH/$NAME zu finden
|
||||||
|
# beim Restore muß das Zielverzeichniss (Root des neu installierten
|
||||||
|
# Systems) unter $2 übergeben werden
|
||||||
|
#
|
||||||
|
#$Author$
|
||||||
|
#$Date$
|
||||||
|
#$Revision$
|
||||||
|
#
|
||||||
|
#$Log$
|
||||||
|
#Revision 1.1 2001/09/23 17:50:40 kueller
|
||||||
|
#Initial revision
|
||||||
|
#
|
||||||
|
#Revision 1.1.1.1 2001/08/06 22:09:47 kueller
|
||||||
|
#Aufnahme in CVS Überwachung
|
||||||
|
#
|
||||||
|
#
|
||||||
|
|
||||||
|
DO=$1
|
||||||
|
STOREPATH=$2
|
||||||
|
RESTOREPATH=$3
|
||||||
|
|
||||||
|
if [ -z $2 ]; then
|
||||||
|
echo "Es wird Mindestens ein Backupverzeichniss benoetigt."
|
||||||
|
exit 10
|
||||||
|
fi
|
||||||
|
|
||||||
|
case $1 in
|
||||||
|
b)
|
||||||
|
YPSRCDIR=`grep ^YPSRCDIR /var/yp/Makefile|cut -d " " -f 3`
|
||||||
|
YPPWDDIR=`grep ^YPPWDDIR /var/yp/Makefile|cut -d " " -f 3`
|
||||||
|
if [ ${YPSRCDIR} == /etc ]; then
|
||||||
|
echo "to backup your yp data, your ypdata should not be stored in /etc"
|
||||||
|
exit 10
|
||||||
|
fi
|
||||||
|
if [ -d ${YPSRCDIR} ]; then
|
||||||
|
mkdir -p ${STOREPATH}/PKGS/ypserv/${YPSRCDIR}
|
||||||
|
mkdir -p ${STOREPATH}/PKGS/ypserv/var/yp
|
||||||
|
tar -C ${YPSRCDIR} -cf - .|tar -C ${STOREPATH}/PKGS/ypserv/${YPSRCDIR} -xf -
|
||||||
|
tar -C /var/yp -cf - .|tar -C ${STOREPATH}/PKGS/ypserv/var/yp -xf -
|
||||||
|
fi
|
||||||
|
if [ ! ${YPSRCDIR} == ${YPPWDDIR} ] && [ -f ${YPPWDDIR}/passwd ]; then
|
||||||
|
mkdir -p ${STOREPATH}/PKGS/ypserv/${YPPWDDIR}
|
||||||
|
cp ${YPPWDDIR}/passwd ${STOREPATH}/PKGS/ypserv/${YPPWDDIR}
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
r)
|
||||||
|
if [ -z ${RESTOREPATH} ]; then
|
||||||
|
echo "Restorefunction braucht Angabe des Install Root Pfades"
|
||||||
|
exit 10
|
||||||
|
fi
|
||||||
|
if [ ! -d ${RESTOREPATH} ]; then
|
||||||
|
echo "${RESTOREPATH} must exist!"
|
||||||
|
exit 10
|
||||||
|
fi
|
||||||
|
if [ -d ${STOREPATH}/PKGS/ypserv ]; then
|
||||||
|
tar -C ${STOREPATH}/PKGS/ypserv -cf - .|tar -C ${RESTOREPATH} -xf -
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo "$0 {b|r}"
|
||||||
|
exit 10
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
exit 0
|
44
cfg_template
Normal file
44
cfg_template
Normal file
|
@ -0,0 +1,44 @@
|
||||||
|
#!/bin/bash
|
||||||
|
#
|
||||||
|
# Backup/Restore Script für die unattendet Installation
|
||||||
|
# von RainMaker Linux
|
||||||
|
# (c) 2001 by RainMaker MultiMedia OHG
|
||||||
|
#
|
||||||
|
# Zur Funktion des Scriptes werden 2 Variablen vom aufrufenden
|
||||||
|
# Script exportiert:
|
||||||
|
# XPATH: Pfad ins basis Verzeichniss der Konfigurations Daten
|
||||||
|
# NAME: Name der Konfiguration
|
||||||
|
# Sprich die Eigentlichen Konfigurationsdaten sind unter:
|
||||||
|
# $XPATH/$NAME zu finden
|
||||||
|
# beim Restore muß das Zielverzeichniss (Root des neu installierten
|
||||||
|
# Systems) unter $2 übergeben werden
|
||||||
|
#
|
||||||
|
#$Author$
|
||||||
|
#$Date$
|
||||||
|
#$Id$
|
||||||
|
#$Revision$
|
||||||
|
#$Source$
|
||||||
|
#
|
||||||
|
#$Log$
|
||||||
|
#Revision 1.1 2001/09/23 17:50:18 kueller
|
||||||
|
#Initial revision
|
||||||
|
#
|
||||||
|
#Revision 1.1.1.1 2001/08/06 22:09:47 kueller
|
||||||
|
#Aufnahme in CVS Überwachung
|
||||||
|
#
|
||||||
|
|
||||||
|
case $1 in
|
||||||
|
b)
|
||||||
|
;;
|
||||||
|
r)
|
||||||
|
if [ -z $2 ]; then
|
||||||
|
echo "Restorefunktion brauch angabe des Installationsverzeichnisses!"
|
||||||
|
exit 10
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo "$0 {b|r}"
|
||||||
|
exit 10
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
exit 0
|
40
checkinstall
Normal file
40
checkinstall
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
#!/bin/bash
|
||||||
|
#Überwachung des Makevorgangs bei verwendung von MonsumMake
|
||||||
|
#(c) 2001 Rainmaker MultiMedia OHG
|
||||||
|
#
|
||||||
|
#$Author$
|
||||||
|
#$Date$
|
||||||
|
#$Revision$
|
||||||
|
#
|
||||||
|
#$Log$
|
||||||
|
#Revision 1.2 2002/06/12 17:57:50 hkueller
|
||||||
|
#Neues Format für cfg Dateien!. Checkinstall angepasst
|
||||||
|
#
|
||||||
|
#Revision 1.1.1.1 2001/09/23 17:50:40 kueller
|
||||||
|
#Neustart wg. Datenverlust
|
||||||
|
#
|
||||||
|
#Revision 1.1.1.1 2001/08/06 22:09:47 kueller
|
||||||
|
#Aufnahme in CVS Überwachung
|
||||||
|
#
|
||||||
|
#
|
||||||
|
|
||||||
|
./MakeLST
|
||||||
|
for i in `cat .bin.lst`; do
|
||||||
|
ls -l ../BINARY/$i
|
||||||
|
done
|
||||||
|
echo -n "Packages Already done:"
|
||||||
|
cat .bin.lst|wc -l
|
||||||
|
echo -n "Packages to do :"
|
||||||
|
exec 3<BaseSystem.cfg
|
||||||
|
read <&3 CDROM FILE
|
||||||
|
while [ "$CDROM" ]; do
|
||||||
|
if [ ! -f ../$FILE ]; then
|
||||||
|
echo $i >/tmp/todo
|
||||||
|
fi
|
||||||
|
read <&3 CDROM FILE
|
||||||
|
done
|
||||||
|
exec 3>&-
|
||||||
|
if [ -f /tmp/todo ]; then
|
||||||
|
cat /tmp/todo|wc -l
|
||||||
|
rm /tmp/todo
|
||||||
|
fi
|
180
isoinstall.in
Normal file
180
isoinstall.in
Normal file
|
@ -0,0 +1,180 @@
|
||||||
|
svgalib
|
||||||
|
lsof
|
||||||
|
screen
|
||||||
|
acpid
|
||||||
|
sysfsutils
|
||||||
|
strace
|
||||||
|
wireless_tools
|
||||||
|
mt-st
|
||||||
|
mtx
|
||||||
|
tcl
|
||||||
|
mdadm
|
||||||
|
iptables
|
||||||
|
nfs-utils
|
||||||
|
ethtool
|
||||||
|
autofs
|
||||||
|
syslinux
|
||||||
|
bc
|
||||||
|
a2ps
|
||||||
|
wget
|
||||||
|
pciutils
|
||||||
|
usbutils
|
||||||
|
cdrtools
|
||||||
|
gpm
|
||||||
|
iftop
|
||||||
|
cftp
|
||||||
|
dvd+rw-tools
|
||||||
|
wpa_supplicant
|
||||||
|
ipvsadm
|
||||||
|
cups
|
||||||
|
samba
|
||||||
|
xproto
|
||||||
|
xextproto
|
||||||
|
xcmiscproto
|
||||||
|
kbproto
|
||||||
|
inputproto
|
||||||
|
xf86bigfontproto
|
||||||
|
xterm
|
||||||
|
compositeproto
|
||||||
|
damageproto
|
||||||
|
dmxproto
|
||||||
|
dri2proto
|
||||||
|
evieext
|
||||||
|
fixesproto
|
||||||
|
fontcacheproto
|
||||||
|
fontsproto
|
||||||
|
glproto
|
||||||
|
printproto
|
||||||
|
randrproto
|
||||||
|
recordproto
|
||||||
|
renderproto
|
||||||
|
resourceproto
|
||||||
|
scrnsaverproto
|
||||||
|
trapproto
|
||||||
|
videoproto
|
||||||
|
windowswmproto
|
||||||
|
xf86dgaproto
|
||||||
|
xf86driproto
|
||||||
|
xf86miscproto
|
||||||
|
xf86rushproto
|
||||||
|
xf86vidmodeproto
|
||||||
|
xineramaproto
|
||||||
|
xproxymanagementprotocol
|
||||||
|
MesaLib
|
||||||
|
gle
|
||||||
|
xbitmaps
|
||||||
|
xcursor-themes
|
||||||
|
xkeyboard-config
|
||||||
|
xkbdata
|
||||||
|
xkbcomp
|
||||||
|
xorg-server
|
||||||
|
xf86-input-keyboard
|
||||||
|
xf86-input-mouse
|
||||||
|
xf86-input-vmmouse
|
||||||
|
xf86-video-vesa
|
||||||
|
xf86-video-vmware
|
||||||
|
appres
|
||||||
|
bdftopcf
|
||||||
|
beforelight
|
||||||
|
bitmap
|
||||||
|
startup-notification
|
||||||
|
mkfontdir
|
||||||
|
mkfontscale
|
||||||
|
proxymngr
|
||||||
|
rendercheck
|
||||||
|
rgb
|
||||||
|
scripts
|
||||||
|
sessreg
|
||||||
|
setxkbmap
|
||||||
|
twm
|
||||||
|
xauth
|
||||||
|
xbacklight
|
||||||
|
xclipboard
|
||||||
|
xconsole
|
||||||
|
xcompmgr
|
||||||
|
xdbedizzy
|
||||||
|
xditview
|
||||||
|
xdpyinfo
|
||||||
|
xdriinfo
|
||||||
|
xev
|
||||||
|
xf86dga
|
||||||
|
xfd
|
||||||
|
xfindproxy
|
||||||
|
xfontsel
|
||||||
|
xfs
|
||||||
|
xfsinfo
|
||||||
|
xfwp
|
||||||
|
xgamma
|
||||||
|
xgc
|
||||||
|
xhost
|
||||||
|
xinit
|
||||||
|
xinput
|
||||||
|
xkbevd
|
||||||
|
xkbprint
|
||||||
|
xkbutils
|
||||||
|
xlsatoms
|
||||||
|
xlsclients
|
||||||
|
xlsfonts
|
||||||
|
xmessage
|
||||||
|
xmodmap
|
||||||
|
xprop
|
||||||
|
xrandr
|
||||||
|
xrdb
|
||||||
|
xrefresh
|
||||||
|
xscope
|
||||||
|
xset
|
||||||
|
xsetmode
|
||||||
|
xsetpointer
|
||||||
|
xsm
|
||||||
|
xstdcmap
|
||||||
|
xvidtune
|
||||||
|
xvinfo
|
||||||
|
xwd
|
||||||
|
xwininfo
|
||||||
|
encodings
|
||||||
|
font-util
|
||||||
|
font-alias
|
||||||
|
font-adobe-100dpi
|
||||||
|
font-adobe-75dpi
|
||||||
|
font-adobe-utopia-100dpi
|
||||||
|
font-adobe-utopia-75dpi
|
||||||
|
font-adobe-utopia-type1
|
||||||
|
font-bh-100dpi
|
||||||
|
font-bh-75dpi
|
||||||
|
font-bh-lucidatypewriter-100dpi
|
||||||
|
font-bh-lucidatypewriter-75dpi
|
||||||
|
font-bitstream-100dpi
|
||||||
|
font-bitstream-75dpi
|
||||||
|
font-cursor-misc
|
||||||
|
font-ibm-type1
|
||||||
|
font-micro-misc
|
||||||
|
font-misc-misc
|
||||||
|
font-mutt-misc
|
||||||
|
font-schumacher-misc
|
||||||
|
font-screen-cyrillic
|
||||||
|
font-winitzki-cyrillic
|
||||||
|
font-xfree86-type1
|
||||||
|
xorg-cf-files
|
||||||
|
freefonts
|
||||||
|
PolicyKit
|
||||||
|
ConsoleKit
|
||||||
|
hal
|
||||||
|
tcpdump
|
||||||
|
rsync
|
||||||
|
sendmail
|
||||||
|
htdig
|
||||||
|
dump
|
||||||
|
lha
|
||||||
|
dvdrtools
|
||||||
|
hplip
|
||||||
|
links
|
||||||
|
espgs
|
||||||
|
DeviceKit
|
||||||
|
DeviceKit-power
|
||||||
|
Xdialog
|
||||||
|
rdesktop
|
||||||
|
alien
|
||||||
|
icon-naming-utils
|
||||||
|
bacula
|
||||||
|
icewm
|
||||||
|
gparted
|
28
locale/Viitor_Install.pod.de
Normal file
28
locale/Viitor_Install.pod.de
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
msgid "Initializing swap on %b"
|
||||||
|
msgstr "Initialisiere %b als swap"
|
||||||
|
msgid "installing available system kernel"
|
||||||
|
msgstr "Installiere vorhandenen Systemkernel"
|
||||||
|
msgid "installing available kernel modules"
|
||||||
|
msgstr "Installiere vorhandene Kernel Module"
|
||||||
|
msgid "No kernel found"
|
||||||
|
msgstr "Es wurde kein Kernel gefunden"
|
||||||
|
msgid "installing standard kernel"
|
||||||
|
msgstr "Installiere standard Kernel"
|
||||||
|
msgid "Kernel installation:"
|
||||||
|
msgstr "Kernel Installation:"
|
||||||
|
msgid "Please edit the file /etc/lilo.conf"
|
||||||
|
msgstr "Bitte nun die Datei /etc/lilo.conf anpassen"
|
||||||
|
msgid "and run the command /sbin/lilo"
|
||||||
|
msgstr "und das Kommando /sbin/lilo ausführen"
|
||||||
|
msgid "The root is now changed to the new System for this task"
|
||||||
|
msgstr "Es wurde eine Virtuele Rootumgebung zu diesem Zweck auf das neue System gelegt"
|
||||||
|
msgid "Installation script for the Monsum Linux distribution"
|
||||||
|
msgstr "Installations Script für die Monsum Linux Distribution"
|
||||||
|
msgid " -c cfgfile :use \"cfgfile\" for pkg configuration"
|
||||||
|
msgstr " -c cfgfile :PKG Konfiguration aus \"cfgfile\" entnehmen"
|
||||||
|
msgid " -m installdir :Path to install"
|
||||||
|
msgstr " -m installdir :Verzeichniss in welches installiert werden soll"
|
||||||
|
msgid "%b is not a valid option"
|
||||||
|
msgstr "%b ist keine gültige Option"
|
||||||
|
msgid "Create install info Directory"
|
||||||
|
msgstr "Erstelle install info Verzeichniss"
|
116
make_base_install
Normal file
116
make_base_install
Normal file
|
@ -0,0 +1,116 @@
|
||||||
|
#!/bin/bash
|
||||||
|
#Installation Script für die Neuinstallation der Monsum Distribution
|
||||||
|
# (c) 2001 by RainMaer MultiMedia OHG Bamberg
|
||||||
|
#(c) 2001 Rainmaker MultiMedia OHG
|
||||||
|
#
|
||||||
|
#$Author$
|
||||||
|
#$Date$
|
||||||
|
#$Revision$
|
||||||
|
#
|
||||||
|
#$Log$
|
||||||
|
#Revision 1.4 2005/10/10 07:15:57 kueller
|
||||||
|
#Anpassung an die neue Version 952.
|
||||||
|
#
|
||||||
|
#Revision 1.3 2002/06/12 12:52:30 hkueller
|
||||||
|
#Installationsroutine make_base_install erweitert. getargsauswertung der
|
||||||
|
#Optionen, Verwendung unterschiedlicher pkg configurationen wird nun
|
||||||
|
#unterstützt. Standart ist BaseSystem.cfg mit installroot in /mnt
|
||||||
|
#mit -c können alternative .cfg Dateien angegeben werden. Mitgeliefert:
|
||||||
|
#All.cfg : installation aller Distributionsdateien
|
||||||
|
#Workstation.cfg: Normale Workstation Installation
|
||||||
|
#Ausserdem Localisierung der Installationroutine eingeführt
|
||||||
|
#
|
||||||
|
#Revision 1.2 2002/05/15 15:16:45 hkueller
|
||||||
|
#Installationsfunktion installpkg entfernt - wird nun durch neues installpkg
|
||||||
|
#script ersetzt
|
||||||
|
#
|
||||||
|
#Revision 1.1.1.1 2001/09/23 17:50:18 kueller
|
||||||
|
#Neustart wg. Datenverlust
|
||||||
|
#
|
||||||
|
#Revision 1.3 2001/09/06 20:34:18 kueller
|
||||||
|
#
|
||||||
|
#Fehler beim Abfangen (kein exit..:-(( )
|
||||||
|
#
|
||||||
|
#Revision 1.2 2001/09/06 20:32:58 kueller
|
||||||
|
#
|
||||||
|
#Kein Argument wird nun abgefangen (usage: meldung)
|
||||||
|
#
|
||||||
|
#Revision 1.1.1.1 2001/08/06 22:09:47 kueller
|
||||||
|
#Aufnahme in CVS Überwachung
|
||||||
|
#
|
||||||
|
#
|
||||||
|
|
||||||
|
INSTALLDIR=/mnt
|
||||||
|
CURRDIR=`pwd`
|
||||||
|
cd ..
|
||||||
|
SOURCE=`pwd`
|
||||||
|
export PKGLIST=.pkglist
|
||||||
|
BINPATH=BINARY
|
||||||
|
|
||||||
|
if [ -z "$INSTALLDIR" ]; then
|
||||||
|
echo "USAGE: $0 [-c cfgfile][-m InstallRoot]"
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
|
source $SOURCE/install/.function
|
||||||
|
CFGFILE=BaseSystem.cfg
|
||||||
|
|
||||||
|
while getopts :c:hm:ea opt_char; do
|
||||||
|
case $opt_char in
|
||||||
|
c)
|
||||||
|
CFGFILE=$OPTARG
|
||||||
|
if [ ! -f /$CFGFILE ]; then
|
||||||
|
if [ -f $CURRDIR/$CFGFILE ]; then
|
||||||
|
CFGFILE=$CURRDIR/$CFGFILE
|
||||||
|
else
|
||||||
|
echo "CFGFile $CFGFILE not found!"
|
||||||
|
exit 10
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
e)
|
||||||
|
NO_DEV=1
|
||||||
|
;;
|
||||||
|
a)
|
||||||
|
NO_MAN=1
|
||||||
|
;;
|
||||||
|
m)
|
||||||
|
INSTALLDIR=$OPTARG
|
||||||
|
;;
|
||||||
|
h)
|
||||||
|
print "Installation script for the Monsum Linux distribution"
|
||||||
|
echo $USAGE
|
||||||
|
print " -c cfgfile :use \"cfgfile\" for pkg configuration"
|
||||||
|
echo " :default = BaseSystem.cfg"
|
||||||
|
print " -m installdir :Path to install"
|
||||||
|
echo " :Default = /mnt"
|
||||||
|
print " -e :Don\`t install Dev. Header"
|
||||||
|
print " -a :Don\`t install man pages"
|
||||||
|
exit
|
||||||
|
;;
|
||||||
|
\?)
|
||||||
|
print "%b is not a valid option" $OPTARG
|
||||||
|
echo
|
||||||
|
echo $USAGE
|
||||||
|
exit
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
|
||||||
|
install/.basedirs $INSTALLDIR
|
||||||
|
|
||||||
|
cd $INSTALLDIR
|
||||||
|
if [ ! -d $INSTALLDIR/var/install ]; then
|
||||||
|
print "Create install info Directory"
|
||||||
|
mkdir -p $INSTALLDIR/var/install &&
|
||||||
|
chown root:root $INSTALLDIR/var/install &&
|
||||||
|
chmod 750 $INSTALLDIR/var/install
|
||||||
|
print_status success
|
||||||
|
fi
|
||||||
|
if [ ! -d $INSTALLDIR/var/install/contents ]; then
|
||||||
|
touch $INSTALLDIR/var/install/contents
|
||||||
|
fi
|
||||||
|
install_cluster $CFGFILE $INSTALLDIR $SOURCE/$BINPATH
|
||||||
|
install_kernel $INSTALLDIR
|
||||||
|
make_boot $INSTALLDIR
|
||||||
|
cp $SOURCE/VERSION $INSTALLDIR/etc/viitor_release
|
Loading…
Reference in New Issue
Block a user