Search
j0ke.net Open Build Service
>
Projects
>
stresslinux
>
stresslinux-image-vmware
> config.sh
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File config.sh of Package stresslinux-image-vmware (Revision 5)
Currently displaying revision
5
,
show latest
#!/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 #====================================== # Greeting... #-------------------------------------- echo "Configure image: [$name]..." #====================================== # SuSEconfig #-------------------------------------- echo "** Running suseConfig..." suseConfig echo "** Running ldconfig..." /sbin/ldconfig sed --in-place -e 's/icewm/icewm-session/' /usr/bin/wmlist #====================================== # 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 rpm --import /studio/studio_rpm_key_9 rm /studio/studio_rpm_key_9 sed --in-place -e 's/# solver.onlyRequires.*/solver.onlyRequires = true/' /etc/zypp/zypp.conf # Enable sshd chkconfig sshd on #====================================== # Setting up overlay files #-------------------------------------- echo '** Setting up overlay files...' echo mkdir -p / mkdir -p / echo tar xfp /image/ec13f28d6e544f0ca851a31c51e176aa -C / tar xfp /image/ec13f28d6e544f0ca851a31c51e176aa -C / echo rm /image/ec13f28d6e544f0ca851a31c51e176aa rm /image/ec13f28d6e544f0ca851a31c51e176aa chown root:root /build-custom chmod +x /build-custom # run custom build_script after build /build-custom test -d /studio || mkdir /studio cp /image/.profile /studio/profile cp /image/config.xml /studio/config.xml rm -rf /studio/overlay-tmp true