History log of /openbmc/openbmc-build-scripts/qemu-build.sh (Results 1 – 25 of 27)
Revision Date Author Comments
# 4b4c8ec0 25-Sep-2023 Andrew Geissler <geissonator@yahoo.com>

qemu-build.sh: add python3-venv dependency

The latest 8.1 QEMU requires this be in the docker image now

Tested:
- Confirmed I can build latest openbmc/qemu with this

Change-Id: Ib2163840402f2034d6

qemu-build.sh: add python3-venv dependency

The latest 8.1 QEMU requires this be in the docker image now

Tested:
- Confirmed I can build latest openbmc/qemu with this

Change-Id: Ib2163840402f2034d600f419d83dbef641362cf6
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>

show more ...


# 851eaff9 22-Dec-2022 Andrew Geissler <geissonator@yahoo.com>

qemu: misc fixes for new qemu release

- Ensure qemu is built in same ubuntu distro as where it is run
- Add new libslirp-dev dep to docker container that executes qemu

Signed-off-by: Andrew Geissle

qemu: misc fixes for new qemu release

- Ensure qemu is built in same ubuntu distro as where it is run
- Add new libslirp-dev dep to docker container that executes qemu

Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: Iaa58d097de0377e4bb5ee229c5ec267ebe4565a7

show more ...


# 4a015826 19-Dec-2022 Andrew Geissler <geissonator@yahoo.com>

qemu: misc container changes required for latest qemu

The latest QEMU requires Ubuntu 20 or later and removed support for a
build parameter. Cedric also mentioned that the container should have
libs

qemu: misc container changes required for latest qemu

The latest QEMU requires Ubuntu 20 or later and removed support for a
build parameter. Cedric also mentioned that the container should have
libslirp-dev installed.

Tested:
- Verified script now builds latest openbmc/qemu

Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: If8170c9b89969107a237635bd66a2eac723934d0

show more ...


# 476a7e99 06-Dec-2022 Patrick Williams <patrick@stwcx.xyz>

format shell scripts with beautysh

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ie72911e0f57a1f69b0bf317de8c52947886e1303


# f98f1a8d 21-Dec-2021 Thang Q. Nguyen <thang@os.amperecomputing.com>

Use native docker images for scripts on aarch64 Host OS

Commit 051b05b7 support aach64 Host OS to execute scripts. However, it
does not set DOCKER_BASE parameter which consequently uses x86_64 docke

Use native docker images for scripts on aarch64 Host OS

Commit 051b05b7 support aach64 Host OS to execute scripts. However, it
does not set DOCKER_BASE parameter which consequently uses x86_64 docker
images instead of arm64v8 image.
This commit sets DOCKER_BASE to arm64v8/ to use native docker images.

Tested:
1. Set environment variables appropriately and execute scripts. Ensure
all docker images loaded successfully and scripts can execute without
issue.

Signed-off-by: Thang Q. Nguyen <thang@os.amperecomputing.com>
Change-Id: I3c09d448dae17f290f2c2fd1d8116167510635b6

show more ...


# 051b05b7 10-Dec-2021 Thang Q. Nguyen <thang@os.amperecomputing.com>

Add support aarch64 architecture

Support to run scripts in aarch64 Host Linux.

Tested: execute the scripts changed in this commit in Aarch64 Host
Ubuntu OS and check they can ex

Add support aarch64 architecture

Support to run scripts in aarch64 Host Linux.

Tested: execute the scripts changed in this commit in Aarch64 Host
Ubuntu OS and check they can execute successfully

Signed-off-by: Thang Q. Nguyen <thang@os.amperecomputing.com>
Change-Id: Idde23fbd09c5000c710f4f6d88793fefbb0cb04c

show more ...


# 41826806 14-Jan-2021 Andrew Jeffery <andrew@aj.id.au>

qemu-build: Update system dependencies

qemu 5.2 requires bzip2 and ninja-build. Install them.

Change-Id: I18d2e7d9e997fc70f993713b14828947c5c50b61
Signed-off-by: Andrew Jeffery

qemu-build: Update system dependencies

qemu 5.2 requires bzip2 and ninja-build. Install them.

Change-Id: I18d2e7d9e997fc70f993713b14828947c5c50b61
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>

show more ...


# a311abc5 14-Jan-2021 Andrew Jeffery <andrew@aj.id.au>

qemu-build: Update base image to ubuntu:bionic

