Skip to content

Fedora obs-repos fails with systemd.gpg not found #169

Description

@immuter

On a clean particleos system, setting mkosi.local.conf to

[Distribution]
Distribution=fedora
[Config]
Profiles=obs-repos

results in systemd.gpg not found.

Looking at mkosi.profiles/obs-repos/mkosi.conf.d/fedora/mkosi.conf.d/rawhide-tools.conf, which contains

# SPDX-License-Identifier: LGPL-2.1-or-later

[Match]
ToolsTreeDistribution=fedora
ToolsTreeRelease=rawhide

[Build]
ToolsTreeSandboxTrees=systemd.gpg:/usr/share/pki/rpm-gpg/systemd.gpg
                      rawhide.repo:/etc/yum.repos.d/systemd.repo

We can see it is looking for these in mkosi.profiles/obs-repos/mkosi.conf.d/fedora/ not mkosi.profiles/obs-repos/systemd.gpg and mkosi.profiles/obs-repos/mkosi.conf.d/fedora/mkosi.conf.d/rawhide.repo. Confusingly other files in the same directory look to different locations.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions