aio-builder/doc/README-builder.txt

47 lines
1.5 KiB
Plaintext
Raw Normal View History

##############################
# 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
yum install plowshare
yum install ImageMagick
yum install git
2012-01-27 10:08:07 +01:00
# Define your local, private, individual, not-project dependent build setup
2012-01-27 10:08:07 +01:00
# in the file ~/.opsi-builder.cfg OR by using the environment variable OPSI_BUILDER
# pointing the the configuration.
2012-01-27 10:08:07 +01:00
# export OPSI_BUILDER=/home/dschwager/work/opsi-builder.cfg
# If no files are availble, the default values will be use
# from <opsi-builder-home>/conf/opsi-builder.cfg
cp <opsi-builder-home>/conf/opsi-builder.cfg $HOME/.opsi-builder.cfg
vi $HOME/.opsi-builder.cfg
# may you will change some locations
# 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 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 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