[Pkg-debile-commits] [debile-slave] 02/02: Update documentation
Léo Cavaillé
leo.cavaille-guest at alioth.debian.org
Sun Aug 25 19:05:27 UTC 2013
This is an automated email from the git hooks/post-receive script.
leo.cavaille-guest pushed a commit to branch master
in repository debile-slave.
commit c7b94b1e8e6fc052632edd14b017bf5c94fe2ffa
Author: Léo Cavaillé <leo at cavaille.net>
Date: Sun Aug 25 21:05:16 2013 +0200
Update documentation
---
PACKAGING | 72 ++++++++++++++++++++++++++++---------------------------------
1 file changed, 33 insertions(+), 39 deletions(-)
diff --git a/PACKAGING b/PACKAGING
index 0876298..a8b5935 100644
--- a/PACKAGING
+++ b/PACKAGING
@@ -1,4 +1,4 @@
-What is required to install ethel.
+What is required to install debile-slave.
So that may become some hints to create the package.
This not an "INSTALL" file as I hope we'll never have to install the system
like this...
@@ -9,22 +9,22 @@ System : fresh wheezy, up to date on 04 Jul 2013
(root)
* Create a dedicated user in the machine
- adduser --disabled-password --disabled-login --gecos "Ethel builder,,," --home /srv/ethel ethel
+ adduser --disabled-password --disabled-login --gecos "debile-slave builder,,," --home /srv/debile-slave debile-slave
(root)
* Install the dependencies
apt-get update && apt-get install --no-install-recommends git ca-certificates virtualenvwrapper debootstrap dput devscripts lintian
-(ethel)
-* Fetch the repo of ethel
- cd ~ && git clone https://github.com/LeoCavaille/ethel.git -b scan-build-html
+(debile-slave)
+* Fetch the repo of debile-slave
+ cd ~ && git clone git://git.debian.org/git/pkg-debile/debile-slave.git
-(ethel)
+(debile-slave)
* Reconnect as ethel for virtualenvwrapper hooks
- mkvirtualenv ethel && workon ethel
+ mkvirtualenv debile-slave && workon debile-slave
-(ethel) virtualenv=ethel
-* Install ethel dependancies
+(debile-slave) virtualenv=debile-slave
+* Install debile-slave dependancies
pip install configparser
pip install firehose
pip install python-debian
@@ -32,16 +32,16 @@ System : fresh wheezy, up to date on 04 Jul 2013
pip install schroot
pip install six
-(ethel) virtualenv=ethel
-* Install ethel
+(debile-slave) virtualenv=debile-slave
+* Install debile-slave
python setup.py develop
(root)
* Install the config file
- cp ~ethel/ethel/skel/ethel.ini /etc/ethel.ini
- chown ethel:ethel /etc/ethel.ini
+ cp ~debile-slave/debile-slave/skel/debile-slave.ini /etc/debile-slave.ini
+ chown debile-slave:debile-slave /etc/debile-slave.ini
-(ethel)
+(debile-slave)
* Generate a new auto GPG key
gpg --gen-key (without passphrase)
@@ -52,25 +52,14 @@ System : fresh wheezy, up to date on 04 Jul 2013
> machine
> create <nodename> <passwordsameinconfig> <gpgkeyidfreshlycreated>
-This adds an entry in lucy database and copy the gpg key in lucy keyring
+This adds an entry in lucy database and copy the gpg key in debile master keyring
-(ethel)
-* In the ~/dput.cf I set up debian-manager target
-
-SAMPLE ~/.dput.cf :
-###############################################################
-[debian-manager]
-fqdn=debian-manager.via.ecp.fr
-login=lucy
-incoming=/srv/local-mirror/incoming
-method=scp
-###############################################################
-
-(ethel)
+(debile-slave)
* For dput-ing and scp-ing we use SSH so setup auto SSH key
between my builder and the manager
ssh-keygen -t ecdsa -b 521 -N ''
-* Copy the pubkey to lucy at debian-manager (e.g.) in .ssh/authorized_keys
+* Copy the pubkey to debile at debile-master (e.g.) in .ssh/authorized_keys
+
* Connect to accept server host key
@@ -79,9 +68,14 @@ between my builder and the manager
wget http://leo.cavaille.net/public/gsoc/libsbuild-perl_0.64.0-1_all_moddebuildme.deb http://leo.cavaille.net/public/gsoc/sbuild_0.64.0-1_all_moddebuildme.deb
dpkg -i libsbuild-perl_0.64.0-1_all_moddebuildme.deb sbuild_0.64.0-1_all_moddebuildme.deb
# apt-get install sbuild
- mkdir -p /var/lib/ethel/chroots
- adduser ethel sudo
- /srv/ethel/ethel/bin/create-schroot-file unstable
+ apt-get install sudo
+ mkdir -p /var/lib/debile/chroots
+ chown -R debile-slave. /var/lib/debile/chroots
+ adduser debile-slave sudo
+in /etc/sudoers
+ %sudo ALL=(ALL) NOPASSWD: ALL
+(debile-slave)
+ /srv/debile-slave/debile-slave/bin/create-schroot-file unstable
* Then we copy the configuration in /etc/schroot/chroot.d/unstable-amd64
Yes, the name matters.
@@ -90,7 +84,7 @@ SAMPLE /etc/schroot/chroot.d/unstable-amd64 :
[unstable-amd64]
type=file
description=Ethel Chroot
-file=/var/lib/ethel/chroots/unstable.tar.gz
+file=/var/lib/debile/chroots/unstable.tar.gz
groups=root,sbuild
root-groups=root,sbuild
source-groups=root,sbuild
@@ -98,8 +92,8 @@ source-root-groups=root,sbuild
###############################################################
(root)
-* Add your ethel user to the sbuild group
- usermod -a -G sbuild ethel
+* Add your debile-slave user to the sbuild group
+ usermod -a -G sbuild debile-slave
* Reconnect that the modification is taken into account
* Generate a key for sbuild local archive
@@ -120,12 +114,12 @@ source-root-groups=root,sbuild
make
make install
-(ethel)
+(debile-slave)
* get the semantic patches
- cd /home/ethel/ethel
+ cd ~debile-slave/debile-slave
bin/update-coccinelle-semantic-patches coccinelle_sp
-* put in config.ini the path of coccinelle_sp
- coccinelle_patches_folder=/path/to/coccinelle_sp/CONTRIB/firehose
+* put in config.ini the path of coccinelle_sp in [coccinelle] section
+coccinelle_patches_folder=/srv/debile-slave/debile-slave/coccinelle_sp/CONTRIB/firehose
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-debile/debile-slave.git
More information about the Pkg-debile-commits
mailing list