mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-17 08:53:26 +00:00
pkgs: fix path to build pkgs with docker.
Point to new obs-scripts paths. Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
This commit is contained in:
parent
e708c679e8
commit
a8bb712430
@ -8,9 +8,10 @@
|
|||||||
set -x
|
set -x
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
script_dir=$( cd $( dirname "${BASH_SOURCE[0]}" ) && pwd )
|
||||||
cache_dir=${PWD}/obs-cache
|
cache_dir=${PWD}/obs-cache
|
||||||
#where packaing repo lives
|
#where packaing repo lives
|
||||||
packaging_repo_dir="${PWD}"
|
packaging_repo_dir=$(cd "${script_dir}/.." && pwd )
|
||||||
#where results will be stored
|
#where results will be stored
|
||||||
host_datadir="${PWD}/pkgs"
|
host_datadir="${PWD}/pkgs"
|
||||||
obs_image="obs-kata"
|
obs_image="obs-kata"
|
||||||
@ -49,4 +50,4 @@ faketty sudo docker run \
|
|||||||
-v "$packaging_repo_dir":${packaging_repo_dir} \
|
-v "$packaging_repo_dir":${packaging_repo_dir} \
|
||||||
-v "$host_datadir":/var/packaging \
|
-v "$host_datadir":/var/packaging \
|
||||||
-v "$HOME/.oscrc":/root/.oscrc \
|
-v "$HOME/.oscrc":/root/.oscrc \
|
||||||
-ti "$obs_image" bash -c "${packaging_repo_dir}/build_all.sh"
|
-ti "$obs_image" bash -c "${packaging_repo_dir}/obs-packaging/build_all.sh"
|
||||||
|
Loading…
Reference in New Issue
Block a user