From 4ae0c36cc70296eacc663530e6f5cf3f223c85ef Mon Sep 17 00:00:00 2001 From: Jessie Hildebrandt Date: Fri, 2 Jun 2023 13:48:26 -0400 Subject: [PATCH] Prevent PackageKit from interrupting setup --- opensuse-personalizer.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/opensuse-personalizer.sh b/opensuse-personalizer.sh index e79a39f..79ede34 100755 --- a/opensuse-personalizer.sh +++ b/opensuse-personalizer.sh @@ -297,6 +297,9 @@ fi echo "Setting up packages..." +# Kill PackageKit so that it doesn't interrupt us +sudo systemctl stop packagekit + sudo zypper --non-interactive in ${PATTERNS[@]} if [[ "${detected_features[@]}" == *"Mobile"* ]]; then sudo zypper in patterns-desktop-mobile @@ -350,7 +353,7 @@ fi # Silence GRUB echo "Configuring GRUB..." -echo "# Automatically added by personal-opensuse-setup.sh +echo "# Automatically added by opensuse-personalizer.sh GRUB_TIMEOUT=0 GRUB_HIDDEN_TIMEOUT=0 GRUB_QUIET=true