Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ubuntu fixes #21

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion utils/Ubuntu/21.04/install-dependencies
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
echo "Updating software..."
sudo apt upgrade -y
echo "Installing some useful tools..."
sudo apt install -y wget curl vim screen git crudini lshw msr-tools sysfsutils uml-utilities remmina samba spice-client-gtk genisoimage uuid acpica-tools docker
sudo apt install -y wget curl vim screen git crudini lshw msr-tools sysfsutils uml-utilities remmina samba spice-client-gtk genisoimage uuid acpica-tools
sudo snap install docker
echo "Installing virtualization software..."
sudo apt install qemu-kvm qemu-utils qemu-efi ovmf qemu -y

Expand Down
2 changes: 1 addition & 1 deletion utils/Ubuntu/21.04/kernel-param-utils
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function removeKernelParam() {
fi
}
function applyKernelParamChanges() {
sudo sh -c 'grub2-mkconfig > /etc/grub2-efi.cfg'
sudo update-grub
}

function setGrubTimeout() {
Expand Down
3 changes: 2 additions & 1 deletion utils/ovmf-vbios-patch-setup
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ DISTRO_UTILS_DIR="${UTILS_DIR}/${DISTRO}"
mkdir -p "${PROJECT_DIR}/thirdparty"
cd "${PROJECT_DIR}/thirdparty"

sudo service docker start
# docker daemon is already running on ubuntu snap
#sudo service docker start
git clone https://github.com/T-vK/ovmf-with-vbios-patch.git
cd ovmf-with-vbios-patch
sudo docker build -t ovmf-vbios-patch .