bison and flex

This commit is contained in:
2021-02-18 18:25:55 +01:00
parent 113a1e4ba4
commit 7e887d1b41
2 changed files with 3 additions and 11 deletions

View File

@@ -4,10 +4,9 @@ FROM debian:stable
RUN sed -i 's@deb.debian.org@apt-cache.lan/deb.debian.org@g' /etc/apt/sources.list && \ RUN sed -i 's@deb.debian.org@apt-cache.lan/deb.debian.org@g' /etc/apt/sources.list && \
sed -i 's@security.debian.org@apt-cache.lan/security.debian.org@g' /etc/apt/sources.list && \ sed -i 's@security.debian.org@apt-cache.lan/security.debian.org@g' /etc/apt/sources.list && \
echo 'deb-src http://apt-cache.lan/deb.debian.org/debian stable main' > /etc/apt/sources.list.d/src.list && \ echo 'deb-src http://apt-cache.lan/deb.debian.org/debian stable main' > /etc/apt/sources.list.d/src.list && \
dpkg --add-architecture armhf && \
apt-get update -y && \ apt-get update -y && \
apt-get install -y build-essential dpkg-dev dpkg-cross \ apt-get install -y build-essential dpkg-dev dpkg-cross \
devscripts gcc make ccache distcc \ devscripts gcc make ccache distcc flex bison \
gcc-arm-linux-gnueabihf gcc-arm-linux-gnueabi && \ gcc-arm-linux-gnueabihf gcc-arm-linux-gnueabi && \
apt-get remove --purge -y exim* && \ apt-get remove --purge -y exim* && \
apt-get autoremove --purge -y && \ apt-get autoremove --purge -y && \

View File

@@ -15,13 +15,6 @@ spec:
- name: kernel-configs - name: kernel-configs
type: git type: git
steps: steps:
- name: cleanup-workspace-pre
image: alpine
command:
- rm
args:
- -rfv
- /workspace/kernel-configs*
- name: install-kernel-source - name: install-kernel-source
image: cr.lan/debian-kernel-build-stable image: cr.lan/debian-kernel-build-stable
script: | script: |
@@ -60,8 +53,8 @@ spec:
workspaces: workspaces:
- name: usr-src - name: usr-src
mountPath: /usr/src mountPath: /usr/src
- name: workspace # - name: workspace
mountPath: /workspace # mountPath: /workspace
--- ---
apiVersion: tekton.dev/v1beta1 apiVersion: tekton.dev/v1beta1
kind: TaskRun kind: TaskRun