Page MenuHomePhabricator
Paste P360

Zuul packaging work
ActivePublic

Authored by hashar on Mar 5 2015, 10:15 AM.
Tags
None
Referenced Files
F55824: Zuul_packaging_work
Mar 5 2015, 12:03 PM
F55820: Zuul_packaging_work
Mar 5 2015, 11:59 AM
F55817: Zuul_packaging_work
Mar 5 2015, 11:55 AM
F55728: Zuul_packaging_work
Mar 5 2015, 10:19 AM
F55724: Zuul_packaging_work
Mar 5 2015, 10:17 AM
F55721: cowbuilder_for_Precise_on_a_Debian_host
Mar 5 2015, 10:15 AM
Subscribers
None
# cowbuilder for Precise on a Debian host
set -xe
cowbuilder --create --debug \
--basepath /packaging/base-precise.cow \
--distribution precise \
--mirror http://ubuntu.univ-nantes.fr/ubuntu/ \
--components 'main universe' \
--debootstrapopts --variant=buildd \
--debootstrapopts --keyring=/usr/share/keyrings/ubuntu-archive-keyring.gpg \
--debootstrapopts --verbose
# Build using integration/zuul.git our debian and upstream branches
env COWBUILDER_BASE=/packaging git-buildpackage \
-nc \
--git-dist=precise \
--git-debian-branch=upstream \
--git-pbuilder \
--git-upstream-tree=branch \
--git-upstream-branch=upstream \
--git-ignore-new
-----
# With some local dependencies:
cd /packaging/deps/precise
# grap dh-virtualenv package files
apt-ftparchive packages . > Packages
The cow image is hacked with:
# cat /etc/apt/sources.list.d/local-precise-deps.list
deb [trusted=yes] file:///packaging/deps/precise ./
# apt-get update
# apt-cache policy dh-virtualenv
dh-virtualenv:
Installed: (none)
Candidate: 0.7-2
Version table:
0.7-2 0
500 file:/packaging/deps/precise/ ./ Packages
#
Build mounting /packaging/deps/precise:
env COWBUILDER_BASE=/packaging git-buildpackage \
-nc \
--git-dist=precise-wikimedia \
--git-debian-branch=debian-precise-venv \
--git-pbuilder \
--git-upstream-tree=branch \
--git-upstream-branch=upstream \
--git-ignore-new \
--git-pbuilder-options="--bindmounts /packaging/deps/precise"
Fails to install though the dependency though: https://phabricator.wikimedia.org/P361

Event Timeline

hashar changed the title of this paste from untitled to cowbuilder for Precise on a Debian host.
hashar updated the paste's language from autodetect to autodetect.
hashar edited the content of this paste. (Show Details)
hashar changed the title of this paste from cowbuilder for Precise on a Debian host to Zuul packaging work.
hashar updated the paste's language from autodetect to bash.Mar 5 2015, 10:17 AM
This comment was removed by hashar.