Project

General

Profile

Actions

Bug #2047

closed

Cannot use make as-is

Added by Nicolas PERRON over 12 years ago. Updated over 12 years ago.

Status:
Released
Priority:
2
Assignee:
Nicolas PERRON
Category:
Documentation
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

Jean Remond wrote:

Hi,

the "make" command is not functional as-is :

cd /tmp/tmp.xBmP131DPC && git clone --depth 1 https://github.com/Normation/rudder-policy-templates.git
Cloning into rudder-policy-templates...
remote: Counting objects: 4394, done.
remote: Compressing objects: 100% (2783/2783), done.
remote: Total 4394 (delta 1252), reused 4331 (delta 1197)
Receiving objects: 100% (4394/4394), 34.89 MiB | 1.71 MiB/s, done.
Resolving deltas: 100% (1252/1252), done.
cd /tmp/tmp.xBmP131DPC/rudder-policy-templates && git checkout <put branch or tag name here> || rm -rf /tmp/tmp.xBmP131DPC/rudder-policy-templates
/bin/sh: Syntax error: "||" unexpected
make: *** [initial-promises] Erreur 2

It seems that the GIT_BRANCH_RUDDER is not correctly defined.
./rudder-agent/SOURCES/Makefile:GIT_BRANCH_RUDDER = <put branch or tag name here>

Actions #1

Updated by Nicolas PERRON over 12 years ago

Hi Jean,

as you noticed, your problem is due to the GIT_BRANCH_RUDDER. It is not configured by default and you have to replace "<put branch or tag name here>".

We have 2 branches actually:

branches/rudder/2.3 which contains stables version of Rudder
origin/master which contains alpha version of Rudder

This is our fault, we have omitted to describe it in the README.asciidoc of rudder-packages repository.

Actions #2

Updated by Nicolas PERRON over 12 years ago

  • Status changed from New to Pending technical review
  • % Done changed from 0 to 100

Applied in changeset commit:773a33f8da3f1f1d0174578a812f85d3299e5760.

Actions #3

Updated by Jonathan CLARKE over 12 years ago

  • Status changed from Pending technical review to Released
Actions

Also available in: Atom PDF