diff --git a/files/scripts/disablegeoclue.sh b/files/scripts/disablegeoclue.sh new file mode 100644 index 0000000..aa7a602 --- /dev/null +++ b/files/scripts/disablegeoclue.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash + +# Tell build process to exit if there are any errors. +set -oue pipefail + +echo "Disabling the location service" +systemctl disable geoclue +systemctl mask geoclue diff --git a/recipes/common/common-scripts.yml b/recipes/common/common-scripts.yml index f031e64..4d00b11 100644 --- a/recipes/common/common-scripts.yml +++ b/recipes/common/common-scripts.yml @@ -7,4 +7,5 @@ scripts: - hardencontainerpolicy.sh - httpsmirrors.sh - createmissingdirectories.sh - - removesuid.sh \ No newline at end of file + - removesuid.sh + - disablegeoclue.sh \ No newline at end of file