diff options
author | Simon Rettberg | 2019-03-18 10:39:59 +0100 |
---|---|---|
committer | Simon Rettberg | 2019-03-18 10:39:59 +0100 |
commit | a26c70a004b24d9385a13d7b9e3f3f1295e5e1c2 (patch) | |
tree | 014254b2c594705fa69e81f5e0df47be4004096f | |
parent | [SSPS] firstrun_script.sh now writes id_rsa-ssh-key for root, if (diff) | |
download | setup-scripts-a26c70a004b24d9385a13d7b9e3f3f1295e5e1c2.tar.gz setup-scripts-a26c70a004b24d9385a13d7b9e3f3f1295e5e1c2.tar.xz setup-scripts-a26c70a004b24d9385a13d7b9e3f3f1295e5e1c2.zip |
[SSPS/SSUS] Disable java accessibility helper
-rw-r--r-- | satellit_installer/includes/90-patch_misc_files.inc | 5 | ||||
-rwxr-xr-x | satellit_installer/satellit_installer | 2 | ||||
-rw-r--r-- | satellit_upgrader/updater.template.sh | 6 |
3 files changed, 13 insertions, 0 deletions
diff --git a/satellit_installer/includes/90-patch_misc_files.inc b/satellit_installer/includes/90-patch_misc_files.inc index 1edf931..bbb3895 100644 --- a/satellit_installer/includes/90-patch_misc_files.inc +++ b/satellit_installer/includes/90-patch_misc_files.inc @@ -34,3 +34,8 @@ patch_ldapsearch() { echo "TLS_REQCERT never" >> /etc/ldap/ldap.conf } +patch_java() { + # Fix svg renderer: + # java.awt.AWTError: Assistive Technology not found: org.GNOME.Accessibility.AtkWrapper + sed -i -e '/^assistive_technologies=/s/^/#/' /etc/java-*-openjdk/accessibility.properties &> /dev/null +} diff --git a/satellit_installer/satellit_installer b/satellit_installer/satellit_installer index 84f131a..b252d6b 100755 --- a/satellit_installer/satellit_installer +++ b/satellit_installer/satellit_installer @@ -135,6 +135,8 @@ write_tmate_config # here or elsewhere... patch_ldapsearch +patch_java + write_apt_config install_bwSuite_server "$DMSDDIR" diff --git a/satellit_upgrader/updater.template.sh b/satellit_upgrader/updater.template.sh index 4d70f2b..7a3322a 100644 --- a/satellit_upgrader/updater.template.sh +++ b/satellit_upgrader/updater.template.sh @@ -697,6 +697,12 @@ count=0 [ "$count" -gt 7 ] && break done +# ************************** Misc stuff ******************** +# This fixes kitfox svg, namely this exception you'd get with +# the headless openjdk install: +# java.awt.AWTError: Assistive Technology not found: org.GNOME.Accessibility.AtkWrapper +sed -i -e '/^assistive_technologies=/s/^/#/' /etc/java-*-openjdk/accessibility.properties &> /dev/null + # ************************** LIGHTY ************************ if [ -n "$RESTART_LIGHTY" ]; then count=0 |