From 1f7efbffc74bf70f0f330e09c83d9d114940edb4 Mon Sep 17 00:00:00 2001 From: renner <80410025+renner0e@users.noreply.github.com> Date: Sat, 23 Aug 2025 20:58:07 +0200 Subject: [PATCH] chore: remove taidan readymade related things (#871) We will be using KISS with Plasma 6.5 and Anaconda webui with F43 Taidan pulled in libhelium and helium-gtk-theme which happened to ship icons and cursor packs as well Co-authored-by: inffy <10782843+inffy@users.noreply.github.com> --- .../reusable-build-iso-readymade.yml | 131 ----------------- iso_files/configure_iso.sh | 135 ------------------ packages.json | 1 - .../override.conf | 4 - 4 files changed, 271 deletions(-) delete mode 100644 .github/workflows/reusable-build-iso-readymade.yml delete mode 100644 iso_files/configure_iso.sh delete mode 100644 system_files/shared/usr/lib/systemd/system/taidan-initial-setup-reconfiguration.service.d/override.conf diff --git a/.github/workflows/reusable-build-iso-readymade.yml b/.github/workflows/reusable-build-iso-readymade.yml deleted file mode 100644 index 34c0eef5..00000000 --- a/.github/workflows/reusable-build-iso-readymade.yml +++ /dev/null @@ -1,131 +0,0 @@ ---- -name: Build ISOs (Readymade) - -on: - workflow_dispatch: - inputs: - upload-to-cloudflare: - description: "Upload to Cloudflare" - required: false - default: false - type: boolean - schedule: - - cron: "0 0 * * 0" - -env: - IMAGE_REGISTRY: "ghcr.io/${{ github.repository_owner }}" - IMAGE_NAME: "aurora" - -concurrency: - group: ${{ github.workflow }}-${{ github.ref || github.run_id }} - cancel-in-progress: true - -jobs: - build: - name: Build ISOs - runs-on: ${{ matrix.platform == 'amd64' && 'ubuntu-24.04' || 'ubuntu-24.04-arm' }} - strategy: - fail-fast: false - matrix: - platform: [amd64] - flavor: ["", "nvidia-open"] - image_version: ["stable"] - - permissions: - contents: read - packages: read - id-token: write - - steps: - - name: Install dependencies - if: matrix.platform == 'arm64' - run: | - set -x - sudo apt update -y - sudo apt install -y \ - podman - - - name: Maximize build space - if: matrix.platform != 'arm64' - uses: ublue-os/remove-unwanted-software@cc0becac701cf642c8f0a6613bbdaf5dc36b259e # v9 - with: - remove-codeql: true - - - name: Checkout - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5 - - - name: Format image ref - id: image_ref - env: - FLAVOR: ${{ matrix.flavor }} - run: | - OUTPUT_NAME="${IMAGE_REGISTRY}/${IMAGE_NAME}" - ARTIFACT_FORMAT="" - KARGS="NONE" - if [ "$FLAVOR" != "" ] ; then - OUTPUT_NAME="${OUTPUT_NAME}-${FLAVOR}" - ARTIFACT_FORMAT="-${FLAVOR}" - if [[ "$FLAVOR" =~ nvidia ]] ; then - KARGS="rd.driver.blacklist=nouveau,modprobe.blacklist=nouveau,nvidia-drm.modeset=1" - fi - fi - echo "image_ref=$OUTPUT_NAME" >> "${GITHUB_OUTPUT}" - echo "artifact_format=$ARTIFACT_FORMAT" >> "${GITHUB_OUTPUT}" - echo "kargs=$KARGS" >> "${GITHUB_OUTPUT}" - - - name: Build ISO - id: build - uses: ublue-os/titanoboa@main - with: - image-ref: ${{ steps.image_ref.outputs.image_ref }}:${{ matrix.image_version }} - flatpaks-list: ${{ github.workspace }}/flatpaks/system-flatpaks.list - hook-post-rootfs: ${{ github.workspace }}/iso_files/configure_iso.sh - kargs: ${{ steps.image_ref.outputs.kargs }} - - - name: Rename ISO - id: rename - env: - OUTPUT_PATH: ${{ steps.build.outputs.iso-dest }} - FLAVOR: ${{ matrix.flavor }} - ARTIFACT_FORMAT: ${{ steps.image_ref.outputs.artifact_format }} - IMAGE_VERSION: ${{ matrix.image_version }} - run: | - set -x - mkdir -p output - OUTPUT_NAME="readymade-${IMAGE_NAME}${ARTIFACT_FORMAT}-${IMAGE_VERSION}" - OUTPUT_DIRECTORY="$(realpath output)" - if [ "${FLAVOR}" != "" ] ; then - IMAGE_NAME="${IMAGE_NAME}-${FLAVOR}" - fi - if [ $PLATFORM == "amd64" ]; then - sha256sum "${OUTPUT_PATH}" | tee "${OUTPUT_DIRECTORY}/${OUTPUT_NAME}-$(uname -m).iso-CHECKSUM" - mv "${OUTPUT_PATH}" "${OUTPUT_DIRECTORY}/${OUTPUT_NAME}-$(uname -m).iso" - else - sha256sum "${OUTPUT_PATH}" | tee "${OUTPUT_DIRECTORY}/${OUTPUT_NAME}-$(uname -m).iso-CHECKSUM" - mv "${OUTPUT_PATH}" "${OUTPUT_DIRECTORY}/${OUTPUT_NAME}-$(uname -m).iso" - fi - echo "output_directory=$OUTPUT_DIRECTORY" >> "${GITHUB_OUTPUT}" - - - name: Upload to Job Artifacts - if: inputs.upload-to-cloudflare == false || github.event_name == 'pull_request' - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 - with: - name: ${{ env.IMAGE_NAME }}-live${{ steps.image_ref.outputs.artifact_format }}-${{ matrix.image_version }}-${{ matrix.platform }}-iso - if-no-files-found: error - path: ${{ steps.rename.outputs.output_directory }} - - - name: Upload to CloudFlare - if: inputs.upload-to-cloudflare == true && github.event_name != 'pull_request' - shell: bash - env: - RCLONE_CONFIG_R2_TYPE: s3 - RCLONE_CONFIG_R2_PROVIDER: Cloudflare - RCLONE_CONFIG_R2_ACCESS_KEY_ID: ${{ secrets.AURORA_R2_ACCESS_KEY_ID }} - RCLONE_CONFIG_R2_SECRET_ACCESS_KEY: ${{ secrets.AURORA_R2_SECRET_ACCESS_KEY }} - RCLONE_CONFIG_R2_REGION: auto - RCLONE_CONFIG_R2_ENDPOINT: ${{ secrets.AURORA_R2_ENDPOINT }} - SOURCE_DIR: ${{ steps.rename.outputs.output_directory }} - run: | - sudo apt-get update - sudo apt-get install -y rclone - rclone copy "${SOURCE_DIR}" R2:aurora-dl diff --git a/iso_files/configure_iso.sh b/iso_files/configure_iso.sh deleted file mode 100644 index 21fd7a83..00000000 --- a/iso_files/configure_iso.sh +++ /dev/null @@ -1,135 +0,0 @@ -#!/usr/bin/env bash - -set -x - -dnf -y --enablerepo copr:copr.fedorainfracloud.org:ublue-os:staging install -y \ - readymade-nightly - -# This has more than just branding -- it has repart configs -dnf -y --enablerepo copr:copr.fedorainfracloud.org:ublue-os:packages install -y \ - aurora-readymade-config - -dnf -y --enablerepo copr:copr.fedorainfracloud.org:ublue-os:staging install -y \ - taidan - -sudo ln -sf /usr/share/zoneinfo/UTC /etc/localtime - -IMAGE_INFO="$(cat /usr/share/ublue-os/image-info.json)" -IMAGE_TAG="$(jq -c -r '."image-tag"' <<<$IMAGE_INFO)" -IMAGE_FLAVOR="$(jq -c -r '."image-flavor"' <<<$IMAGE_INFO)" - -#TODO -OUTPUT_NAME="ghcr.io/ublue-os/aurora" -if [ "$IMAGE_FLAVOR" != "main" ]; then - OUTPUT_NAME="${OUTPUT_NAME}-${IMAGE_FLAVOR}" -fi -KARGS="" -if [ "$IMAGE_FLAVOR" =~ nvidia ]; then - KARGS='bootc_kargs = ["rd.driver.blacklist=nouveau", "modprobe.blacklist=nouveau", "nvidia-drm.modeset=1"]' -fi - -tee /etc/readymade.toml </etc/skel/.config/kscreenlockerrc <<'EOF' -[Daemon] -Autolock=false -LockOnResume=false -EOF - -systemctl disable rpm-ostree-countme.service -systemctl disable tailscaled.service -systemctl disable bootloader-update.service -systemctl disable brew-upgrade.timer -systemctl disable brew-update.timer -systemctl disable brew-setup.service -systemctl disable rpm-ostree.service -systemctl disable uupd.timer -systemctl disable ublue-system-setup.service -systemctl disable ublue-guest-user.service -systemctl disable check-sb-key.service -systemctl --global disable ublue-flatpak-manager.service -systemctl --global disable podman-auto-update.timer -systemctl --global disable ublue-user-setup.service diff --git a/packages.json b/packages.json index 3ea76ac0..de4095f6 100644 --- a/packages.json +++ b/packages.json @@ -70,7 +70,6 @@ "sssd-nfs-idmap", "starship", "sunshine", - "taidan", "tailscale", "tmux", "ublue-bling", diff --git a/system_files/shared/usr/lib/systemd/system/taidan-initial-setup-reconfiguration.service.d/override.conf b/system_files/shared/usr/lib/systemd/system/taidan-initial-setup-reconfiguration.service.d/override.conf deleted file mode 100644 index e18bb8bd..00000000 --- a/system_files/shared/usr/lib/systemd/system/taidan-initial-setup-reconfiguration.service.d/override.conf +++ /dev/null @@ -1,4 +0,0 @@ -[Service] -ExecStartPost= -ExecStartPost=systemctl disable taidan-initial-setup-reconfiguration -ExecStartPost=rm /var/lib/taidan