diff options
| author | tranch <tranch.xiao@gmail.com> | 2026-11-14 12:48:56 +0800 |
|---|---|---|
| committer | tranch <tranch.xiao@gmail.com> | 2026-11-14 12:48:56 +0800 |
| commit | 977a1e6fb81dfc264fa1e5d87652a37508fedaf8 (patch) | |
| tree | b252a21c3fdc3c8c4f1fde7c3a4eb220efbf9424 | |
| parent | 3cef8477d730e8d630e11f05ba171242730fff80 (diff) | |
| parent | f273f285f546173a4a9abf61eee0ec8b83e09ad7 (diff) | |
| download | AeroCore-OS-977a1e6fb81dfc264fa1e5d87652a37508fedaf8.tar.gz AeroCore-OS-977a1e6fb81dfc264fa1e5d87652a37508fedaf8.zip | |
Merge testing-45.20261113 into main45.20261114
Promote the validated Fedora 45 Live installer and system image changes.
Keep the tested Bazzite stable 45.20261112 base for the stable rebuild.
| -rw-r--r-- | .github/workflows/build-live-iso.yml | 7 | ||||
| -rw-r--r-- | .github/workflows/build.yml | 39 | ||||
| -rw-r--r-- | Containerfile | 5 | ||||
| -rw-r--r-- | Justfile | 6 | ||||
| -rw-r--r-- | image-template.env | 2 | ||||
| -rw-r--r-- | installer/Containerfile | 2 | ||||
| -rwxr-xr-x | installer/build.sh | 52 | ||||
| -rw-r--r-- | installer/system_files/overrides/etc/anaconda/profile.d/aerocore.conf | 6 | ||||
| -rw-r--r-- | installer/system_files/overrides/etc/xdg/autostart/aerocore-liveinst.desktop | 5 | ||||
| -rwxr-xr-x | just_scripts/build-live-iso.sh | 13 | ||||
| -rwxr-xr-x | tests/test-aerocore-anaconda-profile.sh | 2 |
11 files changed, 96 insertions, 43 deletions
diff --git a/.github/workflows/build-live-iso.yml b/.github/workflows/build-live-iso.yml index c1142f2..def88be 100644 --- a/.github/workflows/build-live-iso.yml +++ b/.github/workflows/build-live-iso.yml @@ -29,9 +29,6 @@ jobs: IMAGE_NAME: ${{ vars.IMAGE_NAME || github.event.repository.name }} IMAGE_TAG: ${{ inputs.image_tag || 'latest' }} ISO_FILE_TAG: ${{ github.ref_name == 'testing' && 'testing' || (inputs.image_tag || 'latest') }} - # Keep these aligned with the Fedora major used by the target bazzite-deck base image. - LIVE_BASE_IMAGE: quay.io/fedora/fedora-kinoite:45 - FEDORA_VERSION: "45" OSTREE_IMAGE_REF: ${{ vars.OSTREE_IMAGE_REF }} steps: @@ -67,6 +64,10 @@ jobs: - name: Pull AeroCore install image run: | sudo podman pull "${IMAGE_REGISTRY}/${IMAGE_NAME}:${IMAGE_TAG}" + fedora_version="$(sudo podman run --rm --network none --entrypoint /usr/bin/rpm "${IMAGE_REGISTRY}/${IMAGE_NAME}:${IMAGE_TAG}" -E %fedora)" + [[ "${fedora_version}" =~ ^[0-9]+$ ]] || { echo "Invalid Fedora version: ${fedora_version}" >&2; exit 1; } + [[ "${fedora_version}" == 45 ]] || { echo "Expected Fedora 45 payload, got ${fedora_version}" >&2; exit 1; } + echo "LIVE_BASE_IMAGE=ghcr.io/ublue-os/bazzite:stable-45.20261112" >> "$GITHUB_ENV" - name: Build installer ISO payload run: | diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7222e07..5da933d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -6,6 +6,7 @@ on: - main - testing - testing-candidate + - unstable #schedule: # - cron: '05 10 * * *' # 10:05am UTC everyday workflow_dispatch: @@ -24,7 +25,7 @@ env: IMAGE_LOGO_URL: ${{ vars.IMAGE_LOGO_URL || 'https://avatars.githubusercontent.com/u/120078124?s=200&v=4' }} DEFAULT_TAG: ${{ vars.DEFAULT_TAG || 'stable' }} BIB_IMAGE: ${{ vars.BIB_IMAGE || 'quay.io/centos-bootc/bootc-image-builder:latest' }} - BASE_IMAGE: ${{ vars.BASE_IMAGE || 'ghcr.io/ublue-os/bazzite-deck:stable-45.20261105' }} + BASE_IMAGE: ${{ vars.BASE_IMAGE || 'ghcr.io/ublue-os/bazzite-deck:stable-45.20261112' }} FLATPAK_REMOTE_URL: ${{ vars.FLATPAK_REMOTE_URL }} HOMEBREW_BOTTLE_DOMAIN: ${{ vars.HOMEBREW_BOTTLE_DOMAIN }} HOMEBREW_API_DOMAIN: ${{ vars.HOMEBREW_API_DOMAIN }} @@ -95,15 +96,28 @@ jobs: - name: Generate Version and Tags id: gen-version env: - BASE_IMAGE: ${{ vars.BASE_IMAGE || 'ghcr.io/ublue-os/bazzite-deck:stable-45.20261105' }} + BASE_IMAGE_VAR: ${{ vars.BASE_IMAGE }} run: | set -euo pipefail + if [[ "${GITHUB_REF_NAME}" == "unstable" ]]; then + BASE_IMAGE="ghcr.io/ublue-os/bazzite-deck:stable-45.20261112" + else + BASE_IMAGE="${BASE_IMAGE_VAR:-ghcr.io/ublue-os/bazzite-deck:stable-45.20261112}" + fi + echo "Using BASE_IMAGE=${BASE_IMAGE}" + echo "BASE_IMAGE=${BASE_IMAGE}" >> "$GITHUB_ENV" + sudo podman pull "${BASE_IMAGE}" FEDORA_VERSION=$(sudo podman run --rm --entrypoint /usr/bin/rpm "${BASE_IMAGE}" -E %fedora) VERSION_BASE="${FEDORA_VERSION}.$(date +%Y%m%d)" - if [[ "${GITHUB_REF_NAME}" == "testing-candidate" ]]; then + if [[ "${GITHUB_REF_NAME}" == "unstable" ]]; then + DEFAULT_TAG="unstable" + VERSION_TAG="unstable-${VERSION_BASE}" + VERSION_PRETTY_PREFIX="Unstable" + IMAGE_BRANCH="unstable" + elif [[ "${GITHUB_REF_NAME}" == "testing-candidate" ]]; then DEFAULT_TAG="testing-candidate" VERSION_TAG="testing-candidate-${VERSION_BASE}" VERSION_PRETTY_PREFIX="Testing candidate" @@ -129,11 +143,14 @@ jobs: VERSION_TAG="${VERSION_TAG}.${build}" fi - VERSION_BASE_PRETTY="${VERSION_TAG#testing-candidate-}" + VERSION_BASE_PRETTY="${VERSION_TAG#unstable-}" + VERSION_BASE_PRETTY="${VERSION_BASE_PRETTY#testing-candidate-}" VERSION_BASE_PRETTY="${VERSION_BASE_PRETTY#testing-}" VERSION_PRETTY="${VERSION_PRETTY_PREFIX} (F${VERSION_BASE_PRETTY})" - if [[ "${GITHUB_REF_NAME}" == "testing-candidate" ]]; then + if [[ "${GITHUB_REF_NAME}" == "unstable" ]]; then + ALIAS_TAGS="${VERSION_TAG} unstable unstable-${FEDORA_VERSION}" + elif [[ "${GITHUB_REF_NAME}" == "testing-candidate" ]]; then ALIAS_TAGS="${VERSION_TAG} testing-candidate testing-candidate-${FEDORA_VERSION}" elif [[ "${GITHUB_REF_NAME}" == "testing" ]]; then ALIAS_TAGS="${VERSION_TAG} testing testing-${FEDORA_VERSION}" @@ -162,7 +179,6 @@ jobs: id: build-image env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - BASE_IMAGE: ${{ vars.BASE_IMAGE || 'ghcr.io/ublue-os/bazzite-deck:stable-45.20261105' }} FLATPAK_REMOTE_URL: ${{ vars.FLATPAK_REMOTE_URL }} HOMEBREW_BOTTLE_DOMAIN: ${{ vars.HOMEBREW_BOTTLE_DOMAIN }} HOMEBREW_API_DOMAIN: ${{ vars.HOMEBREW_API_DOMAIN }} @@ -243,14 +259,14 @@ jobs: # They publish default-branch builds and manual testing branch builds. - name: Login to GitHub Container Registry uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4.6.0 - if: github.event_name != 'pull_request' && (github.ref_name == github.event.repository.default_branch || github.ref_name == 'testing' || github.ref_name == 'testing-candidate') + if: github.event_name != 'pull_request' && (github.ref_name == github.event.repository.default_branch || github.ref_name == 'testing' || github.ref_name == 'testing-candidate' || github.ref_name == 'unstable') with: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - name: Push To GHCR - if: github.event_name != 'pull_request' && (github.ref_name == github.event.repository.default_branch || github.ref_name == 'testing' || github.ref_name == 'testing-candidate') + if: github.event_name != 'pull_request' && (github.ref_name == github.event.repository.default_branch || github.ref_name == 'testing' || github.ref_name == 'testing-candidate' || github.ref_name == 'unstable') id: push-image env: ALIAS_TAGS: ${{ steps.gen-build-tags.outputs.alias_tags }} @@ -291,14 +307,14 @@ jobs: # to consume. For more details, review the image signing section of the README. - name: Install Cosign uses: sigstore/cosign-installer@6f9f17788090df1f26f669e9d70d6ae9567deba6 # v4.1.2 - if: github.event_name != 'pull_request' && (github.ref_name == github.event.repository.default_branch || github.ref_name == 'testing' || github.ref_name == 'testing-candidate') + if: github.event_name != 'pull_request' && (github.ref_name == github.event.repository.default_branch || github.ref_name == 'testing' || github.ref_name == 'testing-candidate' || github.ref_name == 'unstable') # https://github.com/containers/container-libs/issues/388 with: cosign-release: 'v2.6.3' - name: Sign container image id: sign-image - if: github.event_name != 'pull_request' && (github.ref_name == github.event.repository.default_branch || github.ref_name == 'testing' || github.ref_name == 'testing-candidate') + if: github.event_name != 'pull_request' && (github.ref_name == github.event.repository.default_branch || github.ref_name == 'testing' || github.ref_name == 'testing-candidate' || github.ref_name == 'unstable') env: COSIGN_EXPERIMENTAL: false COSIGN_PRIVATE_KEY: ${{ secrets.SIGNING_SECRET }} @@ -313,7 +329,8 @@ jobs: if: github.event_name != 'pull_request' && (github.ref_name == github.event.repository.default_branch || github.ref_name == 'testing' || - github.ref_name == 'testing-candidate') + github.ref_name == 'testing-candidate' || + github.ref_name == 'unstable') permissions: contents: write packages: read diff --git a/Containerfile b/Containerfile index 3bfd0e6..8b8776f 100644 --- a/Containerfile +++ b/Containerfile @@ -1,5 +1,5 @@ # Allow build scripts to be referenced without being copied into the final image -ARG BASE_IMAGE="ghcr.io/ublue-os/bazzite-deck:stable-45.20261105" +ARG BASE_IMAGE="ghcr.io/ublue-os/bazzite-deck:stable-45.20261112" FROM scratch AS ctx COPY build_files / @@ -15,8 +15,7 @@ ARG VERSION_TAG="latest" ARG VERSION_PRETTY="latest" ARG OSTREE_IMAGE_REF="" ## Other possible base images include: -# ghcr.io/ublue-os/bazzite-deck:stable-45.20261105 -# ghcr.io/ublue-os/bazzite-deck:testing-44.202609019 +# ghcr.io/ublue-os/bazzite-deck:stable-45.20261112 ### [IM]MUTABLE /opt ## Some bootable images, like Fedora, have /opt symlinked to /var/opt, in order to @@ -11,9 +11,9 @@ export bib_image := env_var("BIB_IMAGE") export IMAGE_BRANCH := env_var_or_default("IMAGE_BRANCH", "testing-candidate") export VERSION_TAG := env_var_or_default("VERSION_TAG", "") export VERSION_PRETTY := env_var_or_default("VERSION_PRETTY", "") -export BASE_IMAGE := env_var_or_default("BASE_IMAGE", "ghcr.io/ublue-os/bazzite-deck:stable-45.20261105") +export BASE_IMAGE := env_var_or_default("BASE_IMAGE", "ghcr.io/ublue-os/bazzite-deck:stable-45.20261112") export OSTREE_IMAGE_REF := env_var_or_default("OSTREE_IMAGE_REF", "ostree-image-signed:docker://ghcr.io/" + repo_organization + "/" + image_name) -export LIVE_BASE_IMAGE := env_var_or_default("LIVE_BASE_IMAGE", "quay.io/fedora/fedora-kinoite:45") +export LIVE_BASE_IMAGE := env_var_or_default("LIVE_BASE_IMAGE", "ghcr.io/ublue-os/bazzite:stable-45.20261112") export TITANOBOA_REPOSITORY := env_var_or_default("TITANOBOA_REPOSITORY", "https://github.com/Zeglius/titanoboa.git") export TITANOBOA_REVISION := env_var_or_default("TITANOBOA_REVISION", "7737f4748458252ac827dca14b3d6dd09298472a") export FLATPAK_REMOTE_URL := env_var_or_default("FLATPAK_REMOTE_URL", "") @@ -137,7 +137,7 @@ build $target_image=image_name $tag=default_tag: "--build-arg" "IMAGE_BRANCH={{ tag }}" "--build-arg" "VERSION_TAG=${VERSION_TAG:-{{ tag }}}" "--build-arg" "VERSION_PRETTY=${VERSION_PRETTY:-${VERSION_TAG:-{{ tag }}}}" - "--label" "org.opencontainers.image.base.name=${BASE_IMAGE:-ghcr.io/ublue-os/bazzite-deck:stable-45.20261105}" + "--label" "org.opencontainers.image.base.name=${BASE_IMAGE:-ghcr.io/ublue-os/bazzite-deck:stable-45.20261112}" ) for arg in BASE_IMAGE FLATPAK_REMOTE_URL HOMEBREW_BOTTLE_DOMAIN HOMEBREW_API_DOMAIN OSTREE_IMAGE_REF INSTRUMENTS_ENABLED INSTRUMENTS_RELEASE_REPOSITORY INSTRUMENTS_VERSION INSTRUMENTS_RELEASE_API_BASE; do diff --git a/image-template.env b/image-template.env index 30c7799..10720f4 100644 --- a/image-template.env +++ b/image-template.env @@ -16,7 +16,7 @@ BIB_IMAGE="quay.io/centos-bootc/bootc-image-builder:latest" # Keep this on bazzite-deck for Steam Deck, game mode, and handheld customizations. # Use a concrete tag during transition windows if stable/testing moves underneath you. -BASE_IMAGE="ghcr.io/ublue-os/bazzite-deck:stable-45.20261105" +BASE_IMAGE="ghcr.io/ublue-os/bazzite-deck:stable-45.20261112" # Optional mirror settings. FLATPAK_REMOTE_URL="" diff --git a/installer/Containerfile b/installer/Containerfile index a7f1d3b..065fe43 100644 --- a/installer/Containerfile +++ b/installer/Containerfile @@ -1,7 +1,7 @@ # Build the installer ISO payload from a desktop Bazzite runtime. # The image installed to disk is supplied separately as INSTALL_IMAGE_PAYLOAD. -ARG BASE_IMAGE=ghcr.io/ublue-os/bazzite:stable +ARG BASE_IMAGE=ghcr.io/ublue-os/bazzite:stable-45.20261112 ARG IMAGE_VENDOR=aerocore-io ARG IMAGE_NAME=aerocore-os ARG INSTALL_IMAGE_PAYLOAD=ghcr.io/${IMAGE_VENDOR}/${IMAGE_NAME}:stable diff --git a/installer/build.sh b/installer/build.sh index 34c55b7..80690ec 100755 --- a/installer/build.sh +++ b/installer/build.sh @@ -97,8 +97,24 @@ if [[ -f /usr/share/icons/hicolor/scalable/places/distributor-logo.svg ]]; then /usr/share/icons/hicolor/scalable/apps/start-here.svg cp -f /usr/share/icons/hicolor/scalable/places/distributor-logo.svg \ /usr/share/icons/hicolor/scalable/places/start-here.svg + install -m0644 /usr/share/icons/hicolor/scalable/places/distributor-logo.svg \ + /usr/share/icons/hicolor/scalable/apps/aerocore-logo.svg fi +# Bazzite's first-boot setup and Steam autostart can fill the Live overlay, +# which shares the small /run tmpfs, before Anaconda can start. +for unit in brew-setup.service brew-update.timer brew-upgrade.timer \ + bazzite-hardware-setup.service ublue-hardware-setup.service \ + ublue-system-setup.service bazzite-flatpak-manager.service \ + ublue-flatpak-manager.service; do + systemctl disable "${unit}" || true +done +for unit in bazzite-user-setup.service ublue-user-setup.service; do + systemctl --global disable "${unit}" || true +done +rm -f /etc/skel/.config/autostart/steam*.desktop \ + /etc/skel/.config/autostart/bazzite-portal.desktop + live_product_name="AeroCore OS" sed -i "s/^NAME=.*/NAME=\"${live_product_name}\"/" /usr/lib/os-release sed -i "s/^PRETTY_NAME=.*/PRETTY_NAME=\"${live_product_name} ${live_version_id} (Kinoite)\"/" /usr/lib/os-release @@ -129,27 +145,27 @@ else podman pull "${INSTALL_IMAGE_PAYLOAD}" fi +# Match Bazzite's dedicated Live-session temporary filesystem for ostree. +rm -rf /var/tmp +mkdir -m 1777 /var/tmp +cat > /etc/systemd/system/var-tmp.mount <<'EOF' +[Unit] +Description=Larger tmpfs for /var/tmp on live system + +[Mount] +What=tmpfs +Where=/var/tmp +Type=tmpfs +Options=mode=1777,size=50%%,nr_inodes=1m,x-systemd.graceful-option=usrquota + +[Install] +WantedBy=local-fs.target +EOF +systemctl enable var-tmp.mount + # Tell Anaconda to install the bootc container that was loaded above. mkdir -p /var/lib/rpm-state cat >> /usr/share/anaconda/interactive-defaults.ks <<EOF -%pre-install --log=/tmp/aerocore-var-tmp.log -set -eux -target_tmp= -for root in /mnt/sysimage /mnt/sysroot /var/mnt/sysimage; do - if mountpoint -q \${root}; then - target_tmp=\${root}/var/tmp - break - fi -done -if [ x\${target_tmp} = x ]; then - echo No mounted target system found for /var/tmp bind mount >&2 - exit 1 -fi -mkdir -p \${target_tmp} -chmod 1777 \${target_tmp} -mount --bind \${target_tmp} /var/tmp -df -h /var/tmp \${target_tmp} -%end # bootc relies on systemd's GPT auto-root discovery on the first boot. Anaconda # can leave the installed root partition with the generic Linux filesystem diff --git a/installer/system_files/overrides/etc/anaconda/profile.d/aerocore.conf b/installer/system_files/overrides/etc/anaconda/profile.d/aerocore.conf index 0dd8f41..749ebc9 100644 --- a/installer/system_files/overrides/etc/anaconda/profile.d/aerocore.conf +++ b/installer/system_files/overrides/etc/anaconda/profile.d/aerocore.conf @@ -11,6 +11,12 @@ profile_id = aerocore [Profile Detection] os_id = aerocore +# Bazzite's /mnt is a symlink to /var/mnt. Use canonical paths so +# systemd-tmpfiles can relabel the deployed target without rejecting it. +[Installation Target] +physical_root = /var/mnt/sysimage +system_root = /var/mnt/sysroot + [Network] default_on_boot = FIRST_WIRED_WITH_LINK diff --git a/installer/system_files/overrides/etc/xdg/autostart/aerocore-liveinst.desktop b/installer/system_files/overrides/etc/xdg/autostart/aerocore-liveinst.desktop new file mode 100644 index 0000000..e70cf8e --- /dev/null +++ b/installer/system_files/overrides/etc/xdg/autostart/aerocore-liveinst.desktop @@ -0,0 +1,5 @@ +[Desktop Entry] +Type=Application +Name=Install to Hard Drive +Exec=liveinst +Icon=org.fedoraproject.AnacondaInstaller diff --git a/just_scripts/build-live-iso.sh b/just_scripts/build-live-iso.sh index 69a87d5..68e400e 100755 --- a/just_scripts/build-live-iso.sh +++ b/just_scripts/build-live-iso.sh @@ -7,7 +7,7 @@ cd "${project_root}" image_name="${IMAGE_NAME:-localhost/$(just image_name)}" image_tag="${IMAGE_TAG:-$(just generate-default-tag)}" -live_base_image="${LIVE_BASE_IMAGE:-quay.io/fedora/fedora-kinoite:45}" +live_base_image="${LIVE_BASE_IMAGE:-}" titanoboa_repository="${TITANOBOA_REPOSITORY:-https://github.com/Zeglius/titanoboa.git}" titanoboa_revision="${TITANOBOA_REVISION:-7737f4748458252ac827dca14b3d6dd09298472a}" source_image="${image_name}:${image_tag}" @@ -24,6 +24,7 @@ install_image_ref="${ostree_image_ref#ostree-image-signed:docker://}" install_image_ref="${install_image_ref#ostree-unverified-registry:docker://}" install_image_ref="${install_image_ref#docker://}" payload="${install_image_ref}:${image_tag}" +installer_image="localhost/aerocore-os-installer:${image_tag}" output_dir="${project_root}/output" payload_archive="${output_dir}/install-payload.oci" iso="${output_dir}/aerocore-os-${image_tag}-live-amd64.iso" @@ -108,6 +109,12 @@ validate_install_payload() { mkdir -p "${output_dir}" ensure_rootful_image validate_install_payload +if [[ -z "${live_base_image}" ]]; then + fedora_version="$("${podman_cmd[@]}" run --rm --network none --entrypoint /usr/bin/rpm "${source_image}" -E %fedora)" + [[ "${fedora_version}" =~ ^[0-9]+$ ]] || { echo "Invalid Fedora version: ${fedora_version}" >&2; exit 1; } + [[ "${fedora_version}" == 45 ]] || { echo "Expected Fedora 45 payload, got ${fedora_version}" >&2; exit 1; } + live_base_image="ghcr.io/ublue-os/bazzite:stable-45.20261112" +fi "${podman_cmd[@]}" tag "${source_image}" "${payload}" "${podman_cmd[@]}" save --format oci-archive --output "${payload_archive}" "${payload}" @@ -120,7 +127,7 @@ validate_install_payload --build-arg "INSTALL_IMAGE_PAYLOAD_ARCHIVE=/install-payload.oci" \ --build-arg "INSTALL_IMAGE_TAG=${image_tag}" \ --build-arg "OSTREE_IMAGE_REF=${ostree_image_ref}" \ - --tag "${payload}" \ + --tag "${installer_image}" \ --file installer/Containerfile \ . @@ -144,7 +151,7 @@ git -C "${tmp_titanoboa}" checkout --quiet "${titanoboa_revision}" cd "${tmp_titanoboa}" env \ CI=1 \ - TITANOBOA_CTR_IMAGE="${payload}" \ + TITANOBOA_CTR_IMAGE="${installer_image}" \ TITANOBOA_OUTPUT_DIR="${tmp_titanoboa}/output" \ "${tmp_titanoboa}/main.sh" ) diff --git a/tests/test-aerocore-anaconda-profile.sh b/tests/test-aerocore-anaconda-profile.sh index 3b3bb61..aa9e7b5 100755 --- a/tests/test-aerocore-anaconda-profile.sh +++ b/tests/test-aerocore-anaconda-profile.sh @@ -8,6 +8,8 @@ build_script="${project_root}/installer/build.sh" grep -qx 'profile_id = aerocore' "${profile}" grep -qx 'os_id = aerocore' "${profile}" +grep -qx 'physical_root = /var/mnt/sysimage' "${profile}" +grep -qx 'system_root = /var/mnt/sysroot' "${profile}" grep -Fqx "sed -i 's/^ID=.*/ID=aerocore/' /usr/lib/os-release" "${build_script}" if grep -Eq '^[[:space:]]*(UserSpoke|anaconda-screen-accounts)[[:space:]]*$' "${profile}"; then |
