run-koji-container: don't fail if share dir exists
We need to drop in the RPMs into the share-dir before the hub container is started, so don't fail if the directory already exists.
This commit is contained in:
parent
2682911556
commit
7a366eca7a
1 changed files with 1 additions and 1 deletions
|
|
@ -48,7 +48,7 @@ koji_start() {
|
|||
trap koji_clean_up_bad_start EXIT
|
||||
|
||||
# create a share directory which is used to share files between the host and containers
|
||||
mkdir "${SHARE_DIR}"
|
||||
mkdir -p "${SHARE_DIR}"
|
||||
|
||||
# generate self-signed certificates in the share directory
|
||||
openssl req -new -nodes -x509 -days 365 -keyout "${SHARE_DIR}/ca-key.pem" -out "${SHARE_DIR}/ca-crt.pem" -subj "/CN=osbuild.org"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue