Changeset 6784
- Timestamp:
- 03/19/10 16:23:56 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Release01x00/core/tools/pkg/autohost-deb.sh
r5370 r6784 22 22 REPOSITORYHOST=debmarshal.debian.net 23 23 INCOMING=/var/lib/debmarshal/foswiki/incoming 24 TIMEOUT='timeout 600' 24 LOGS=/var/lib/debmarshal/foswiki/logs 25 TIMEOUT="timeout 600" 25 26 26 27 cd ${HOME} … … 48 49 fi 49 50 51 LOGFILE="${LOGS}/${release}-build-${BRANCH}.log" 52 exec >${LOGFILE} 2>&1 53 54 ln -sf ${release}-build-${BRANCH}.log ${LOGS}/building-${BRANCH}.log 55 50 56 # Always build a full source release, since the Debian packaging is in the 51 57 # same branch where source changes occur … … 66 72 67 73 # 68 # Make sbuild suid root and installs packages needed by the build, and whatever74 # Makes build suid root and installs packages needed by the build, and whatever 69 75 # else becomes required to build 70 76 # … … 72 78 73 79 # 74 # The actual build runs unprivileged, and returns the filenames of the packages 75 # that were built. The build should sign the packages, so the build user 76 # should have a gpg key without a password. 80 # The actual build runs unprivileged, and returns a status indicating whether the 81 # build was successful. A symlink tracks the log of the last successful build. 77 82 # 78 ssh ${BUILDHOST} ${remotehome}/${BRANCH}/core/tools/pkg/autobuild-deb.sh ~/${BRANCH} $DEST_DIR $release $rebuild_flags 83 if ssh ${BUILDHOST} ${remotehome}/${BRANCH}/core/tools/pkg/autobuild-deb.sh ~/${BRANCH} $DEST_DIR $release $rebuild_flags 84 then 85 ln -sf ${release}-build-${BRANCH}.log ${LOGS}/built-${BRANCH}.log 86 fi 87 79 88 80 89 #
Note: See TracChangeset
for help on using the changeset viewer.
