Commit graph

30 commits

Author SHA1 Message Date
Martin Pitt
99bfa2406a Define tree for pitti's workstation
Also add helper script for running the ostree build.
2022-08-14 23:08:43 +02:00
Martin Pitt
8db4392080 Remove unwanted packages for pitti's workstation 2022-08-14 23:08:43 +02:00
Timothée Ravier
c4a7e20f41 Fix Rawhide -> F34 branching 2022-08-14 23:08:43 +02:00
Timothée Ravier
e02e26439b fedora-common-ostree: Add ncurses
Provides terminal tools like clear, reset, tput, and tset

Fixes: https://github.com/fedora-silverblue/issue-tracker/issues/253

Cherry-picked from: https://pagure.io/workstation-ostree-config/c/1628cb19bf7130f2475fa178fd2311798518e8b7?branch=main
2022-04-20 13:46:19 +02:00
Allison Karlitskaya
7c20a91792 Revert "Add minimal -devel packages as needed to build kernel modules"
This reverts commit 31ad6acced.

With the addition of the fedora-updates-archive repository to fedora-repos, our
concern about not being able to find the correct -devel packages to install
have disappeared.  Additionally, the kernel now ships -matched versions
of its packages (to allow matching headers to the main kernel package)
and akmods depends on the matched package, which means that we are sure
to get the package we need.

See also: https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1195
See also: https://src.fedoraproject.org/rpms/akmods/pull-request/3
2022-02-16 18:53:59 +01:00
Tomas Hrcka
b550a02c83 Branch F36 from rawhide
Signed-off-by: Tomas Hrcka <thrcka@redhat.com>
2022-02-08 13:59:53 +01:00
Timothée Ravier
eb48de275c fedora-common-ostree: Move post script inline
This was difficult with the JSON based manifests but is now easy with
the YAML ones.
2022-01-21 11:32:12 +01:00
Timothée Ravier
167a5f0097 fedora-common-ostree: Minor cosmetic fix 2021-11-15 20:12:06 +01:00
Timothée Ravier
d82eefe7c3 Revert "Use sqlite instead of bdb for rpmdb"
This is now the default for rpm-ostree in F34+.

This reverts commit a2743ec5de.
2021-08-19 20:09:48 +02:00
Tomas Hrcka
2852268aab Rawhide is now f36
Signed-off-by: Tomas Hrcka <thrcka@redhat.com>
2021-08-10 14:23:18 +02:00
Kalev Lember
ff60c0a260 Explicitly include grub2-pc instead of grub2
This makes the listing more explicit but shouldn't change the package
set as grub2-pc provides grub2.
2021-05-17 11:24:17 +02:00
Kalev Lember
c6aa31404a Include shim and grub2 packages for 32-bit EFI firmware
https://pagure.io/workstation-ostree-config/issue/217
2021-05-17 10:58:58 +02:00
Timothée Ravier
e414f58612 Switch to per variant fedora-release-* package
Move the fedora-release-* package requirement to each variant treefile
to enable per variant specifc release package. Silverblue keeps its
existing release package and Kinoite gets its own for Fedora 35:
https://fedoraproject.org/wiki/Changes/Fedora_Kinoite

For now, all other unofficial variants will use the Fedora generic
release package (or the corresponding Spin release package) with the
ostree counting and desktop sub packages to enable those features by
default.
2021-05-10 18:16:15 +02:00
Kalev Lember
d57d538e39 fedora-common-ostree: Drop flatpak-builder
People who do local flatpak builds can use flatpak-builder from toolbox,
or just use flathub gnome-builder that bundles flatpak-builder.
2021-03-29 17:19:54 +02:00
Timothée Ravier
a2743ec5de
Use sqlite instead of bdb for rpmdb 2021-02-19 11:13:41 +01:00
Tomas Hrcka
29db52d114 Setup for rawhide being F35
Signed-off-by: Tomas Hrcka <thrcka@redhat.com>
2021-02-09 14:48:30 +01:00
Timothée Ravier
110d9296dc
Make sure all openh264 packages are always excluded
According to https://fedoraproject.org/wiki/OpenH264, we can not ship
this in Silverblue.
2021-02-03 20:26:37 +01:00
Timothée Ravier
2dee7622f1
fedora-common-ostree: Switch to modules for boot-location
Fixes the following warning:
warning: boot-location: "new" is deprecated, use boot-location: modules

