[-]
[+]
|
Added |
config.sh
|
@@ -0,0 +1,141 @@
+#!/bin/bash
+#================
+# FILE : config.sh
+#----------------
+# PROJECT : OpenSuSE KIWI Image System
+# COPYRIGHT : (c) 2006 SUSE LINUX Products GmbH. All rights reserved
+# :
+# AUTHOR : Marcus Schaefer <ms@suse.de>
+# :
+# BELONGS TO : Operating System images
+# :
+# DESCRIPTION : configuration script for SUSE based
+# : operating systems
+# :
+# :
+# STATUS : BETA
+#----------------
+#======================================
+# Functions...
+#--------------------------------------
+test -f /.kconfig && . /.kconfig
+test -f /.profile && . /.profile
+
+# kiwi doesn't copy /.kconfig from source to build dir
+test -f /kconfig && . /kconfig
+
+#======================================
+# Greeting...
+#--------------------------------------
+echo "Configure image: [$name]..."
+
+#======================================
+# SuSEconfig
+#--------------------------------------
+echo "** Running suseConfig..."
+suseConfig
+
+echo "** Running ldconfig..."
+/sbin/ldconfig
+
+#======================================
+# Umount kernel filesystems
+#--------------------------------------
+echo "** Running baseCleanMount..."
+baseCleanMount
+
+#======================================
+# Clean up kconfig
+#--------------------------------------
+echo "** Removing kconfig..."
+rm /kconfig
+
+
+
+#=====================================
+# setting kdm theme to studio
+#-------------------------------------
+echo '** Setting kdm theme...'
+sed -i 's/DISPLAYMANAGER_KDM_THEME=.*/DISPLAYMANAGER_KDM_THEME=studio/g' /etc/sysconfig/displaymanager
+
+#=====================================
+# make the xdm theme a little bit prettier
+#-------------------------------------
+
+if [ -e /etc/X11/Xresources ]
+then
+ echo "xlogin*greeting: Login" >> /etc/X11/Xresources
+ echo "xlogin*namePrompt: Name: " >> /etc/X11/Xresources
+ echo "xlogin*passwdPrompt: Password: " >> /etc/X11/Xresources
+ echo "xlogin*fail: Failed!" >> /etc/X11/Xresources
+ echo "xlogin.Login.greetFont: 9x15bold" >> /etc/X11/Xresources
+ echo "xlogin.Login.promptFont: 6x13bold" >> /etc/X11/Xresources
+ echo "xlogin.Login.font: 6x13" >> /etc/X11/Xresources
+ echo "xlogin.Login.failFont: 6x13" >> /etc/X11/Xresources
+ echo "xlogin*geometry: 300x200" >> /etc/X11/Xresources
+ echo "xlogin*borderWidth: 1" >> /etc/X11/Xresources
+ echo "xlogin*frameWidth: 0" >> /etc/X11/Xresources
+ echo "xlogin*innerFramesWidth: 0" >> /etc/X11/Xresources
+ echo "xlogin*shdColor: black" >> /etc/X11/Xresources
+ echo "xlogin*hiColor: black" >> /etc/X11/Xresources
+ echo "xlogin*greetColor: white" >> /etc/X11/Xresources
+ echo "xlogin*failColor: red" >> /etc/X11/Xresources
+ echo "xlogin*promptColor: grey75" >> /etc/X11/Xresources
+ echo "xlogin*foreground: grey75" >> /etc/X11/Xresources
+ echo "xlogin*background: black" >> /etc/X11/Xresources
+ echo "xlogin*borderColor: grey50 " >> /etc/X11/Xresources
+fi
+
+if [ -e /etc/icewm/preferences ]
+then
+ sed -i 's#DesktopBackgroundImage=.*#DesktopBackgroundImage="/etc/X11/xdm/BackGround.xpm"#' /etc/icewm/preferences
+fi
+if [ -e /etc/X11/xdm/Xsetup ]
+then
+ sed -i 's#^exit 0$#kill `cat /var/run/xconsole.pid`;/sbin/startproc /usr/bin/icewmbg || /usr/bin/xsetroot -solid lightgray;\nexit 0#g' /etc/X11/xdm/Xsetup
+fi
+
+
+#======================================
+# RPM GPG Keys Configuration
+#--------------------------------------
+echo '** Importing GPG Keys...'
+rpm --import /studio/studio_rpm_key_0
+#rm /studio/studio_rpm_key_0
+rpm --import /studio/studio_rpm_key_1
+#rm /studio/studio_rpm_key_1
+rpm --import /studio/studio_rpm_key_2
+#rm /studio/studio_rpm_key_2
+rpm --import /studio/studio_rpm_key_3
+#rm /studio/studio_rpm_key_3
+rpm --import /studio/studio_rpm_key_4
+#rm /studio/studio_rpm_key_4
+rpm --import /studio/studio_rpm_key_5
+#rm /studio/studio_rpm_key_5
+rpm --import /studio/studio_rpm_key_6
+#rm /studio/studio_rpm_key_6
+rpm --import /studio/studio_rpm_key_7
+#rm /studio/studio_rpm_key_7
+rpm --import /studio/studio_rpm_key_8
+#rm /studio/studio_rpm_key_8
+
+sed --in-place -e 's/icewm/icewm-session/' /usr/bin/wmlist
+
+sed --in-place -e 's/# solver.onlyRequires.*/solver.onlyRequires = true/' /etc/zypp/zypp.conf
+
+#======================================
+# Setting up overlay files
+#--------------------------------------
+echo '** Setting up overlay files...'
+echo mkdir -p "/"
+mkdir -p "/"
+echo tar xfp "/image/a8654ae65d1f8cd4df3e6b98d6651a64" -C "/"
+tar xfp "/image/a8654ae65d1f8cd4df3e6b98d6651a64" -C "/"
+echo rm "/image/a8654ae65d1f8cd4df3e6b98d6651a64"
+rm "/image/a8654ae65d1f8cd4df3e6b98d6651a64"
+chown root:root //build-custom
+chmod +x //build-custom
+mkdir /studio
+cp /image/.profile /studio/profile
+cp /image/config.xml /studio/config.xml
+true
\ No newline at end of file
|
|
Added |
root.tar.bz2.bak
^
|
[-]
[+]
|
Added |
stresslinux_64bit.kiwi
^
|
@@ -0,0 +1,331 @@
+<image name='stresslinux_64bit' schemeversion='2.4'>
+ <description type='system'>
+ <author>Carsten Schoene</author>
+ <contact>studio-devel@suse.de</contact>
+ <specification>Tiny, minimalistic appliances</specification>
+ </description>
+ <preferences>
+ <type flags='unified' checkprebuilt='true' boot='isoboot/suse-11.1'>iso</type>
+ <version>0.4.137</version>
+ <packagemanager>zypper</packagemanager>
+ <rpm-check-signatures>False</rpm-check-signatures>
+ <rpm-force>False</rpm-force>
+ <locale>en_GB</locale>
+ </preferences>
+ <users group='root'>
+ <user name='root' shell='/bin/bash' pwd='$1$3UmBExW2$ePZXh7SD1kEMzq0iikxtv1' home='/root'/>
+ <user name='stress' shell='/bin/bash' pwd='$1$ScwTvrRv$/4.lIXK1c/JeObKJbYZdc.' home='/home/stress'/>
+ </users>
+ <split>
+ <temporary>
+ <file name='/var'/>
+ <file name='/var/*'/>
+ <file name='/etc'/>
+ <file name='/etc/*'/>
+ <file name='/tmp'/>
+ <file name='/tmp/*'/>
+ <file name='/home'/>
+ <file name='/home/*'/>
+ </temporary>
+ </split>
+ <packages patternType='onlyRequired' type='image' patternPackageType='plusRecommended'>
+ <package name='ConsoleKit'/>
+ <package name='PolicyKit'/>
+ <package name='aaa_base'/>
+ <package name='adaptec-firmware'/>
+ <package name='atmel-firmware'/>
+ <package name='audit-libs'/>
+ <package name='autoyast2-installation'/>
+ <package name='bandwidth'/>
+ <package name='bash'/>
+ <package name='bc'/>
+ <package name='bonnie++'/>
+ <package name='bootsplash'/>
+ <package name='branding-openSUSE'/>
+ <package name='bundle-lang-common-ar'/>
+ <package name='busybox'/>
+ <package name='bzip2'/>
+ <package name='cairo'/>
+ <package name='coreutils'/>
+ <package name='cpio'/>
+ <package name='cpuburn'/>
+ <package name='cracklib'/>
+ <package name='cracklib-dict-full'/>
+ <package name='cron'/>
+ <package name='cryptsetup'/>
+ <package name='curl'/>
+ <package name='cxgb3-firmware'/>
+ <package name='cyrus-sasl'/>
+ <package name='dbench'/>
+ <package name='dbus-1'/>
+ <package name='dbus-1-glib'/>
+ <package name='ddrescue'/>
+ <package name='dejavu'/>
+ <package name='device-mapper'/>
+ <package name='dhcpcd'/>
+ <package name='dialog'/>
+ <package name='diffutils'/>
+ <package name='dirmngr'/>
+ <package name='dmraid'/>
+ <package name='dosfstools'/>
+ <package name='e2fsprogs'/>
+ <package name='elfutils'/>
+ <package name='ethtool'/>
+ <package name='file'/>
+ <package name='filesystem'/>
+ <package name='fillup'/>
+ <package name='findutils'/>
+ <package name='fontconfig'/>
+ <package name='freetype2'/>
+ <package name='gawk'/>
+ <package name='gdbm'/>
+ <package name='glib2'/>
+ <package name='glib2-branding-openSUSE'/>
+ <package name='glibc'/>
+ <package name='glibc-32bit'/>
+ <package name='glibc-locale'/>
+ <package name='gpg2'/>
+ <package name='grep'/>
+ <package name='grub'/>
+ <package name='gzip'/>
+ <package name='hal'/>
+ <package name='hddtemp'/>
+ <package name='hicolor-icon-theme'/>
+ <package name='hwinfo'/>
+ <package name='ifstatus'/>
+ <package name='info'/>
+ <package name='insserv'/>
+ <package name='iperf'/>
+ <package name='ipmitool'/>
+ <package name='iproute2'/>
+ <package name='iputils'/>
+ <package name='ipw-firmware'/>
+ <package name='jfsutils'/>
+ <package name='k10temp-kmp-default'/>
+ <package name='kbd'/>
+ <package name='kernel-default'/>
+ <package name='kernel-default-base'/>
+ <package name='kernel-default-extra'/>
+ <package name='keyutils-libs'/>
+ <package name='klogd'/>
+ <package name='kpartx'/>
+ <package name='krb5'/>
+ <package name='lcms'/>
+ <package name='libacl'/>
+ <package name='libaio'/>
+ <package name='libasm1'/>
+ <package name='libattr'/>
+ <package name='libblkid1'/>
+ <package name='libblocxx6'/>
+ <package name='libbz2-1'/>
+ <package name='libcom_err2'/>
+ <package name='libcryptsetup0'/>
+ <package name='libcurl4'/>
+ <package name='libdb-4_5'/>
+ <package name='libdw1'/>
+ <package name='libelf1'/>
+ <package name='libexpat1'/>
+ <package name='libext2fs2'/>
+ <package name='libgcc43'/>
+ <package name='libgcrypt11'/>
+ <package name='libglib-2_0-0'/>
+ <package name='libgmodule-2_0-0'/>
+ <package name='libgobject-2_0-0'/>
+ <package name='libgpg-error0'/>
+ <package name='libgssglue1'/>
+ <package name='libgthread-2_0-0'/>
+ <package name='libidn'/>
+ <package name='libjpeg'/>
+ <package name='libksba'/>
+ <package name='liblcms1'/>
+ <package name='libldap-2_4-2'/>
+ <package name='libltdl7'/>
+ <package name='libmng'/>
+ <package name='libncurses5'/>
+ <package name='libncurses5-32bit'/>
+ <package name='libncurses6'/>
+ <package name='libnet'/>
+ <package name='libnscd'/>
+ <package name='liboop'/>
+ <package name='libopenct1'/>
+ <package name='libopensc2'/>
+ <package name='libopenssl0_9_8'/>
+ <package name='libpng12-0'/>
+ <package name='libreadline5'/>
+ <package name='libreiserfs'/>
+ <package name='libselinux1'/>
+ <package name='libsensors4'/>
+ <package name='libsepol1'/>
+ <package name='libsmbios2'/>
+ <package name='libstdc++43'/>
+ <package name='libtiff3'/>
+ <package name='libtirpc1'/>
+ <package name='libusb-0_1-4'/>
+ <package name='libuuid1'/>
+ <package name='libvolume_id1'/>
+ <package name='libxcrypt'/>
+ <package name='libxml2'/>
+ <package name='libzio'/>
+ <package name='libzypp'/>
+ <package name='licenses'/>
+ <package name='limal'/>
+ <package name='limal-perl'/>
+ <package name='login'/>
+ <package name='logrotate'/>
+ <package name='lshw'/>
+ <package name='lukemftp'/>
+ <package name='lvm2'/>
+ <package name='master-boot-code'/>
+ <package name='mdadm'/>
+ <package name='memtest86+'/>
+ <package name='memtester'/>
+ <package name='mingetty'/>
+ <package name='mkinitrd'/>
+ <package name='module-init-tools'/>
+ <package name='mpt-firmware'/>
+ <package name='mtr'/>
+ <package name='multipath-tools'/>
+ <package name='nbench'/>
+ <package name='ncurses-utils'/>
+ <package name='nepim'/>
+ <package name='net-tools'/>
+ <package name='netcfg'/>
+ <package name='netio'/>
+ <package name='netperf'/>
+ <package name='openSUSE-build-key'/>
+ <package name='openldap2-client'/>
+ <package name='opensc'/>
+ <package name='openslp'/>
+ <package name='openssh'/>
|
|
Added |
stresslinux_64bit.x86_64-0.4.137.iso-kiwi_src.tar.gz
^
|