add 3dfx module
This commit is contained in:
16
Dockerfile
16
Dockerfile
@@ -1,9 +1,17 @@
|
||||
# building a modified Kernel
|
||||
FROM alpine:latest AS fetcher
|
||||
ARG CACHE_BUST=2
|
||||
RUN apk add --no-cache git ca-certificates
|
||||
WORKDIR /src
|
||||
RUN echo "$CACHE_BUST" && git clone --depth 1 --branch retrodebian --single-branch https://gitea.chacha.ddns.net/chacha/glide.git
|
||||
|
||||
|
||||
# building a modified Kernel + modules
|
||||
FROM lpenz/debian-etch-i386-minbase AS kernel-builder
|
||||
ARG DEBIAN_FRONTEND=noninteractive
|
||||
ARG ARCH=i386
|
||||
ARG CONCURRENCY_LEVEL=4
|
||||
RUN (echo "deb-src http://archive.debian.org/debian etch main" >> /etc/apt/sources.list) && \
|
||||
mkdir -p /usr/src/modules &&\
|
||||
apt-get update && \
|
||||
apt-get install -y aptitude build-essential cvs unzip git-core ncurses-dev\
|
||||
linux-headers-2.6.24-etchnhalf.1-686 \
|
||||
@@ -14,17 +22,19 @@ RUN (echo "deb-src http://archive.debian.org/debian etch main" >> /etc/apt/sourc
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
WORKDIR /usr/src
|
||||
COPY --from=fetcher /src/glide glide
|
||||
COPY unionfs-2.2.3_for_2.6.24.diff.gz ./
|
||||
RUN tar xjf linux-source-2.6.24.tar.bz2 && \
|
||||
tar xjf etchnhalf/squashfs.tar.bz2 && \
|
||||
ln -s linux-headers-2.6.24-etchnhalf.1-686/ linux-headers
|
||||
ln -s linux-headers-2.6.24-etchnhalf.1-686/ linux-headers && \
|
||||
ls -al /usr/src && mv glide/Device3Dfx modules/
|
||||
|
||||
WORKDIR /usr/src/linux-source-2.6.24
|
||||
COPY config-kernel ./
|
||||
RUN (zcat /usr/src/unionfs-2.2.3_for_2.6.24.diff.gz | patch -p1) && \
|
||||
(cat config-kernel > .config) && \
|
||||
make oldconfig &&\
|
||||
make-kpkg --initrd --arch $ARCH kernel_headers kernel_image modules
|
||||
make-kpkg --initrd --arch $ARCH kernel_headers kernel_image modules_image
|
||||
|
||||
|
||||
# Note: we need to use Lenny because of live-helper
|
||||
|
||||
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
@@ -4,7 +4,7 @@ pipeline {
|
||||
filename 'Dockerfile'
|
||||
dir '.'
|
||||
label 'pyDABFActory-CIAgent'
|
||||
args '--privileged --security-opt seccomp=unconfined --security-opt apparmor=unconfined -u root:root'
|
||||
args '--privileged --security-opt seccomp=unconfined --security-opt apparmor=unconfined -u root:root CACHE_BUST=$(date +%s)'
|
||||
}
|
||||
}
|
||||
stages {
|
||||
@@ -33,7 +33,7 @@ pipeline {
|
||||
--apt-options "--yes --force-yes" \
|
||||
--apt-secure false \
|
||||
--apt-recommends false \
|
||||
--linux-packages "squashfs-modules-2.6.24 linux-image-2.6.24" \
|
||||
--linux-packages "squashfs-modules-2.6.24 linux-image-2.6.24 device3dfx-modules-2.6.24" \
|
||||
--packages-lists "desktop" \
|
||||
--mirror-bootstrap http://archive.debian.org/debian/ \
|
||||
--mirror-binary http://archive.debian.org/debian/ \
|
||||
@@ -68,6 +68,7 @@ pipeline {
|
||||
post {
|
||||
success {
|
||||
archiveArtifacts artifacts: 'root/live/*.iso', fingerprint: true
|
||||
archiveArtifacts artifacts: 'root/*.deb', fingerprint: true
|
||||
deleteDir()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user