Log In
Log In
Places
All Projects
Status Monitor
Collapse sidebar
obs:server:fedora:2.7
build
_service:gitpkg:0006-initial-support-for-chroot...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:gitpkg:0006-initial-support-for-chroot-only.patch of Package build
From 534563cbeeb29bfc340309430693038992985228 Mon Sep 17 00:00:00 2001 From: David Greaves <david@dgreaves.com> Date: Wed, 6 Jun 2012 17:43:27 +0100 Subject: [PATCH] initial support for --chroot-only --- build | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/build b/build index 5cdf17b..5704aed 100755 --- a/build +++ b/build @@ -61,6 +61,7 @@ ABUILD_GID=399 DO_INIT=true DO_INIT_TOPDIR=true +DO_BUILD=true DO_LINT= DO_CHECKS=true CLEAN_BUILD= @@ -150,6 +151,10 @@ Known Parameters: --no-init Skip initialization of build root and start with build immediately. + --chroot-only + Exit once the chroot has been setup and before the build + starts. Useful for making development root filesystems. + --no-checks Do not run checks (postbuild and %check) --lint Run rpmlint after build. @@ -351,7 +356,7 @@ EOT } usage () { - echo "Usage: `basename $0` [--no-init|--clean|--rpms path|--verify|--help] [dir-to-build|recipe-to-build]" + echo "Usage: `basename $0` [--no-init|--chroot-only|--clean|--rpms path|--verify|--help] [dir-to-build|recipe-to-build]" cleanup_and_exit 1 } @@ -730,6 +735,9 @@ while test -n "$1"; do test "$DO_INIT" = false && DO_INIT_TOPDIR=false DO_INIT=false ;; + -chroot-only) + DO_BUILD=false + ;; -nochecks|-no-checks) DO_CHECKS=false ;; @@ -1391,6 +1399,10 @@ for RECIPEFILE in "${RECIPEFILES[@]}" ; do run_rsync fi + if test "$DO_BUILD" = false ; then + continue + fi + start_time=`date +%s` recipe_build if test "$DO_STATISTICS" = 1; then -- 2.5.5
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Contact
Support
@OBShq
The Open Build Service is an
openSUSE project
.
Log In
Places
Places
All Projects
Status Monitor