2012-01-27 01:04:47 +01:00
|
|
|
##############################
|
|
|
|
# Prerequirements:
|
|
|
|
# - Setup your environment variable inside the shell, e.g. ~/.bashrc
|
|
|
|
# export BUILD_LOCAL_CFG=/home/dschwager/work/build_local.cfg
|
|
|
|
# check the sample build_local.cfg located inside the itwatch project
|
|
|
|
##############################
|
|
|
|
|
2012-01-27 10:08:07 +01:00
|
|
|
# requirements for RHEL/Centos
|
2012-01-27 01:04:47 +01:00
|
|
|
yum install plowshare
|
|
|
|
yum install ImageMagick
|
|
|
|
yum install git
|
|
|
|
|
2012-01-27 10:08:07 +01:00
|
|
|
|
2012-04-23 11:12:41 +02:00
|
|
|
# Please check the conf/opsi-builder.conf for detailed information
|
2012-01-27 10:08:07 +01:00
|
|
|
|
|
|
|
# May you will add opsi-builder.sh to your PATH
|
|
|
|
export PATH=$HOME/work/devtools/bin:$PATH
|
|
|
|
|
2012-01-27 10:56:37 +01:00
|
|
|
# You will find additional information inside the sample configuration
|
|
|
|
# Please read the file carefully
|
|
|
|
<opsi-builder-home>/sample/*
|
|
|
|
|
2012-01-27 10:08:07 +01:00
|
|
|
# Start building
|
|
|
|
opsi-builder.sh <path-to-the-project>
|
|
|
|
|
|
|
|
cd <path-to-the-project> ; opsi-builder.sh
|
2012-01-27 01:04:47 +01:00
|
|
|
|
2012-01-27 10:08:07 +01:00
|
|
|
You can overwrite all variables in opsi-builder.cfg by command, e.g. by
|
|
|
|
# Force downloading vendor files
|
|
|
|
DIST_FORCE_DOWNLOAD=1 builder.sh /home/dschwager/work/itwatch
|
2012-01-27 01:04:47 +01:00
|
|
|
|
2012-01-27 10:08:07 +01:00
|
|
|
# Force upload independent of existing OPSI-Package in repository
|
|
|
|
OPSI_REPOS_FORCE_UPLOAD=1 builder.sh /home/dschwager/work/itwatch
|
2012-01-27 01:04:47 +01:00
|
|
|
|
|
|
|
|
|
|
|
|