workstation-ostree-config/fedora-common-ostree.yaml

119 lines
3.0 KiB
YAML
Raw Permalink Normal View History

2022-05-11 23:12:32 +02:00
ref: fedora/rawhide/${basearch}/ostree-base
2022-05-11 23:12:32 +02:00
automatic_version_prefix: "35"
mutate-os-release: "35"
include: fedora-common-ostree-pkgs.yaml
packages:
- git-core
2022-05-11 23:12:32 +02:00
- lvm2
- rpm-ostree
2019-04-06 19:04:22 +02:00
# Container management
- buildah
- podman
- skopeo
- toolbox
2021-05-01 13:49:27 +02:00
# Flatpak support
- flatpak
- xdg-desktop-portal
2022-05-11 23:12:32 +02:00
# HFS filesystem tools for Apple hardware
# See https://github.com/projectatomic/rpm-ostree/issues/1380
- hfsplus-tools
# Bundle the minimal -devel packages needed to build a kernel.
# This is needed because we can't rely on layering to install these
# due to version conflicts with the base image.
- glibc-devel
- kernel-devel
- elfutils-libelf-devel
# Contains default ostree remote config to be used on client's
# system for fetching ostree update
- fedora-repos-ostree
# the archive repo for more reliable package layering
# https://github.com/coreos/fedora-coreos-tracker/issues/400
- fedora-repos-archive
selinux: true
documentation: true
boot-location: modules
etc-group-members:
- wheel
tmp-is-dir: true
2022-05-11 23:12:32 +02:00
postprocess-script: post.sh
ignore-removed-users:
- root
ignore-removed-groups:
- root
check-passwd:
type: file
filename: passwd
check-groups:
type: file
filename: group
default_target: graphical.target
# Keep this in sync with fedora-atomic-host.json from fedora-atomic
packages-aarch64:
- grub2-efi
- ostree-grub2
- efibootmgr
- shim
packages-armhfp:
- extlinux-bootloader
- xorg-x11-drv-armada
packages-ppc64:
- grub2
- ostree-grub2
packages-ppc64le:
- grub2
- ostree-grub2
packages-x86_64:
- grub2-efi-ia32
- grub2-efi-x64
- grub2-pc
- ostree-grub2
- efibootmgr
- shim-ia32
- shim-x64
- microcode_ctl
- mcelog
- thermald
2022-05-11 23:12:32 +02:00
- hyperv-daemons
- open-vm-tools-desktop
- virtualbox-guest-additions
- xorg-x11-drv-intel
- xorg-x11-drv-openchrome
- xorg-x11-drv-vesa
- xorg-x11-drv-vmware
# Make sure the following are not pulled in when Recommended by other packages
exclude-packages:
- PackageKit
# We can not include openh264. See https://fedoraproject.org/wiki/OpenH264
- gstreamer1-plugin-openh264
- mozilla-openh264
- openh264
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