From a82db08bc7d863e712e2b13b789dd2f805e7735b Mon Sep 17 00:00:00 2001 From: Charles Date: Sun, 13 Oct 2024 16:27:11 -0400 Subject: [PATCH] first actual commit --- Containerfile | 28 ++++++++++++++++++++++++++++ iso/9/Containerfile | 7 +++++++ iso/9/files/entrypoint.sh | 5 +++++ iso/9/files/ks.ks | 1 + 4 files changed, 41 insertions(+) create mode 100644 Containerfile create mode 100644 iso/9/Containerfile create mode 100644 iso/9/files/entrypoint.sh create mode 100644 iso/9/files/ks.ks diff --git a/Containerfile b/Containerfile new file mode 100644 index 0000000..689ad77 --- /dev/null +++ b/Containerfile @@ -0,0 +1,28 @@ +FROM quay.io/almalinuxorg/almalinux-bootc:9 +ARG DNF_EXCLUSIONS="PackageKit,PackageKit-command-not-found,kmod-kvdo,rootfiles,vdo" +RUN dnf -y -x ${DNF_EXCLUSIONS} install alsa-sof-firmware +RUN dnf -y -x ${DNF_EXCLUSIONS} install eog +RUN dnf -y -x ${DNF_EXCLUSIONS} install firefox +RUN dnf -y -x ${DNF_EXCLUSIONS} install gdm +RUN dnf -y -x ${DNF_EXCLUSIONS} install gedit +RUN dnf -y -x ${DNF_EXCLUSIONS} install git +RUN dnf -y -x ${DNF_EXCLUSIONS} install gnome-calculator +RUN dnf -y -x ${DNF_EXCLUSIONS} install gnome-disk-utility +RUN dnf -y -x ${DNF_EXCLUSIONS} install gnome-shell +RUN dnf -y -x ${DNF_EXCLUSIONS} install gnome-software +RUN dnf -y -x ${DNF_EXCLUSIONS} install gnome-system-monitor +RUN dnf -y -x ${DNF_EXCLUSIONS} install gnome-terminal +RUN dnf -y -x ${DNF_EXCLUSIONS} install gnome-terminal-nautilus +RUN dnf -y -x ${DNF_EXCLUSIONS} install gnome-tweaks +RUN dnf -y -x ${DNF_EXCLUSIONS} install grubby +RUN dnf -y -x ${DNF_EXCLUSIONS} install man +RUN dnf -y -x ${DNF_EXCLUSIONS} install man-db +RUN dnf -y -x ${DNF_EXCLUSIONS} install nautilus +RUN dnf -y -x ${DNF_EXCLUSIONS} install NetworkManager-wifi +RUN dnf -y -x ${DNF_EXCLUSIONS} install NetworkManager-wwan +RUN dnf -y -x ${DNF_EXCLUSIONS} install wget +RUN dnf -y -x ${DNF_EXCLUSIONS} install wireless-regdb +RUN dnf -y -x ${DNF_EXCLUSIONS} install wpa_supplicant +RUN rm -v /usr/lib/systemd/system/local-fs.target.wants/bootc-generic-growpart.service +RUN systemctl disable sshd.service +RUN systemctl set-default graphical.target diff --git a/iso/9/Containerfile b/iso/9/Containerfile new file mode 100644 index 0000000..f933278 --- /dev/null +++ b/iso/9/Containerfile @@ -0,0 +1,7 @@ +FROM quay.io/fedora/fedora:40-x86_64 + +COPY files/ks.ks /ks.ks +COPY files/entrypoint.sh /entrypoint.sh +RUN chmod +x /entrypoint.sh +RUN dnf install lorax util-linux -y +ENTRYPOINT ["/entrypoint.sh"] diff --git a/iso/9/files/entrypoint.sh b/iso/9/files/entrypoint.sh new file mode 100644 index 0000000..0226669 --- /dev/null +++ b/iso/9/files/entrypoint.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +curl -Lo /upstream.iso https://repo.almalinux.org/development/almalinux/9/bootc/isos/x86_64/AlmaLinux-9-latest-x86_64-boot.iso +rm -vf /output/upstream.iso || true +mkksiso --ks /ks.ks /upstream.iso /output/9.iso diff --git a/iso/9/files/ks.ks b/iso/9/files/ks.ks new file mode 100644 index 0000000..9fcb05a --- /dev/null +++ b/iso/9/files/ks.ks @@ -0,0 +1 @@ +ostreecontainer --url git.almalinux.org/charles2/obsidian:9