diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2024-02-24 14:20:19 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2024-02-24 14:20:19 -0300 |
commit | 91275ac998c439420da747fc047379a6547f7c1c (patch) | |
tree | cb460090697db1d90caa5dbaf53292f5a9297ebb /env.md | |
parent | 9857a3c262e9af2ea02698820be1e887cd3bf36c (diff) | |
download | debian-91275ac998c439420da747fc047379a6547f7c1c.tar.gz debian-91275ac998c439420da747fc047379a6547f7c1c.tar.bz2 |
Feat: convert docs from Ikiwiki to MkDocs
Diffstat (limited to 'env.md')
-rw-r--r-- | env.md | 57 |
1 files changed, 0 insertions, 57 deletions
@@ -1,57 +0,0 @@ -[[!meta title="Environment"]] - -Build environment creation --------------------------- - -The following steps needs to be run just once for each arch and distro version. - -### Setup cowbuilder chroots - -This is the recommended method: - - sudo mkdir -p /var/cache/pbuilder/sid-amd64 - sudo -E cowbuilder --create - - sudo mkdir -p /var/cache/pbuilder/stretch-amd64 - sudo -E DIST=stretch cowbuilder --create - -### Setup pbuilder chroots - -If you want to setup directly using `pbuilder`: - - git-pbuilder create - DIST=jessie git-pbuilder - -### Compatibility with git-buildpackage - -This is a workaround while we don't find a cleaner way to fix -[this issue](http://ramblingfoo.blogspot.com.br/2012/10/howto-sudo-cowbuilder-git-buildpackage.html) -with `git-buildpackage` not getting `~/.pbuilderrc` from the local user: - - ( cd /var/cache/pbuilder/ && sudo ln -s sid-amd64/base.cow ) - -External repo integration -------------------------- - -If your package storage lives elsewhere, make a symlink like this: - - ( - cd /var/cache/pbuilder/jessie-amd64 && \ - sudo rm -rf result && \ - sudo ln -s /var/data/distros/debian/packages/build-area/jessie-amd64 result - ) - -Environment maintenance ------------------------ - -These steps should be run once in a while to ensure we have an up to date packaging environment. - -### Pbuilder - - DIST=sid git-pbuilder update - DIST=jessie git-pbuilder update --override-config - -### Cowbuilder - - DIST=sid sudo -E cowbuilder --update - DIST=jessie sudo -E cowbuilder --update --override-config |