Comments (4)
The Makefile does not install to that directory, it installs to /usr/lib/sysusers.d/kodi-standalone.conf
and that should work just fine.
from kodi-standalone-service.
ok but if you want it to install you must first create this folder
/usr/lib/sysusers.d/
because on ubuntu by default this folder does not exist
in other words before your line install you must put a line mkdir
your error comes from you put an install
without putting mkdir before normal that its not installed
your mistake it comes from
INSTALL_DIR = mkdir -p
and no
INSTALL_DIR = $(INSTALL) -d
its an error have used mkdir to create a folder and not install
it's because of this that it's not installing the
install is to copy a folder and not to create it
from kodi-standalone-service.
I'm confused. The required command should be install -p -d /usr/lib/sysusers.d
no? That is what the Makefile is doing now: https://github.com/graysky2/kodi-standalone-service/blob/master/Makefile#L41
Here is an example installed to a directory that does not exist at all:
% make DESTDIR=tit install
install -p -d "tit/usr/lib/udev/rules.d"
install -p -d "tit/usr/lib/systemd/system"
install -p -d "tit/usr/share/man/man1"
install -p -m644 x86/doc/kodi.service.1 "tit/usr/share/man/man1/kodi.service.1"
install -p -d "tit/etc/conf.d"
install -p -d "tit/usr/lib/sysusers.d"
install -p -m644 x86/udev/99-kodi.rules "tit/usr/lib/udev/rules.d/99-kodi.rules"
install -p -d "tit/usr/lib/tmpfiles.d"
install -p -m644 common/kodi-standalone "tit/etc/conf.d/kodi-standalone"
install -p -m644 x86/init/kodi-gbm.service "tit/usr/lib/systemd/system/kodi-gbm.service"
install -p -m644 x86/init/kodi-wayland.service "tit/usr/lib/systemd/system/kodi-wayland.service"
install -p -m644 x86/init/kodi-x11.service "tit/usr/lib/systemd/system/kodi-x11.service"
install -p -m644 x86/init/tmpfiles.conf "tit/usr/lib/tmpfiles.d/kodi-standalone.conf"
install -p -m644 x86/init/sysusers.conf "tit/usr/lib/sysusers.d/kodi-standalone.conf"
% tree tit
[ 80] tit
├── [ 60] etc
│ └── [ 60] conf.d
│ └── [ 60] kodi-standalone
└── [ 80] usr
├── [ 120] lib
│ ├── [ 60] systemd
│ │ └── [ 100] system
│ │ ├── [ 641] kodi-gbm.service
│ │ ├── [ 696] kodi-wayland.service
│ │ └── [ 661] kodi-x11.service
│ ├── [ 60] sysusers.d
│ │ └── [ 723] kodi-standalone.conf
│ ├── [ 60] tmpfiles.d
│ │ └── [ 108] kodi-standalone.conf
│ └── [ 60] udev
│ └── [ 60] rules.d
│ └── [ 136] 99-kodi.rules
└── [ 60] share
└── [ 60] man
└── [ 60] man1
└── [2.5K] kodi.service.1
13 directories, 8 files
from kodi-standalone-service.
Closing as I don't think my stuff is wrong as-is. Feel free to reopen if you have evidence otherwise.
from kodi-standalone-service.
Related Issues (20)
- kodi-x11 (maybe others) kills kodi before it can update guisettings.xml with systemtotaluptime
- Recent commit Matrix 19.0-alpha 3 provides kodi.bin not kodi-x11 HOT 1
- Built-in function "RestartApp" do not work
- kodi-wayland fails to start HOT 8
- Server is already active for display 0 when staring kodi-x11 HOT 7
- Run kodi additionally to the display-manager HOT 1
- kodi-wayland exits but can cause seg fault without data loss HOT 5
- Why is the kodi user now always in the "input" group? HOT 15
- GBM service doesn't work with Kodi 19 beta HOT 1
- kodi-gdm udev permission problems HOT 2
- kodi-wayland encrypted h.264 video streams show as flickering screens dominated by a primary color. HOT 4
- /etc/conf.d/kodi-standalone overwrites existing config HOT 1
- Does not work on raspi os HOT 11
- Environment files start with "-" HOT 4
- Cannot mount nfs share HOT 9
- [Help] : Kodi service stops displaying after a while of inactivity. HOT 3
- running this on RaspiOS is easier than README suggests HOT 10
- breaks under systemd_homed HOT 10
- Conflict when using `/dev/tty` in Proxmox LXC HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kodi-standalone-service.