Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
celllframe-node
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dmitry Puzyrkov
celllframe-node
Commits
700ca5c0
Commit
700ca5c0
authored
4 years ago
by
Dmitriy A. Gerasimov
Browse files
Options
Downloads
Patches
Plain Diff
[*] Update
parent
00c04679
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CMakeLists.txt
+1
-1
1 addition, 1 deletion
CMakeLists.txt
cellframe-sdk
+1
-1
1 addition, 1 deletion
cellframe-sdk
prod_build/linux/debian/essentials/postinst
+4
-4
4 additions, 4 deletions
prod_build/linux/debian/essentials/postinst
with
6 additions
and
6 deletions
CMakeLists.txt
+
1
−
1
View file @
700ca5c0
...
@@ -8,7 +8,7 @@ set(CMAKE_C_STANDARD 11)
...
@@ -8,7 +8,7 @@ set(CMAKE_C_STANDARD 11)
SET
(
CPACK_PACKAGE_NAME
"
${
PROJECT_NAME
}
"
)
SET
(
CPACK_PACKAGE_NAME
"
${
PROJECT_NAME
}
"
)
SET
(
CPACK_PACKAGE_VERSION_MAJOR 3
)
SET
(
CPACK_PACKAGE_VERSION_MAJOR 3
)
SET
(
CPACK_PACKAGE_VERSION_MINOR 2
)
SET
(
CPACK_PACKAGE_VERSION_MINOR 2
)
SET
(
CPACK_PACKAGE_VERSION_PATCH
7
)
SET
(
CPACK_PACKAGE_VERSION_PATCH
8
)
# init CellFrame SDK
# init CellFrame SDK
add_definitions
(
"-DDAP_VERSION=
\"
${
CPACK_PACKAGE_VERSION_MAJOR
}
\"
"
)
add_definitions
(
"-DDAP_VERSION=
\"
${
CPACK_PACKAGE_VERSION_MAJOR
}
\"
"
)
...
...
This diff is collapsed.
Click to expand it.
cellframe-sdk
@
9a45f8fe
Compare
b1d26a14
...
9a45f8fe
Subproject commit
b1d26a14595f89b826b4652427e258981ec3411c
Subproject commit
9a45f8fee0ee22663bd109bcf20dc155c9498046
This diff is collapsed.
Click to expand it.
prod_build/linux/debian/essentials/postinst
+
4
−
4
View file @
700ca5c0
...
@@ -89,7 +89,7 @@ mkdir -p $DAP_PREFIX/var/log || true
...
@@ -89,7 +89,7 @@ mkdir -p $DAP_PREFIX/var/log || true
mkdir
-p
$DAP_PREFIX
/var/plugins
||
true
mkdir
-p
$DAP_PREFIX
/var/plugins
||
true
cat
/etc/passwd|
grep
cellframe-node
||
adduser
--system
--no-create-home
--group
--home
/opt/cellframe-node cellframe-node
cat
/etc/passwd|
grep
cellframe-node
||
adduser
--system
--no-create-home
--group
--home
/opt/cellframe-node cellframe-node
||
true
echo
"[*] Check /etc/systemd/system/
$DAP_APP_NAME
.service file..."
echo
"[*] Check /etc/systemd/system/
$DAP_APP_NAME
.service file..."
if
[
-L
/etc/systemd/system/
$DAP_APP_NAME
.service
]
;
then
if
[
-L
/etc/systemd/system/
$DAP_APP_NAME
.service
]
;
then
...
@@ -110,10 +110,10 @@ else
...
@@ -110,10 +110,10 @@ else
adduser
--system
--no-create-home
--group
--home
/opt/cellframe-node cellframe-node
||
true
adduser
--system
--no-create-home
--group
--home
/opt/cellframe-node cellframe-node
||
true
#usermod -aG $DAP_CHAINS_NAME `users | awk '{print $1}'`
#usermod -aG $DAP_CHAINS_NAME `users | awk '{print $1}'`
for
username
in
$(
cat
/etc/passwd |
grep
"/home"
|
cut
-d
':'
-f1
)
;
do
for
username
in
$(
cat
/etc/passwd |
grep
"/home"
|
cut
-d
':'
-f1
)
;
do
usermod
-aG
cellframe-node
$username
usermod
-aG
cellframe-node
$username
||
true
done
done
mkdir
-p
$DAP_PREFIX
/var/
{
run,lib/ca,lib/wallet,lib/global_db,var/plugins
}
mkdir
-p
$DAP_PREFIX
/var/
{
run,lib/ca,lib/wallet,lib/global_db,var/plugins
}
||
true
touch
$DAP_PREFIX
/var/run/cellframe-node.pid
touch
$DAP_PREFIX
/var/run/cellframe-node.pid
||
true
#chown -R $USERMAN:$USERMAN $DAP_PREFIX
#chown -R $USERMAN:$USERMAN $DAP_PREFIX
for
filename
in
$(
find
$DAP_PREFIX
)
;
do
for
filename
in
$(
find
$DAP_PREFIX
)
;
do
if
[
-d
$filename
]
;
then
if
[
-d
$filename
]
;
then
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment