From 5b7b492cd38914a695bb38a04b2dd36ef226422d Mon Sep 17 00:00:00 2001 From: Lukas Zapletal Date: Thu, 23 Apr 2026 08:32:05 +0200 Subject: [PATCH] installer: use stream10 without changes for now In the time pressure, we copied Stream 10 installer Containerfile as RHEL 10.1 and I had to comment out the following line because there were no such files in usr installed. This will be fixed in a follow-up commit(s). --- rhel-10.1-installer | 79 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 79 insertions(+) diff --git a/rhel-10.1-installer b/rhel-10.1-installer index 4eb067f..06eed57 100644 --- a/rhel-10.1-installer +++ b/rhel-10.1-installer @@ -1 +1,80 @@ +# vim: set ft=dockerfile: +# -*- mode: dockerfile-mode -*- +# code: language=dockerfile insertSpaces=true tabSize=4 + FROM registry.redhat.io/rhel10/rhel-bootc:10.1 + +ARG TARGETARCH + +# Packages needed for Anaconda; and build dependencies +RUN dnf install -y \ + anaconda \ + anaconda-install-img-deps \ + anaconda-dracut \ + dracut-config-generic \ + dracut-network \ + net-tools \ + grub2-efi-x64-cdboot \ + plymouth \ + default-fonts-core-sans \ + default-fonts-other-sans \ + google-noto-sans-cjk-fonts \ + xorriso \ + squashfs-tools \ + && dnf clean all + +# XXX: https://github.com/osbuild/bootc-foundry/issues/50 +#RUN mkdir -p /boot/efi \ +# && cp -rva /usr/lib/efi/*/*/EFI /boot/efi + + +RUN mkdir -p /usr/lib/image-builder/bootc + +COPY <> /etc/passwd && \ + echo "install::14438:0:99999:7:::" >> /etc/shadow && \ + passwd -d root + +RUN mv /usr/share/anaconda/list-harddrives-stub /usr/bin/list-harddrives && \ + mv /etc/yum.repos.d /etc/anaconda.repos.d && \ + ln -s /lib/systemd/system/anaconda.target /etc/systemd/system/default.target && \ + rm -v /usr/lib/systemd/system-generators/systemd-gpt-auto-generator + +RUN rm /usr/lib/systemd/system/autovt@.service \ + && ln -s /usr/lib/systemd/system/anaconda-shell@.service /usr/lib/systemd/system/autovt@.service + +RUN mkdir /usr/lib/systemd/logind.conf.d +COPY <