Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
sgxwallet
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
董子豪
sgxwallet
Commits
68f2d51d
Unverified
Commit
68f2d51d
authored
4 years ago
by
Oleh Nikolaiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SKALE-4110 fix build base
parent
d5aecacc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
15 deletions
+15
-15
install-psw-dcap-source.patch
docker/install-psw-dcap-source.patch
+7
-7
install-psw-linux-sgx.patch
docker/install-psw-linux-sgx.patch
+8
-8
No files found.
docker/install-psw-dcap-source.patch
View file @
68f2d51d
...
...
@@ -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))
This diff is collapsed.
Click to expand it.
docker/install-psw-linux-sgx.patch
View file @
68f2d51d
...
...
@@ -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:
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment