Log In
Log In
Places
All Projects
Status Monitor
Collapse sidebar
obs:server:fedora:2.9
build
_service:gitpkg:0012-Move-the-rsync-overlay-act...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:gitpkg:0012-Move-the-rsync-overlay-actions-prior-to-any-2nd-stag.patch of Package build
From 5119ba0f782bf948efdb858b46bf6ebd7ba15dc1 Mon Sep 17 00:00:00 2001 From: David Greaves <david@dgreaves.com> Date: Mon, 3 Sep 2012 11:44:29 +0100 Subject: [PATCH] Move the rsync/overlay actions prior to any 2nd stage (they are useful for sb2 and probably lxc) Signed-off-by: David Greaves <david@dgreaves.com> --- build | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/build b/build index c3731c5..c80afcd 100644 --- a/build +++ b/build @@ -1334,6 +1334,15 @@ for RECIPEFILE in "${RECIPEFILES[@]}" ; do recipe_create_changelog "$MYSRCDIR/$RECIPEFILE" fi + # Do the overlay and rsync before entering any lxc or chroot + if test -n "$OVERLAY" ; then + copy_overlay + fi + + if test -n "$RSYNCSRC" ; then + run_rsync + fi + if test -n "$VM_TYPE" -a -z "$RUNNING_IN_VM" ; then vm_first_stage cleanup_and_exit @@ -1545,14 +1554,6 @@ for RECIPEFILE in "${RECIPEFILES[@]}" ; do echo ----------------------------------------------------------------- BUILD_SUCCEEDED=false - if test -n "$OVERLAY" ; then - copy_overlay - fi - - if test -n "$RSYNCSRC" ; then - run_rsync - fi - if test "$DO_BUILD" = false ; then echo "Not doing build as requested" continue -- 2.26.2
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