diff --git a/scripts_debian/custom_wheezy_whonix/02_install_groups_packages_installed.sh b/scripts_debian/custom_wheezy_whonix/02_install_groups_packages_installed.sh index c437d67..21c3f98 100755 --- a/scripts_debian/custom_wheezy_whonix/02_install_groups_packages_installed.sh +++ b/scripts_debian/custom_wheezy_whonix/02_install_groups_packages_installed.sh @@ -124,6 +124,34 @@ trap error EXIT if ! [ -f "$INSTALLDIR/tmp/.prepared_whonix" ]; then echo "-> Installing whonix system" + # -------------------------------------------------------------------------- + # Initialize Whonix submodules + # -------------------------------------------------------------------------- + pushd "$WHONIX_DIR" + { + git submodule update --init --recursive; + } + popd + + # -------------------------------------------------------------------------- + # Patch Whonix submodules + # -------------------------------------------------------------------------- + + # Patch anon-meta-packages to not depend on grub-pc + # XXX: Seems like the error disappears, but then whonix updates to original code? + pushd "$WHONIX_DIR/packages/anon-meta-packages/debian" + { + sed -i 's/ grub-pc,//g' control; + #git commit -am 'removed grub-pc depend'; + } + popd + + pushd "$WHONIX_DIR/build-steps.d" + { + sed -i 's/ check_for_uncommited_changes/ #check_for_uncommited_changes/g' 1200_create-debian-packages; + } + popd + # -------------------------------------------------------------------------- # Whonix system config dependancies # --------------------------------------------------------------------------