qemu 5.2 fails to build under Ubuntu 16.04. Upgrade to the base image
to the one specified by scripts/build-qemu-robot-docker.sh (bionic,

qemu-build: Update base image to ubuntu:bionic

qemu 5.2 fails to build under Ubuntu 16.04. Upgrade to the base image
to the one specified by scripts/build-qemu-robot-docker.sh (bionic,
18.04).

Change-Id: Id135f0c3118a6aa997ddcd578fe98af4a9ae17de
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>

show more ...


# 384d741b 06-Nov-2020 Patrick Williams <patrick@stwcx.xyz>

shellcheck: clean up shellcheck warnings and enable

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ibc843b98c0fea97a31d3d15b556a32f091bf8e47


# a3f390e1 15-Jan-2019 Joel Stanley <joel@jms.id.au>

qemu: Add ca-certificates to container

Qemu builds are failing due to git's inability to verify a certificate:

fatal: unable to access 'https://git.qemu.org/git/capstone.git/':

qemu: Add ca-certificates to container

Qemu builds are failing due to git's inability to verify a certificate:

fatal: unable to access 'https://git.qemu.org/git/capstone.git/':
Problem with the SSL CA cert (path? access rights?)

This is because the system does not have the CA certificate package
installed.

Change-Id: Ibfff0927dd551eed38901efa4400e7e5b328595f
Signed-off-by: Joel Stanley <joel@voyager.ozlabs.ibm.com>

show more ...


# b23c4cc4 31-Oct-2018 Joel Stanley <joel@jms.id.au>

qemu-build: Simplify

This reverts some of the changes to the script made to support features
other than what it was meant to do: build a docker image, and build qemu
in that image.

qemu-build: Simplify

This reverts some of the changes to the script made to support features
other than what it was meant to do: build a docker image, and build qemu
in that image.

In it's current form it's failing to produce a qemu artifact for the CI
system to use. By simplifying it we have a better chance of debugging
the issue, and in fact the issue has gone away.

Change-Id: Ia757c1139e964b240ea4a54ecc7e24a5894e4cd9
Signed-off-by: Joel Stanley <joel@jms.id.au>

show more ...


# e32aaeeb 24-Oct-2018 Joel Stanley <joel@jms.id.au>

qemu-build: Disable -Werror

Werror is useful for the qemu developers, but not for us. When building
for CI we want a binary to be produced if at all possible.

Change-Id: Ife36a3

qemu-build: Disable -Werror

Werror is useful for the qemu developers, but not for us. When building
for CI we want a binary to be produced if at all possible.

Change-Id: Ife36a3d97100ed64c280acee766887c8c5d68dd8
Signed-off-by: Joel Stanley <joel@jms.id.au>

show more ...


# 62d18027 14-Aug-2018 Joel Stanley <joel@jms.id.au>

qemu-build: Set ARCH before using it

Change-Id: Ic3cd4de7f29f690648c0c026c9b9898699497e9f
Signed-off-by: Joel Stanley <joel@jms.id.au>


# 4696770c 25-Feb-2018 Alanny Lopez <alannyglopez@gmail.com>

Adjust the headers and variables to be alphabetical

Change-Id: I179d17b2413be92f568921c2cd102a1e72895681
Signed-off-by: Alanny Lopez <alannyglopez@gmail.com>


# 1246b038 24-Feb-2018 Alanny Lopez <alannyglopez@gmail.com>

Update Variable Naming Convention

Variables in qemu-build.sh, build-jenkins.sh, build-setup.sh,
and kubernetes-launch.sh updated to use the same convention across
different scripts.

Update Variable Naming Convention

Variables in qemu-build.sh, build-jenkins.sh, build-setup.sh,
and kubernetes-launch.sh updated to use the same convention across
different scripts.

Change-Id: Ice9ef2f47b0fbf125eadd235f63b79abafdc2dd7
Signed-off-by: Alanny Lopez <alannyglopez@gmail.com>

show more ...


# e08e8702 24-Feb-2018 Alanny Lopez <alannyglopez@gmail.com>

Standardize/Update Headers, Use Declarative Paths

Updated the headers so they would be standardized to follow the same
conventions as used in the build-jenkins.sh.

Changed the s

Standardize/Update Headers, Use Declarative Paths

Updated the headers so they would be standardized to follow the same
conventions as used in the build-jenkins.sh.

Changed the sourcing of the kubernetes-launch.sh, now will use a
declarative path instead of the relative paths.

Had a few comment changes I felt were better explanations.

Change-Id: I8fa44443b5eeb893ba93b0be5d7cadae14a63c08
Signed-off-by: Alanny Lopez <alannyglopez@gmail.com>

show more ...


# 5158a324 23-Oct-2017 Saqib Khan <khansa@us.ibm.com>

Add iputils-ping to the build scripts

iputils-ping is a required tool for yocto-2.3.

Change-Id: I51834fbc542f88c5f1e673428edb9a56a4f58862
Signed-off-by: Saqib Khan <khansa@us.ib

Add iputils-ping to the build scripts

iputils-ping is a required tool for yocto-2.3.

Change-Id: I51834fbc542f88c5f1e673428edb9a56a4f58862
Signed-off-by: Saqib Khan <khansa@us.ibm.com>

show more ...


# 51186883 01-Aug-2017 Alanny Lopez <alanny.lopez@ibm.com>

Launch script will now tag instead of build images

Made this change to shift the building of the Dockerfile away from the
helper script. Instead the build will now be done by invoker scr

Launch script will now tag instead of build images

Made this change to shift the building of the Dockerfile away from the
helper script. Instead the build will now be done by invoker scripts.
Then doing the helper script will tag that built image with a new name
that will be used to replace the old image name. This change updates the
build-setup.sh, the qemu-build.sh, and the kubernetes-launch.sh

Change-Id: I2d82e30b5e427bc46ac327541c58eebe9e6efd52
Signed-off-by: Alanny Lopez <alanny.lopez@ibm.com>

show more ...


# a61e99ab 27-Jun-2017 Alanny Lopez <alanny.lopez@ibm.com>

Isolated the build directory

The build directory was whatever path the qemudir had. To adjust for
allowing external mounts to be used such as NFS have made it so that the
script will

Isolated the build directory

The build directory was whatever path the qemudir had. To adjust for
allowing external mounts to be used such as NFS have made it so that the
script will use the qemudir to create an internal copy where the build
will happen so that files in the qemudir will not be affected. The
artifacts for the image will be found in ${WORKSPACE}/arm-softmmu.

Change-Id: I21cfc8c5a7817de0b8641bb4d4f0b635904dd1bc
Signed-off-by: Alanny Lopez <alanny.lopez@ibm.com>

show more ...


# 634ce36d 23-Jun-2017 Alanny Lopez <alanny.lopez@ibm.com>

Update the Qemu-build to source in helper script

Qemu build script will now call in the kubernetes helper if launch
is set to pod or job. To satisfy this update, added new templates

Update the Qemu-build to source in helper script

Qemu build script will now call in the kubernetes helper if launch
is set to pod or job. To satisfy this update, added new templates
to launch the container into kubernetes cluster as a job or a pod.
In addition added the default variables for the template that are not
defined in the qemu-build.sh script.

Change-Id: I92fee4c6a6c2e734f840d16af026afbbab4f3fb1
Signed-off-by: Alanny Lopez <alanny.lopez@ibm.com>

show more ...


# cce369b6 20-Jun-2017 Alanny Lopez <alanny.lopez@ibm.com>

Added qemudir Variable and Updated Header.

The qemudir variable will be used to specify the QEMU directory. Added a
check to the docker run command to avoid mount conflicts and changed h

Added qemudir Variable and Updated Header.

The qemudir variable will be used to specify the QEMU directory. Added a
check to the docker run command to avoid mount conflicts and changed how
we enter the qemu build directory to be the full path. Update header to
be more descriptive.

Change-Id: I78d012db2b758c53115c0e7c3f126102d2d01310
Signed-off-by: Alanny Lopez <alanny.lopez@ibm.com>

show more ...


# 41e2ada2 15-Jun-2017 Alanny Lopez <alanny.lopez@ibm.com>

Prep the script for Kubernetes Integration.

Add the launch parameter, move the docker run command into an if
statement that checks for the launch type to be empty. Add git submodule

Prep the script for Kubernetes Integration.

Add the launch parameter, move the docker run command into an if
statement that checks for the launch type to be empty. Add git submodule
update to build.sh script. It seems it needs it to be able to
successfully build out of OpenBMC/QEMU repo.

Change-Id: I6f68f89812c7329c815822644e873245e1236355
Signed-off-by: Alanny Lopez <alanny.lopez@ibm.com>

show more ...


# e30237ca 15-Jun-2017 Alanny Lopez <alanny.lopez@ibm.com>

Command Reformatting

Update the format of the ./configure and Docker run command to now use
one option per line and to use 4 spaces for indentation.

Change-Id: Ia8053dd6b5ed8352

Command Reformatting

Update the format of the ./configure and Docker run command to now use
one option per line and to use 4 spaces for indentation.

Change-Id: Ia8053dd6b5ed83523c3bc585f7910d2ccc33b5a4
Signed-off-by: Alanny Lopez <alanny.lopez@ibm.com>

show more ...


# 13596135 15-Jun-2017 Alanny Lopez <alanny.lopez@ibm.com>

Git added to Dockerfile

Added Git, since it seems to no longer be in the base image for Ubuntu.
Spacing alignment, alphabetized, 1 item per line to apt-get RUN command.

Change-I

Git added to Dockerfile

Added Git, since it seems to no longer be in the base image for Ubuntu.
Spacing alignment, alphabetized, 1 item per line to apt-get RUN command.

Change-Id: Id30f8196c056d7d71eea5281dc68bf708e359efd
Signed-off-by: Alanny Lopez <alanny.lopez@ibm.com>

show more ...


# 362ca85c 21-Mar-2017 Saqib Khan <khansa@us.ibm.com>

Add python3 to the build scripts

Several packages have been upgraded to use python3 in the
latest yocto version, therefore the build scripts needs to
incorporate that dependency.

Add python3 to the build scripts

Several packages have been upgraded to use python3 in the
latest yocto version, therefore the build scripts needs to
incorporate that dependency.

Change-Id: I300295f0434f690c795ce863f159ab9980af1a48
Signed-off-by: Saqib Khan <khansa@us.ibm.com>

show more ...


12