a hack for pythonpath issue in debian stable
This commit is contained in:
@@ -21,8 +21,8 @@ spec:
|
||||
#!/usr/bin/env bash
|
||||
echo 'deb-src http://apt-cache.lan/deb.debian.org/debian testing main' > /etc/apt/sources.list.d/src-testing.list
|
||||
echo 'deb http://apt-cache.lan/deb.debian.org/debian testing main' > /etc/apt/sources.list.d/testing.list
|
||||
apt update -y
|
||||
apt install -y linux-source $(apt-cache search linux-source |awk '{print $1}' |tail -1)
|
||||
# apt update -y
|
||||
# apt install -y linux-source $(apt-cache search linux-source |awk '{print $1}' |tail -1)
|
||||
- name: unpack-kernel-source
|
||||
image: cr.lan/debian-kernel-build-stable
|
||||
script: |
|
||||
@@ -44,11 +44,13 @@ spec:
|
||||
cd /usr/src/linux-source-5.10
|
||||
#distcc config
|
||||
echo "localhost/1,cpp,lzo --randomize distcc-0.distcc,cpp,lzo distcc-1.distcc,cpp,lzo distcc-2.distcc,cpp,lzo distcc-3.distcc,cpp,lzo" >/etc/distcc/hosts
|
||||
export CC=distcc GCC=distcc CPP=distcc
|
||||
echo "ALL DISTCC HOSTS"
|
||||
distcc --show-hosts
|
||||
echo "/ALL DISTCC HOSTS"
|
||||
make -j4 bindeb-pkg LOCALVERSION=-pine1
|
||||
dpkg -L distcc-pump
|
||||
#hack pythonpath issue
|
||||
ln -s /usr/lib/distcc-pump/lib/python3.7/site-packages/include_server /usr/lib/distcc-pump/
|
||||
distcc-pump make -j20 bindeb-pkg LOCALVERSION=-pine1 CC=distcc
|
||||
- name: cleanup-workspace-post
|
||||
image: alpine
|
||||
command:
|
||||
|
||||
Reference in New Issue
Block a user