initial asahi-cosmic setup
This commit is contained in:
67
images/asahi-cosmic/manifest.yaml
Normal file
67
images/asahi-cosmic/manifest.yaml
Normal file
@@ -0,0 +1,67 @@
|
||||
metadata:
|
||||
summary: Asahi remix atomic with the cosmic desktop
|
||||
|
||||
edition: "2024" #todo: figure out what this is used for
|
||||
|
||||
# Be minimal
|
||||
recommends: false
|
||||
|
||||
# Default to `bash` in our container, the same as other containers we ship.
|
||||
container-cmd:
|
||||
- /sbin/init
|
||||
|
||||
#Settings
|
||||
#Set the default systemd target
|
||||
default_target: graphical.target
|
||||
#Set selinux to true
|
||||
selinux: true
|
||||
|
||||
include:
|
||||
- ../shared/base.yaml
|
||||
- ./asahi.yaml
|
||||
- ./packages.yaml
|
||||
|
||||
repos:
|
||||
- fedora-base
|
||||
- fedora-updates
|
||||
- fedora-asahi-remix-hotfixes
|
||||
- copr:copr.fedorainfracloud.org:group_asahi:fedora-remix-branding
|
||||
- copr:copr.fedorainfracloud.org:group_asahi:fedora-remix-scripts
|
||||
- copr:copr.fedorainfracloud.org:group_asahi:kernel
|
||||
- copr:copr.fedorainfracloud.org:group_asahi:mesa
|
||||
- copr:copr.fedorainfracloud.org:group_asahi:u-boot
|
||||
|
||||
postprocess:
|
||||
- |
|
||||
#!/usr/bin/env bash
|
||||
set -xeuo pipefail
|
||||
|
||||
# Work around https://bugzilla.redhat.com/show_bug.cgi?id=1265295
|
||||
# From https://github.com/coreos/fedora-coreos-config/blob/testing-devel/overlay.d/05core/usr/lib/systemd/journald.conf.d/10-coreos-persistent.conf
|
||||
install -dm0755 /usr/lib/systemd/journald.conf.d/
|
||||
echo -e "[Journal]\nStorage=persistent" > /usr/lib/systemd/journald.conf.d/10-persistent.conf
|
||||
|
||||
# See: https://src.fedoraproject.org/rpms/glibc/pull-request/4
|
||||
# Basically that program handles deleting old shared library directories
|
||||
# mid-transaction, which never applies to rpm-ostree. This is structured as a
|
||||
# loop/glob to avoid hardcoding (or trying to match) the architecture.
|
||||
for x in /usr/sbin/glibc_post_upgrade.*; do
|
||||
if test -f ${x}; then
|
||||
ln -srf /usr/bin/true ${x}
|
||||
fi
|
||||
done
|
||||
|
||||
# Remove loader directory causing issues in Anaconda in unified core mode
|
||||
# Will be obsolete once we start using bootupd
|
||||
rm -rf /usr/lib/ostree-boot/loader
|
||||
|
||||
# Undo RPM scripts enabling units; we want the presets to be canonical
|
||||
# https://github.com/projectatomic/rpm-ostree/issues/1803
|
||||
rm -rf /etc/systemd/system/*
|
||||
systemctl preset-all
|
||||
rm -rf /etc/systemd/user/*
|
||||
systemctl --user --global preset-all
|
||||
|
||||
# Fix triggerin for samba-client in cups package (not supported by rpm-ostree yet)
|
||||
# https://github.com/fedora-silverblue/issue-tracker/issues/532
|
||||
ln -snf /usr/libexec/samba/cups_backend_smb /usr/lib/cups/backend/smb
|
||||
Reference in New Issue
Block a user