Update doc
This commit is contained in:
parent
8bf1fde598
commit
801d99b947
@ -105,8 +105,8 @@ http://bugs.debian.org/package
|
|||||||
##### Testing a package into unstable env
|
##### Testing a package into unstable env
|
||||||
|
|
||||||
Check you have a mysql server available from another interface than localhost
|
Check you have a mysql server available from another interface than localhost
|
||||||
Uncomment line if required and restart mysql
|
Comment line in /etc/mysql/my.cnf if required and restart mysql
|
||||||
bind-address = 127.0.0.1
|
#bind-address = 127.0.0.1
|
||||||
|
|
||||||
Create a chroot called "unstable-amd64-sbuild"
|
Create a chroot called "unstable-amd64-sbuild"
|
||||||
> sudo sbuild-createchroot --keyring= unstable /srv/chroot/unstable http://ftp.uk.debian.org/debian
|
> sudo sbuild-createchroot --keyring= unstable /srv/chroot/unstable http://ftp.uk.debian.org/debian
|
||||||
@ -120,14 +120,16 @@ Puis pour se connecter et préparer l'environnement
|
|||||||
> apt-get install links mysql-client
|
> apt-get install links mysql-client
|
||||||
|
|
||||||
Pour tester un package
|
Pour tester un package
|
||||||
|
> On host server, stop any server on port 80 and 3306 (same port will be used by chroot env)
|
||||||
> cp ../build-area/* /srv/chroot/unstable/tmp
|
> cp ../build-area/* /srv/chroot/unstable/tmp
|
||||||
> sudo schroot -c name_of_chroot
|
> sudo schroot -c name_of_chroot
|
||||||
> cd /tmp
|
> cd /tmp
|
||||||
> lintian --pedantic -E -I dolibarr*.deb
|
> lintian --pedantic -E -I dolibarr*.deb
|
||||||
> lintian --pedantic -E -I dolibarr*.dsc
|
> lintian --pedantic -E -I dolibarr*.dsc
|
||||||
> dpkg -i dolibarr*.deb
|
> dpkg -i dolibarr*.deb ou pour avoir des traces: dpkg -D77777 -i dolibarr*.deb
|
||||||
> apt-get install -f
|
> apt-get install -f
|
||||||
|
|
||||||
|
Puis http://localhost/dolibarr/ (cela peut etre appeler depuis le hote).
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -229,7 +231,9 @@ from origin/upstream and origin/pristine.
|
|||||||
|
|
||||||
* Staying into git root directory, run
|
* Staying into git root directory, run
|
||||||
> git-import-orig -vv ../dolibarr-3.3.4.tgz
|
> git-import-orig -vv ../dolibarr-3.3.4.tgz
|
||||||
and enter version when requested.
|
and enter version when requested with format
|
||||||
|
x.y.z-w
|
||||||
|
(x.y.z = version, w start from 1 and increaed for each new import)
|
||||||
|
|
||||||
Note: If there was errors solved manually after get-orig-sources.sh, you may need to make a git commit
|
Note: If there was errors solved manually after get-orig-sources.sh, you may need to make a git commit
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user