changed to bootc-installer

This commit is contained in:
humocs-man
2026-04-26 12:21:08 +02:00
parent 336b2a662c
commit 1b956e9a5f
2 changed files with 28 additions and 0 deletions
+6
View File
@@ -86,6 +86,12 @@ RUN --mount=type=bind,from=ctx,source=/,target=/ctx \
--mount=type=tmpfs,dst=/tmp \ --mount=type=tmpfs,dst=/tmp \
/ctx/build/50-remove-packages-and-enable-Services.sh /ctx/build/50-remove-packages-and-enable-Services.sh
RUN --mount=type=bind,from=ctx,source=/,target=/ctx \
--mount=type=cache,dst=/var/cache \
--mount=type=cache,dst=/var/log \
--mount=type=tmpfs,dst=/tmp \
/ctx/build/60-installing-anaconda.sh
# Deklaration der Verzeichnisse für systemd-tmpfiles, um bootc-Linting-Warnungen zu vermeiden. # Deklaration der Verzeichnisse für systemd-tmpfiles, um bootc-Linting-Warnungen zu vermeiden.
# Dies stellt sicher, dass /var/lib/dnf und /var/lib/rpm beim Booten sauber existieren. # Dies stellt sicher, dass /var/lib/dnf und /var/lib/rpm beim Booten sauber existieren.
RUN mkdir -p /etc/tmpfiles.d/ && \ RUN mkdir -p /etc/tmpfiles.d/ && \
+22
View File
@@ -0,0 +1,22 @@
#!/usr/bin/bash
set -eoux pipefail
dnf install -y \
anaconda \
anaconda-install-env-deps \
anaconda-dracut \
dracut-config-generic \
dracut-network \
net-tools \
squashfs-tools \
grub2-efi-x64-cdboot \
python3-mako \
lorax-templates-* \
biosdevname \
prefixdevname \
&& dnf clean all
mkdir -p /boot/efi && cp -ra /usr/lib/efi/*/*/EFI /boot/efi
mkdir /var/mnt