openSUSE / obs-build

OBS build script, can be used with OBS or stand alone
GNU General Public License v2.0
130 stars 181 forks source link

podman: enforce runtime=runc #972

Closed mwilck closed 5 months ago

mwilck commented 6 months ago

With the default crun runtime of podman, "osc build" fails because the --mount option with destination=/ doesn't seem to be supported:

Error: OCI runtime error: crun: mount /mnt/git/build-root/15.5-x86_64/.mount to ``: Invalid argument

fcrozat told me on Slack that setting runc as runtime works, and indeed it does. But if build depends on this, it should rather set this runtime explitly.

Signed-off-by: Martin Wilck mwilck@suse.com