SKALE-4110 fix build base

parent d5aecacc
......@@ -13,13 +13,13 @@ index 1f3efdb..cd8df2e 100644
-else
-$(error "Unsupported platform - neither systemctl nor initctl is found!")
-endif
+ ifneq ($(shell awk -F/ '$$2 == "docker"' /proc/self/cgroup),)
+ RAD_CONF_NAME=mpa_registration_tool.service
+ RAD_CONF_DEL=mpa_registration.conf
+ RAD_CONF_PATH=/lib/systemd/system
+ else
+ @exit 0
+ endif
+ ifneq ($(shell awk -F/ '$$2 == "docker"' /proc/self/cgroup),)
+ RAD_CONF_NAME=mpa_registration_tool.service
+ RAD_CONF_DEL=mpa_registration.conf
+ RAD_CONF_PATH=/lib/systemd/system
+ else
+ @exit 0
+ endif
endif
#install -d $(shell readlink -m $(DESTDIR)/$(SGX_RA_SERVICE_PACKAGE_NAME)/$(RAD_CONF_PATH))
......@@ -65,14 +65,14 @@ index 89c5b21..aa70c4b 100644
-else
-$(error "Unsupported platform - neither systemctl nor initctl is found!")
-endif
+ ifneq ($(shell awk -F/ '$$2 == "docker"' /proc/self/cgroup),)
+ AESMD_CONF_NAME=aesmd.service
+ AESMD_CONF_DEL=aesmd.conf
+ AESMD_CONF_PATH=/lib/systemd/system
+ $(warning "You may need to start aesmd manually after it's installed!")
+ else
+ @exit 0
+ endif
+ ifneq ($(shell awk -F/ '$$2 == "docker"' /proc/self/cgroup),)
+ AESMD_CONF_NAME=aesmd.service
+ AESMD_CONF_DEL=aesmd.conf
+ AESMD_CONF_PATH=/lib/systemd/system
+ $(warning "You may need to start aesmd manually after it's installed!")
+ else
+ @exit 0
+ endif
endif
default:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment