Commit graph

5 commits

Author SHA1 Message Date
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
Sinny Kumari
131a1ef86d Include fedora-repos-ostree package in Silverblue ostree compose
Provides default ostree remote config

Signed-off-by: Sinny Kumari <sinny@redhat.com>
2019-03-29 01:13:46 +00:00
Alexander Larsson
31ad6acced Add minimal -devel packages as needed to build kernel modules
As discussed in the forum[1], package layering can work for building kernel
modules, such as the nvidia driver. However, there are some problems
with the -devel packages needed, as they need to match the exact version
in the base image, and once the version bumps in the yum repo the old
version isn't even available.

So, this adds the minimal set of -devel packages needed to build a a kmod.
This isn't enough to build a kernel module, but the rest needed can much
more easily be layered.

Given the current rawhide dependencies this adds the following packages:
 * elfutils-libelf-devel
 * glibc-devel
 * glibc-headers
 * kernel-devel
 * kernel-headers
 * libxcrypt-devel
 * zlib-devel

This adds about 100 megs to a 4 gigabyte image, which I think is a fair
compromise in order to be able to build kernel modules and support
the nvidia drivers.

[1] https://discussion.fedoraproject.org/t/supporting-the-nvidia-drivers-on-silverblue/849/6
2018-12-20 09:02:39 +01:00
Dusty Mabe
ece0b04473
add in hfsplus-tools rpm for HFS filesystem on Macs
See https://github.com/projectatomic/rpm-ostree/issues/1380
2018-11-16 08:21:05 -05:00
Colin Walters
2fe083091f Migrate Silverblue definition to YAML, add rojig
Prep for adding a rojig build.
2018-11-13 12:56:04 -05:00