Skip to content

Commit

Permalink
build: improve docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
abertschi committed May 3, 2024
1 parent beafa64 commit e4fec0c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 3 additions & 3 deletions build.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/bash

set -o errexit
set -o nounset
set -o pipefail
# set -o errexit
# set -o nounset
# set -o pipefail

SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )

Expand Down
2 changes: 0 additions & 2 deletions common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@ build_install_ovmf_edk2()

if [ -d edk2 ]; then
echo "./edk2 directory already exist. do not re-init"
popd >/dev/null
else
echo "cloning repository ${OVMF_GIT_URL}"
run_cmd git clone --single-branch -b ${OVMF_BRANCH} ${OVMF_GIT_URL} edk2
Expand Down Expand Up @@ -209,7 +208,6 @@ build_install_qemu()

if [ -d qemu ]; then
echo "./qemu directory already exist. do not re-init"
popd >/dev/null
else
echo "cloning repository ${QEMU_GIT_URL}"
run_cmd git clone --single-branch -b ${QEMU_BRANCH} ${QEMU_GIT_URL} qemu
Expand Down

0 comments on commit e4fec0c

Please sign in to comment.