Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] feature: add support for cosmic desktop #11

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions 02-desktop/cosmic/manifest.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
ref: fedora/${releasever}/${basearch}/cosmic
rojig:
name: fedora-cosmic
summary: "Fedora Cosmic"
license: MIT

include:
- ../base/manifest.yaml

packages:
- tuned
- gnome-keyring
- cosmic-desktop

# Cosmic specific workarounds and configuration
postprocess:
- |
#!/bin/bash
set -xeuo pipefail

# Setup display manager
rm -f /etc/systemd/system/display-manager.service
ln -s /usr/lib/systemd/system/cosmic-greeter.service /etc/systemd/system/display-manager.service
1 change: 1 addition & 0 deletions Containerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM quay.io/fedora/fedora:40 as repos
COPY ./yum-repos /etc/yum.repos.d

FROM quay.io/centos-bootc/bootc-image-builder:latest as builder
ARG MANIFEST=fedora-bootc-full.yaml
Expand Down
17 changes: 17 additions & 0 deletions fedora-bootc-atomic-cosmic.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
releasever: 40
variables:
distro: "fedora"

repos:
- fedora
- updates
- copr:copr.fedorainfracloud.org:ryanabx:cosmic-epoch

metadata:
name: fedora-boot-atomic-cosmic
summary: Fedora Bootable Atomic Cosmic

include:
- 01-minimal/kernel.yaml
- 01-minimal/manifest.yaml
- 02-desktop/cosmic/manifest.yaml
2 changes: 1 addition & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ build-full:
.

build-atomic desktop:
podman build \
sudo podman build \
--security-opt label=disable \
--cap-add=all \
--device /dev/fuse \
Expand Down
10 changes: 10 additions & 0 deletions yum-repos/ryanabx-cosmic-epoch.repo
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[copr:copr.fedorainfracloud.org:ryanabx:cosmic-epoch]
name=Copr repo for cosmic-epoch owned by ryanabx
baseurl=https://download.copr.fedorainfracloud.org/results/ryanabx/cosmic-epoch/fedora-$releasever-$basearch/
type=rpm-md
skip_if_unavailable=True
gpgcheck=1
gpgkey=https://download.copr.fedorainfracloud.org/results/ryanabx/cosmic-epoch/pubkey.gpg
repo_gpgcheck=0
enabled=1
enabled_metadata=1
Loading