Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (2)
Extend documentation
· efb6302d
Steven Chamberlain
authored
Mar 04, 2019
efb6302d
Suggest Squid proxy
· 5af4f8c9
Steven Chamberlain
authored
Mar 04, 2019
5af4f8c9
Show whitespace changes
Inline
Side-by-side
README.md
View file @
5af4f8c9
...
...
@@ -2,16 +2,38 @@
## How to use
Install dependencies: libdpkg-perl libwww-mechanize-perl sbuild
Usage:
Create a non-privileged user in the sbuild group (e.g. "buildd")
repro-build.pl <buildinfo>
Install repro-build.pl and sbuild.sh into that user's home directory
(e.g. "/home/buildd")
## Prerequisites
Usage
:
Install dependencies
:
repro-build.pl <buildinfo>
apt install debootstrap sbuild schroot \
libdpkg-perl libwww-mechanize-perl
Create a non-privileged user in the sbuild group (e.g. "buildd"):
adduser --disabled-password --gecos ',,,' buildd
adduser buildd sbuild
Copy or link repro-build.pl and sbuild.sh into that user's home
directory (e.g. "/home/buildd").
If you don't already have one, create and configure a chroot for
schroot:
sbuild-createchroot unstable /srv/chroot/unstable
### Optional
Installing a local Squid proxy avoids repeated queries to
snapshots.debian.org and thus increases overall speed:
apt-get install squid3
service squid start
export http\_proxy=http://localhost:3128
## Known issues
...
...