wtf is going on with my distcc-pump hack?
This commit is contained in:
@@ -16,5 +16,6 @@ RUN sed -i 's@deb.debian.org@apt-cache.lan/deb.debian.org@g' /etc/apt/sources.li
|
|||||||
rm -rf /var/lib/apt/lists/* && \
|
rm -rf /var/lib/apt/lists/* && \
|
||||||
rm -rf /var/cache/apt/* && \
|
rm -rf /var/cache/apt/* && \
|
||||||
rm /etc/distcc/hosts #no zeroconf for distcc; \
|
rm /etc/distcc/hosts #no zeroconf for distcc; \
|
||||||
ln -s /usr/lib/distcc-pump/lib/python3.7/site-packages/include_server /usr/lib/distcc-pump/; #hack pythonpath issue
|
ln -sv /usr/lib/distcc-pump/lib/python3.7/site-packages/include_server /usr/lib/distcc-pump/include_server; \
|
||||||
|
ls -la //usr/lib/distcc-pump;
|
||||||
|
|
||||||
|
|||||||
@@ -41,8 +41,13 @@ spec:
|
|||||||
image: cr.lan/debian-kernel-build-stable
|
image: cr.lan/debian-kernel-build-stable
|
||||||
script: |
|
script: |
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
echo "res.input.ke...path: $(resources.inputs.kernel-configs.path)"
|
|
||||||
echo $PATH
|
echo $PATH
|
||||||
|
|
||||||
|
echo "res.input.ke...path: $(resources.inputs.kernel-configs.path)"
|
||||||
|
echo "K_VERS: $(params.kernel_version)"
|
||||||
|
|
||||||
|
ls -altr /usr/src/
|
||||||
cp -v $(resources.inputs.kernel-configs.path)/$(params.config) \
|
cp -v $(resources.inputs.kernel-configs.path)/$(params.config) \
|
||||||
/usr/src/linux-source-${params.kernel_version}/.config || exit 1
|
/usr/src/linux-source-${params.kernel_version}/.config || exit 1
|
||||||
cd /usr/src/linux-source-$(params.kernel_version)
|
cd /usr/src/linux-source-$(params.kernel_version)
|
||||||
@@ -51,6 +56,7 @@ spec:
|
|||||||
echo "ALL DISTCC HOSTS"
|
echo "ALL DISTCC HOSTS"
|
||||||
distcc --show-hosts
|
distcc --show-hosts
|
||||||
echo "/ALL DISTCC HOSTS"
|
echo "/ALL DISTCC HOSTS"
|
||||||
|
ls -latr /usr/lib/distcc-pump/
|
||||||
distcc-pump make -j20 bindeb-pkg CC=distcc LOCALVERSION=$(params.localversion) $(params.make_flags)
|
distcc-pump make -j20 bindeb-pkg CC=distcc LOCALVERSION=$(params.localversion) $(params.make_flags)
|
||||||
workspaces:
|
workspaces:
|
||||||
- name: usr-src
|
- name: usr-src
|
||||||
|
|||||||
Reference in New Issue
Block a user