mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-07 11:50:21 +00:00
23 lines
555 B
Bash
23 lines
555 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
# Avoid the /nonexistent home directory in nobody's /etc/passwd entry.
|
||
|
usermod --home /tmp/nobody nobody
|
||
|
|
||
|
# Grant read access to nobody, the user which will eventually try to test this
|
||
|
# checkout.
|
||
|
mv /root/project /tmp/project
|
||
|
|
||
|
# Python build/install toolchain wants to write to the source checkout, too.
|
||
|
chown --recursive nobody:nogroup /tmp/project
|
||
|
|
||
|
apt-get --quiet --yes install \
|
||
|
sudo \
|
||
|
build-essential \
|
||
|
python2.7 \
|
||
|
python2.7-dev \
|
||
|
libffi-dev \
|
||
|
libssl-dev \
|
||
|
libyaml-dev \
|
||
|
virtualenv \
|
||
|
${EXTRA_PACKAGES}
|