From the rpm-ostree docs (https://coreos.github.io/rpm-ostree/treefile/):

  - “new”: A misnomer, this value is no longer “new”. Kernel data goes
    in /usr/lib/ostree-boot in addition to /usr/lib/modules. This is the
    default; use it if you have a need to care about upgrading from very
    old versions of libostree.

  - “modules”: Kernel data goes just in /usr/lib/modules. Use this for
    new systems, and systems that don’t need to be upgraded from very
    old libostree versions.
2021-01-04 12:16:04 +01:00
Dusty Mabe
5ee6bcec86
fedora-common-ostree: add archive repo to Silverblue
This is the culmination of a lot of work to make package layering
more reliable. This archive repo provides all packages that have
ever been in the updates repository, which means there should always
be a solution that will depsolve given the existing set of base layer
packages.

Pairing this along with https://github.com/coreos/rpm-ostree/pull/2125
means that we should finally see less of the split base layer vs update
repo problem and see less `Forbidden base package replacements` errors.

For context see https://github.com/coreos/fedora-coreos-tracker/issues/400
2020-11-30 11:33:13 -05:00
Adam Williamson
6cda332fc8 thermald is x86_64 only
As with mcelog and microcode_ctl, add it to the blocklist and
list it manually in packages-x86_64 in fedora-common-ostree.yaml
instead. This should fix non-x86_64 arches which are failing
because they can't find it.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-09-17 16:14:52 -07:00
Tomas Hrcka
f6f2ce56ba Setup for rawhide being F34
Signed-off-by: Tomas Hrcka <thrcka@redhat.com>
2020-08-10 16:32:33 +02:00
Kalev Lember
c18ef957d1 Use fedora-release-silverblue instead of -workstation
This gets us proper branding.
2020-03-04 10:32:44 +01:00
Kalev Lember
8fbb33e126 Exclude PackageKit
Now that rpm-ostree supports exclude-packages in treefile, we can
finally exclude PackageKit (it's Recommended by gnome-software, but
nothing hard-requires it).
2020-02-12 19:25:35 +00:00
Kalev Lember
d7e2f2b38d Move xorg-x11-drv-armada to armhfp-only packages 2020-02-12 18:06:06 +01:00
Mohan Boddu
5d8df8b4b5 Setup for rawhide being F33
Signed-off-by: Mohan Boddu <mboddu@bhujji.com>
2020-02-11 09:42:21 -05:00
Tomas Hrcka
e7f257df8c Changes for Rawhide being F32
Signed-off-by: Tomas Hrcka <thrcka@redhat.com>
2019-08-12 17:05:55 +02:00
dftxbs3e
338ba16626 Blacklist x86_64 specific packages and make them arch specific
Signed-off-by: dftxbs3e <dftxbs3e@free.fr>
2019-05-07 20:39:27 +02:00
Timothée Ravier
ebf129e4f8 Add some minor comments 2019-04-07 13:41:24 +02:00
Timothée Ravier
b461398aef Move packages needed for all variants to common manifest 2019-04-07 13:41:06 +02:00
Timothée Ravier
7c611d9d0d Convert all remaining json manifests to yaml
This conversion can be validated using this script:

 #!/bin/bash

mkdir -p repo && cd repo && ostree init --repo . --mode=archive && cd ..
variants=('silverblue' 'kinoite' 'xfce' 'lxqt')

for v in ${variants[@]}; do
    sudo rpm-ostree compose tree --repo=repo --print-only fedora-$v.yaml > $v.yaml.out
done

git checkout --quiet HEAD~
for v in ${variants[@]}; do
    sudo rpm-ostree compose tree --repo=repo --print-only fedora-$v.yaml > $v.json.out
done

for v in ${variants[@]}; do
    if [[ ! -z $(diff $v.json.out $v.yaml.out) ]]; then
        echo ""
        echo "$v: JSON != YAML"
        diff $v.json.out $v.yaml.out
        echo ""
        has_diff="true"
    fi
done

git checkout --quiet master
rm -rf ./repo
for v in ${variants[@]}; do
    rm ./$v.json.out ./$v.yaml.out
done

if [[ $has_diff == "true" ]]; then
    echo "Found some diff!"
else
    echo "OK!"
fi
2019-04-07 13:41:06 +02:00