This repository has been archived by the owner on Jun 28, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 196
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Instead of using a custom version of qemu, we should use qemu version from upstream. Fixes #163. Depends-on: github.com/kata-containers/runtime#119 Signed-off-by: Salvador Fuentes <salvador.fuentes@intel.com>
- Loading branch information
Showing
5 changed files
with
41 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
#!/bin/bash | ||
# | ||
# Copyright (c) 2018 Intel Corporation | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# | ||
|
||
set -e | ||
|
||
QEMU_REPO="github.com/kata-containers/qemu" | ||
QEMU_DIR="qemu" | ||
KATA_QEMU_BRANCH="stable-2.11" | ||
|
||
git clone "https://${QEMU_REPO}" | ||
|
||
pushd "$QEMU_DIR" | ||
git checkout "$KATA_QEMU_BRANCH" | ||
|
||
echo "Build Qemu" | ||
./configure.sh | ||
make -j $(nproc) | ||
|
||
echo "Install Qemu" | ||
sudo -E make install | ||
|
||
# Workaround: | ||
# As we currently do not have a package that installs | ||
# qemu under /usr/bin/, create a symlink. | ||
# this should be solved when we define and have the packages | ||
# in a repository. | ||
sudo ln -sf $(command -v qemu-system-x86_64) /usr/bin/ | ||
|
||
popd |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters