DevHeads.net

Postings by Jan Pazdziora

What to do when Fedora CI run failed?

Hello,

I have run fedora-rawhide-build-pipeline

<a href="https://jenkins-continuous-infra.apps.ci.centos.org/blue/organizations/jenkins/fedora-rawhide-build-pipeline/detail/fedora-rawhide-build-pipeline/4426/pipeline/" title="https://jenkins-continuous-infra.apps.ci.centos.org/blue/organizations/jenkins/fedora-rawhide-build-pipeline/detail/fedora-rawhide-build-pipeline/4426/pipeline/">https://jenkins-continuous-infra.apps.ci.centos.org/blue/organizations/j...</a>

that failed in the

cloud-image-compose

stage, something which (I believe) have very little control over.

What is the recommended way to remedy the situation, for example for
reruning that pipeline run?

Detecting building package on rawhide

Hello,

I try to create SWID Tags for Fedora and I'd like to be able to
distinguish when running the rpm build on rawhide, as opposed to
"released" version.

Checking rpm --showrc, I can see rawhide sets %{fedora} to 29 and
there does not seem any mention of rawhide in the showrc output.

What would people recommend to distinguish rawhide from non-rawhide?
For now I'm running the builds in copr but eventually I'd like for
it to work in koji as well.

Thank you,

Packaging /run/lock/* directories breaks installation in containers

Hello,

the page

<a href="https://fedoraproject.org/wiki/Packaging:Tmpfiles.d" title="https://fedoraproject.org/wiki/Packaging:Tmpfiles.d">https://fedoraproject.org/wiki/Packaging:Tmpfiles.d</a>

suggests to specify /run/%{name}/ directories and files in %files and
then says

Files placed in the subdirectories may be listed the same way
or omitted entirely as the files will be cleaned up on every
reboot.

I assume it talks about subdirectories of that /run/%{name}/.

However, how about subdirectories like /run/lock/%{name}/ ?

In Fedora base container images, the /run is empty.