build: Drop hardcoded `--cmd /usr/bin/bash`
Depends
Also while we have the patient open, use the new preferred verb
`encapsulate` instead of `export`.
@@ -402,7 +402,7 @@ else
;;
null|oci)
ostree_tarfile_path="${name}-${buildid}-ostree.${basearch}.ociarchive"
- ostree container 'export' --cmd /usr/bin/bash --repo="${tmprepo}" "${buildid}" oci-archive:"${ostree_tarfile_path}".tmp:latest
+ ostree container encapsulate --repo="${tmprepo}" "${buildid}" oci-archive:"${ostree_tarfile_path}".tmp:latest
;;
*) fatal "Unknown ostree-format: ${ostree_format}"
esac
