From 9f4fec141d4f12dac3d039fdb51433684d35f066 Mon Sep 17 00:00:00 2001 From: Karol Lewandowski Date: Fri, 15 Jun 2018 10:44:23 +0200 Subject: [PATCH] packaging: tests: Do not try reboot machine to ensure proper dlog config Installing dlog-tests package intentionally breaks dlog setup for normal use case, but system should not be rebooted without user consent. Rebooting in %post might potentially make RPM db inconsistent and impact other pending rpm actions. Change-Id: I95e7eb0fcf6f12ff20c0bfaa6699e476793e4a4b --- packaging/dlog.spec | 9 --------- 1 file changed, 9 deletions(-) diff --git a/packaging/dlog.spec b/packaging/dlog.spec index ce53c72..51b5cb2 100644 --- a/packaging/dlog.spec +++ b/packaging/dlog.spec @@ -227,12 +227,3 @@ echo "This is done intentionally, to make logger backend testing possible." echo "To restore normal behavior, please uninstall dlog-tests package." echo "" echo "A reboot is required to properly configure logger backend for testing." -secs=15 -while [ $secs -gt 0 ]; do - echo -ne "Will reboot in $secs\033[0K\r" - sleep 1 - : $((secs--)) -done -sleep 1 -echo -e "Rebooting target." -reboot -- 2.7.4