Skip to content

Commit

Permalink
VirtualBox version update
Browse files Browse the repository at this point in the history
  • Loading branch information
adrelanos committed Jun 23, 2023
1 parent 2a9883f commit 7798a1a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Expand Up @@ -32,5 +32,5 @@

- name: Install VirtualBox apt repository
apt:
name: "virtualbox-6.1"
name: "virtualbox-7.0"
update_cache: true
6 changes: 3 additions & 3 deletions build-steps.d/1120_prepare-build-machine
Expand Up @@ -139,10 +139,10 @@ build_machine_setup() {
true "INFO: Checking if VirtualBox is already installed..."
if virtualbox_version_installed="$(dpkg-query --show --showformat='${Version}' "virtualbox")" ; then
true "INFO: virtualbox is already installed."
elif virtualbox_version_installed="$(dpkg-query --show --showformat='${Version}' "virtualbox-6.1")" ; then
true "INFO: virtualbox-6.1 is already installed."
elif virtualbox_version_installed="$(dpkg-query --show --showformat='${Version}' "virtualbox-7.0")" ; then
true "INFO: virtualbox-7.0 is already installed."
else
true "${red}${bold}ERROR: Neither package virtualbox nor package virtualbox-6.1 is installed. Please install as per build documentation.${reset}"
true "${red}${bold}ERROR: Neither package virtualbox nor package virtualbox-7.0 is installed. Please install as per build documentation.${reset}"
error "See above!"
fi

Expand Down
2 changes: 1 addition & 1 deletion build-steps.d/1200_create-debian-packages
Expand Up @@ -79,7 +79,7 @@ download_virtualbox_packages_virtualbox_org() {
export download_source_package="false"

## Selected packages we want to mirror from repo_sources_list to Whonix local/remote repository.
newer_package_list="virtualbox-6.1"
newer_package_list="virtualbox-7.0"

build_run_function get_newer_packages_from_third_party_repositories "$@"
}
Expand Down

0 comments on commit 7798a1a

Please sign in to comment.