Project

General

Profile

Actions

Bug #5848

closed

User story #5690: Add a command line interface for Rudder agent

Fix rudder CLI installation in RPM package

Added by Jonathan CLARKE almost 10 years ago. Updated over 9 years ago.

Status:
Released
Priority:
2
Assignee:
Matthieu CERDA
Category:
Agent
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

From a RPM build on 3.0 branch:

02:11:35 RPM build errors:
02:11:35 + install -m 755 /usr/src/rudder-packages/package/SOURCES/rudder-perl/bin/rudder /var/tmp/rudder-agent-3.0.0.alpha1.git201411270158-1.EL.5-root-root/opt/rudder/bin/rudder
02:11:35 install: cannot stat `/usr/src/rudder-packages/package/SOURCES/rudder-perl/bin/rudder': Not a directory
02:11:35 error: Bad exit status from /var/tmp/rpm-tmp.18048 (%install)
02:11:35     Bad exit status from /var/tmp/rpm-tmp.18048 (%install)
02:11:36 make: *** [buildpackage-rpm-build-rpmbuild] Error 1

This comes from an error in the .spec file:

Source11: rudder-perl
Source12: rudder-agent-utilities
...
# Rudder agent utilities
%{install_command} -m 755 %{SOURCE11}/bin/rudder %{buildroot}%{rudderdir}/bin/rudder

This is using the wrong source - should be SOURCE12, not SOURCE11.

Actions #1

Updated by Jonathan CLARKE almost 10 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Jonathan CLARKE to Matthieu CERDA
  • Pull Request set to https://github.com/Normation/rudder-packages/pull/537
Actions #2

Updated by Jonathan CLARKE almost 10 years ago

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

Applied in changeset rudder-packages|commit:acd56157357ba437babfc6420a6674f46897d1a3.

Actions #3

Updated by Matthieu CERDA almost 10 years ago

Applied in changeset rudder-packages|commit:3164df95e05316560aa53ccaae96117f6a47b643.

Actions #4

Updated by Vincent MEMBRÉ almost 10 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 3.0.0~beta1 which was release on 01/12/2014.

Actions #5

Updated by Benoît PECCATTE over 9 years ago

  • Category set to Agent
Actions

Also available in: Atom PDF