This repository has been archived by the owner on Dec 9, 2022. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Podman runs rootless and without a daemon in the background. Read about the dependencies here: https://github.com/containers/podman/blob/main/docs/tutorials/rootless_tutorial.md
--userns=keep-id
and theZ
volume option make sure that permissions on shared filesystem resources (build_feed
and the output directory) work alright between container and host.set -ex
and buildrootV=s
. A human only ever reads this script's output when an automated build has failed, in which case they want a certain level of detail.-j8
onmake
doesn't have any effect in our case.The script eventually fails at
make package/index
for lack of a signing key, which is a separate issue I guess. A key could easily be placed at./build-key
and then be accessible at/home/build/repobuilder/build-key
, which could be symlinked into the buildroot.Tested on Fedora 36