From 33dc1c15e65c0212635a5063a95206376e97e2bc Mon Sep 17 00:00:00 2001
From: root <zhoupengcheng11@huawei.com>
Date: Wed, 7 Feb 2024 10:53:14 +0800
Subject: [PATCH] remove-the-installation-of-atune-ui-related-files

---
 Makefile | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/Makefile b/Makefile
index 4c70a9f..cb1d16c 100755
--- a/Makefile
+++ b/Makefile
@@ -28,7 +28,6 @@ abs-python:
 	@if [ $(PYDIR) ] ; then \
 		sed -i "s?ExecStart=.*python3?ExecStart=$(PYDIR)?g" $(CURDIR)/misc/atune-engine.service; \
 		sed -i "s?ExecStart=.*python3?ExecStart=$(PYDIR)?g" $(CURDIR)/misc/atune-rest.service; \
-		sed -i "s?ExecStart=.*python3?ExecStart=$(PYDIR)?g" $(CURDIR)/misc/atune-ui.service; \
 	else \
 		echo "no python3 exists."; \
 	fi
@@ -99,12 +98,10 @@ libinstall:
 	install -m 640 misc/atuned.service $(SYSTEMDDIR)
 	install -m 640 misc/atuned.cnf $(DESTDIR)/etc/atuned/
 	install -m 640 misc/engine.cnf $(DESTDIR)/etc/atuned/
-	install -m 640 misc/ui.cnf $(DESTDIR)/etc/atuned/
 	install -m 640 rules/tuning/tuning_rules.grl $(DESTDIR)/etc/atuned/rules
 	install -m 640 misc/atune-engine.service $(SYSTEMDDIR)
 	install -m 640 database/atuned.db $(DESTDIR)/var/lib/atuned/
 	install -m 640 misc/atune-adm $(DESTDIR)$(PREFIX)/share/bash-completion/completions/
-	install -m 640 misc/atune-ui.service $(SYSTEMDDIR)
 	\cp -rf analysis/* $(DESTDIR)$(PREFIX)/$(LIBEXEC)/atuned/analysis/
 	chmod -R 750 $(DESTDIR)$(PREFIX)/$(LIBEXEC)/atuned/analysis/
 	\cp -rf profiles/* $(DESTDIR)$(PREFIX)/lib/atuned/profiles/
@@ -202,7 +199,6 @@ startup:
 	systemctl restart atune-rest
 	systemctl restart atuned
 	systemctl restart atune-engine
-	systemctl restart atune-ui
 
 yaml-generator:
 	\cp -rf tuning/yamls/* $(DESTDIR)/etc/atuned/tuning
-- 
2.27.0

