Update build_packages.md

This commit is contained in:
ma.azimi@laposte.net 2015-05-20 22:15:15 +02:00 committed by YunoHost
parent afb93014dc
commit f4ad2734a3

View file

@ -9,21 +9,19 @@ Build system is based on debuild and pbuilder. It will generate a chroot, embedd
Configuration is defined in the `/etc/pbuilder/megusta-amd64` file and allows to make packages without any specific architecture. Configuration is defined in the `/etc/pbuilder/megusta-amd64` file and allows to make packages without any specific architecture.
<div class="alert alert-info"> <div class="alert alert-info">
**Attention :** Be advised not to be logged in as "root" to execute the following commands (except those starting with `sudo`). **Caution:** be advised not to be logged in as "root" to execute the following commands (except those starting with `sudo`).
</div> </div>
## Package update ## Package update
<br>
#### Packages with external sources #### Packages with external sources
Packages based on Github sources (moulinette, moulinette-yunohost, ssowat, et yunohost-admin) require the latest modifications: Packages based on GitHub sources (moulinette, moulinette-yunohost, ssowat, et yunohost-admin) require the latest modifications:
```bash ```bash
[yunohost@yunohost] ~/packages.git/moulinette $ cd src [yunohost@yunohost] ~/packages.git/moulinette $ cd src
[yunohost@yunohost] ~/packages.git/moulinette/src $ git pull [yunohost@yunohost] ~/packages.git/moulinette/src $ git pull
``` ```
Then, start package build (**attention : you need to be located in the package root folder**): Then, start package build (**caution: you need to be located in the package root folder**):
```bash ```bash
[yunohost@yunohost] ~/packages.git/moulinette/src $ cd .. [yunohost@yunohost] ~/packages.git/moulinette/src $ cd ..