[feat] Tuning opencas for PiiOS
- disable modules reload during installation - flush at shutdown - todo: tuning flush parameters
This commit is contained in:
@@ -26,8 +26,6 @@ install: install_files
|
||||
ifeq (, $(PYTHON3))
|
||||
$(error package 'python3' not found)
|
||||
else
|
||||
@$(UDEV) control --reload-rules
|
||||
@$(SYSTEMCTL) daemon-reload
|
||||
@$(SYSTEMCTL) -q enable open-cas-shutdown
|
||||
@$(SYSTEMCTL) -q enable open-cas
|
||||
|
||||
@@ -81,11 +79,9 @@ uninstall:
|
||||
|
||||
$(call remove-file,$(DESTDIR)$(UDEVRULES_DIR)/60-persistent-storage-cas-load.rules)
|
||||
$(call remove-file,$(DESTDIR)$(UDEVRULES_DIR)/60-persistent-storage-cas.rules)
|
||||
@$(UDEV) control --reload-rules
|
||||
|
||||
@$(SYSTEMCTL) -q disable open-cas-shutdown
|
||||
@$(SYSTEMCTL) -q disable open-cas
|
||||
@$(SYSTEMCTL) daemon-reload
|
||||
|
||||
$(call remove-file,$(DESTDIR)$(SYSTEMD_DIR)/open-cas-shutdown.service)
|
||||
$(call remove-file,$(DESTDIR)$(SYSTEMD_DIR)/open-cas.service)
|
||||
|
Reference in New Issue
Block a user