Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
duniter
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Monitor
Service Desk
Analyze
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
nodes
typescript
duniter
Commits
04d3ebf2
Commit
04d3ebf2
authored
4 years ago
by
Éloïs
Browse files
Options
Downloads
Patches
Plain Diff
[build] deb: Add systemd service on arm
parent
4fee0cd0
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
release/arch/arm/build-arm.sh
+9
-4
9 additions, 4 deletions
release/arch/arm/build-arm.sh
with
9 additions
and
4 deletions
release/arch/arm/build-arm.sh
+
9
−
4
View file @
04d3ebf2
...
...
@@ -91,15 +91,20 @@ cd ..
mkdir
-p
duniter_release
cp
-R
${
SRC
}
/
*
duniter_release/
# Prepare extra (Systemd service and bash completion)
echo
"Prepare extra (systemd and bash completion)..."
mkdir
-p
duniter-
${
ARCH
}
/lib/systemd/system
cp
duniter_release/release/extra/systemd/duniter.service duniter-
${
ARCH
}
/lib/systemd/system/
mkdir
-p
duniter-
${
ARCH
}
/etc/bash_completion.d/
cp
duniter_release/release/extra/completion/duniter_completion.bash duniter-
${
ARCH
}
/etc/bash_completion.d/
# Creating DEB packaging
mv
duniter_release/release/extra/debian/package duniter-
${
ARCH
}
cp
-r
duniter_release/release/extra/debian/package duniter-
${
ARCH
}
mkdir
-p
duniter-
${
ARCH
}
/opt/duniter/
mkdir
-p
duniter-
${
ARCH
}
/etc/bash_completion.d/
chmod
755 duniter-
${
ARCH
}
/DEBIAN/post
*
chmod
755 duniter-
${
ARCH
}
/DEBIAN/pre
*
sed
-i
"s/Version:.*/Version:
$DUNITER_DEB_VER
/g"
duniter-
${
ARCH
}
/DEBIAN/control
echo
"Extra..."
mv
duniter_release/release/extra/completion/duniter_completion.bash duniter-
${
ARCH
}
/etc/bash_completion.d/duniter_completion.bash
echo
"Zipping..."
cd
duniter_release
pwd
...
...
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