diff --git a/ci/deploy.sh b/ci/deploy.sh index 78fbd93..a45d0a1 100755 --- a/ci/deploy.sh +++ b/ci/deploy.sh @@ -28,7 +28,7 @@ fi if [[ "$TRAVIS_BRANCH" == "master" ]] then - export AWS_DEFAULT_REGION=eu-west-1 + export AWS_DEFAULT_REGION=auto # Upload image # The put is done via a temporary filename in order to prevent outage on the # production file for a longer period of time. diff --git a/lib/core/build.sh b/lib/core/build.sh index 8406c97..45f3631 100644 --- a/lib/core/build.sh +++ b/lib/core/build.sh @@ -62,7 +62,7 @@ function build_image_env(){ info "Installing pacman and its dependencies..." # All the essential executables (ln, mkdir, chown, etc) are in coreutils # bwrap command belongs to bubblewrap - sudo pacstrap -G -M -d "${maindir}"/root pacman coreutils bubblewrap + sudo pacstrap -G -M "${maindir}"/root pacman coreutils bubblewrap if [[ ${ARCH} != "arm" ]] then