This commit is contained in:
2026-03-28 00:25:11 +01:00
parent 7aaa2d1dc2
commit ff55ba690d
4 changed files with 30 additions and 22 deletions

View File

@@ -1,2 +1,22 @@
FROM retrodebian/package-builder-etch
RUN echo "Are you here ?"
RUN apt-get -y install linux-headers-2.6.24-etchnhalf.1-686 \
squashfs-source-etchnhalf \
linux-source-2.6.24 && \
apt-get build-dep -y linux-image-2.6.24-etchnhalf.1-686 && \
apt-get clean
# Preparing Kernel + patchs + modules
WORKDIR /usr/src
#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
#
## Building Kernel + patchs + 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_image

View File

@@ -9,24 +9,4 @@ RUN (echo "deb http://archive.debian.org/debian etch main contrib non-free" > /e
(echo "deb-src http://archive.debian.org/debian etch main contrib non-free" >> /etc/apt/sources.list) && \
mkdir -p /usr/src/modules &&\
apt-get update && \
apt-get install -y aptitude build-essential quilt cvs unzip git-core ncurses-dev\
linux-headers-2.6.24-etchnhalf.1-686 \
squashfs-source-etchnhalf \
linux-source-2.6.24 && \
apt-get build-dep -y linux-image-2.6.24-etchnhalf.1-686 && \
apt-get clean
# Preparing Kernel + patchs + modules
WORKDIR /usr/src
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
# Building Kernel + patchs + 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_image
apt-get install -y aptitude build-essential quilt cvs unzip git-core ncurses-dev

View File

@@ -0,0 +1,8 @@
from retrobuilder.model import ProfileSpec
PROFILE = ProfileSpec(
base='retrodebian-common',
features=(),
edition='Vanilla',
description='Vanilla RetroDebian.',
)