Created
March 16, 2016 09:06
-
-
Save frbayart/82563caa53e53bcd1da3 to your computer and use it in GitHub Desktop.
Build Rudder Client on Raspberry Pi
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apt-get update | |
apt-get install build-essential dh-autoreconf devscripts lintian diffutils patch patchutils git-core libssl-dev bison flex libtool libpcre3-dev libpam0g-dev | |
apt-get install fusioninventory-agent | |
git clone https://github.com/Normation/rudder-packages.git && cd rudder-packages && git checkout branches/rudder/3.0 | |
git clone https://github.com/Normation/rudder-packages.git | |
Cloning into 'rudder-packages'... | |
remote: Counting objects: 11225, done. | |
remote: Compressing objects: 100% (16/16), done. | |
remote: Total 11225 (delta 6), reused 0 (delta 0), pack-reused 11208 | |
Receiving objects: 100% (11225/11225), 4.29 MiB | 270 KiB/s, done. | |
Resolving deltas: 100% (6360/6360), done. | |
frbayart@builder-rpi:~/sandbox-frbayart$ cd rudder-packages | |
frbayart@builder-rpi:~/sandbox-frbayart/rudder-packages$ git tag -l | |
2.10.0 | |
... | |
3.1.0 | |
3.1.0-1 | |
3.1.0.beta1 | |
3.1.0.beta1-1 | |
3.1.0.beta1-2 | |
3.1.0.rc1 | |
3.1.0.rc1-1 | |
frbayart@builder-rpi:~/sandbox-frbayart/rudder-packages$ git checkout tags/3.1.4 -b 3.1.4 | |
Switched to a new branch '3.1.0' | |
frbayart@builder-rpi:~/sandbox-frbayart/rudder-packages$ git branch | |
* 3.1.0 | |
master | |
frbayart@builder-rpi:~/sandbox-frbayart/rudder-packages$ cd rudder-agent/SOURCES/ | |
sudo make .PHONY | |
frbayart@builder-rpi:~/sandbox-frbayart/rudder-packages/rudder-agent/SOURCES$ sudo make RUDDER_VERSION_TO_PACKAGE=3.1.1 | |
export EDITOR=vim | |
cd .. | |
dch | |
rudder-agent (3.1.0+nmu1) UNRELEASED; urgency=low | |
[ Francois Bayart MadInventors ] | |
* Non-maintainer upload. | |
* fix rudder.init and rudder-agent.init to start after $all | |
-- Francois Bayart <[email protected]> Tue, 28 Jul 2015 10:35:18 +0200 | |
rudder-agent (3.1.0) wheezy; urgency=low | |
* Non-maintainer upload. | |
* Release for Raspberry PI v1 and v2 | |
* dmidecode removed from dependency | |
* Release 3.1.0 | |
-- Francois Bayart <[email protected]> Mon, 27 Jul 2015 10:14:39 +0200 | |
vi debian/control | |
remove dmidecode depends | |
sudo dpkg-buildpackage -us -uc | |
... take a long time ~3h ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment