From e192ed9e98ccfa0669b45333b1fcb5319f19834f Mon Sep 17 00:00:00 2001 From: Andrew Branson Date: Wed, 23 Oct 2019 10:32:43 +0200 Subject: [PATCH] [repos] Kill ssud if it's running during upgrade. Fixes JB#47252 --- rpm/ssu.spec | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/rpm/ssu.spec b/rpm/ssu.spec index a035ff4..aa528a3 100644 --- a/rpm/ssu.spec +++ b/rpm/ssu.spec @@ -201,16 +201,7 @@ if [ "$1" == 0 ]; then getent group ssu >/dev/null && groupdel ssu fi -# Removing autogenerated droplets can be dropped eventually -# Just needed for a transition period %post /sbin/ldconfig -if [ -f /usr/share/ssu/board-mappings.ini ]; then - rm -f /usr/share/ssu/board-mappings.ini -fi -if [ -f /usr/share/ssu/features.ini ]; then - rm -f /usr/share/ssu/features.ini -fi -if [ -f /usr/share/ssu/repos.ini ]; then - rm -f /usr/share/ssu/repos.ini -fi +# make sure an old ssud isn't still running +killall ssud