Log In
Log In
Places
All Projects
Status Monitor
Collapse sidebar
obs:server:fedora:2.8
obs-server
obs-server-2.8-0005-backend-Make-OBS_BACKEND_DA...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File obs-server-2.8-0005-backend-Make-OBS_BACKEND_DATA_DIR-variable-configura.patch of Package obs-server
From c6e9e17760b7f8c1504c555df20b53115792069a Mon Sep 17 00:00:00 2001 From: Oleg Girko <ol@infoserver.lv> Date: Tue, 28 Jun 2016 01:17:35 +0100 Subject: [PATCH] [backend] Make OBS_BACKEND_DATA_DIR variable configuration parameter. Moving this variable to Makefile.local allows it to be a configuration variable. This allows to create backend data directories somewhere else than "/srv/obs". Signed-off-by: Oleg Girko <ol@infoserver.lv> --- Makefile.include | 1 + src/backend/Makefile | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.include b/Makefile.include index 322edc7..a427824 100644 --- a/Makefile.include +++ b/Makefile.include @@ -1,5 +1,6 @@ INSTALL=/usr/bin/install OBS_BACKEND_PREFIX=/usr/lib/obs/server +OBS_BACKEND_DATA_DIR=/srv/obs OBS_DOCUMENT_ROOT=/srv/www/obs OBS_API_PREFIX=$(OBS_DOCUMENT_ROOT)/api OBS_APIDOCS_PREFIX=$(OBS_DOCUMENT_ROOT)/docs diff --git a/src/backend/Makefile b/src/backend/Makefile index f55a5b8..1ed555b 100644 --- a/src/backend/Makefile +++ b/src/backend/Makefile @@ -1,7 +1,6 @@ include ../../Makefile.include OBS_BACKEND_DATA_SUBDIRS := build events info jobs log projects repos run sources trees workers -OBS_BACKEND_DATA_DIR := /srv/obs prepare_dirs: $(INSTALL) -d -m 755 $(DESTDIR)$(OBS_BACKEND_PREFIX) -- 2.9.4
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