changed to bootc-installer
This commit is contained in:
@@ -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/ && \
|
||||||
|
|||||||
Executable
+22
@@ -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
|
||||||
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user