rootfs: Don't fallthrough in the docker_extra_args() switch

Falling through the switch cases in docker_extra_args() looks like a
typo and causes issues when building with podman, as `--security-opt
apparmor=unconfinded" shouldn't be passed if Apparmor is no enable on
the system.

Fixes: #1241

Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
This commit is contained in:
Fabiano Fidêncio 2020-12-14 12:53:57 +01:00
parent a6d52d3da1
commit 90ec2fa802

View File

@ -200,7 +200,7 @@ docker_extra_args()
args+=" --cap-add SYS_CHROOT"
# debootstrap needs to create device nodes to properly function
args+=" --cap-add MKNOD"
;&
;;
suse)
# Required to mount inside a container
args+=" --cap-add SYS_ADMIN"