mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-04-14 11:39:44 +08:00
Make directory /etc/module-build-service instead of link
rhpkg could be installed inside Vagrant machine to run MBS with internal infra. rhpkg installs config file into /etc/module-build-service, which could fail with following error if /etc/module-build-service is a link to /opt/module_build_service/conf. error: unpacking of archive failed on file /etc/module-build-service/redhat.py;5be25ac4: cpio: chown Signed-off-by: Chenxiong Qi <cqi@redhat.com>
This commit is contained in:
6
Vagrantfile
vendored
6
Vagrantfile
vendored
@@ -48,9 +48,9 @@ $script = <<SCRIPT
|
||||
wget \
|
||||
which
|
||||
|
||||
if [ ! -e /etc/module-build-service ]; then
|
||||
ln -s /opt/module_build_service/conf /etc/module-build-service
|
||||
fi
|
||||
mbs_config_dir=/etc/module-build-service
|
||||
[ -e "$mbs_config_dir" ] || mkdir "$mbs_config_dir"
|
||||
cp -r /opt/module_build_service/conf/* "$mbs_config_dir"
|
||||
SCRIPT
|
||||
|
||||
$make_devenv = <<DEVENV
|
||||
|
||||
Reference in New Issue
Block a user