Skip to content

Commit

Permalink
live-build
Browse files Browse the repository at this point in the history
  • Loading branch information
adrelanos committed Jul 18, 2023
1 parent c2c420d commit 897e6f2
Showing 1 changed file with 6 additions and 13 deletions.
19 changes: 6 additions & 13 deletions build-steps.d/3500_install-packages
Expand Up @@ -232,20 +232,12 @@ install-packages() {
## meta package installation.
pkg-install legacy-dist

if [ "$dist_build_type_long" = "gateway" ]; then
pkg-install whonix-gateway-packages-dependencies-pre
elif [ "$dist_build_type_long" = "workstation" ]; then
pkg-install whonix-workstation-packages-dependencies-pre
elif [ "$dist_build_type_long" = "whonix-host-xfce" ]; then
pkg-install whonix-host-packages-dependencies-pre
elif [ "$dist_build_type_long" = "whonix-host-cli" ]; then
pkg-install whonix-host-packages-dependencies-pre
elif [ "$dist_build_type_long" = "kicksecure-host-xfce" ]; then
pkg-install kicksecure-packages-dependencies-pre
elif [ "$dist_build_type_long" = "kicksecure-host-cli" ]; then
if [ "$dist_build_type_short" = "kicksecure" ]; then
pkg-install kicksecure-packages-dependencies-pre
elif [ "$dist_build_type_short" = "whonix" ]; then
pkg-install whonix-gateway-packages-dependencies-pre
else
error "ERROR: Invalid dist_build_flavor $dist_build_flavor. Please report this bug!"
error "ERROR: Invalid dist_build_type_short '$dist_build_type_short'. Please report this bug!"
fi

"$dist_source_help_steps_folder/unchroot-raw" "$@"
Expand Down Expand Up @@ -388,8 +380,9 @@ $dist_build_script_skip_package_install${reset}"
true "${cyan}INFO: skipping installation of weak recommended guest additions packages spice-vdagent because not using --target qcow2, ok.${reset}"
fi

## TODO: Kicksecure
## Weak recommended packages so calamares can remove them.
if [ "$dist_build_type_long" = "whonix-host" ]; then
if [ "$dist_build_type_short" = "whonix" ]; then
pkg-add-to-install-list calamares
pkg-add-to-install-list calamares-settings-debian

Expand Down

0 comments on commit 897e6f2

Please sign in to comment.