Fix /release in clean system

This commit is contained in:
proller 2018-08-07 04:46:52 +03:00
parent 1d7e4a439c
commit ef5f4b1e32
2 changed files with 4 additions and 3 deletions

View File

@ -4,7 +4,7 @@
```bash
sudo apt-get update
sudo apt-get install git pbuilder debhelper fakeroot
sudo apt-get install git pbuilder debhelper fakeroot sudo
```
## Checkout ClickHouse sources

View File

@ -105,12 +105,13 @@ if [ -z "$USE_PBUILDER" ] ; then
else
export DIST=${DIST:=bionic}
export SET_BUILDRESULT=${SET_BUILDRESULT:=$CURDIR/..}
. $CURDIR/debian/.pbuilderrc
if [[ -z `which pbuilder` ]] ; then
sudo apt install -y pbuilder fakeroot debhelper debian-archive-keyring debian-keyring
sudo apt install -y pbuilder fakeroot debhelper debian-archive-keyring debian-keyring lsb-release
fi
. $CURDIR/debian/.pbuilderrc
if [[ ! -e "/usr/share/debootstrap/scripts/${DIST}" ]] ; then
sudo ln -s gutsy /usr/share/debootstrap/scripts/${DIST}
fi