Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
swclock-offset
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
postmarketOS
swclock-offset
Commits
61663762
Verified
Commit
61663762
authored
5 months ago
by
Clayton Craft
Browse files
Options
Downloads
Patches
Plain Diff
readme: build: update to reflect recent 'make' PREFIX and install changes
parent
2df01ded
No related branches found
Branches containing commit
Tags
0.2.3
Tags containing commit
1 merge request
!4
makefile: install scripts to bin instead of sbin, use PREFIX for systemd unit install location
Pipeline
#141282
passed
5 months ago
Stage: lint
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+4
-10
4 additions, 10 deletions
README.md
with
4 additions
and
10 deletions
README.md
+
4
−
10
View file @
61663762
...
...
@@ -7,17 +7,11 @@ time in userspace is kept in present time.
## Build
The repository contains a simple Makefile. By
`make install`
the two
shell scripts get installed to
`/sbin`
. Adding
`PREFIX=/usr`
places them
to
`/usr/sbin`
. Variable
`DESTDIR`
allows to change the install path to
something like
`DESTDIR=$pkgdir`
.
shell scripts get installed to
`/usr/bin`
. Variable
`DESTDIR`
allows to change
the install path to something like
`DESTDIR=$pkgdir`
.
To install the two OpenRC service files, perform
`make install_openrc`
.
They get installed to
`/etc/init.d`
. Variable
`DESTDIR`
applies here as
well,
`PREFIX`
does not.
To install the systemd service files, perform
`make install_systemd`
.
They get installed to
`/lib/systemd/system`
. Variable
`DESTDIR`
applies here as
well,
`PREFIX`
does not.
Both the OpenRC and systemd service files are installed by
`make install`
.
Downstream packaging can choose to distribute one set, both, or none.
## Managing OpenRC services
After installing the files, OpenRC services need to be set accordingly.
...
...
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