move x86 files to /x86 path

This commit is contained in:
graysky 2021-04-03 03:48:09 -04:00
parent c71835e5fe
commit 3a9cabe54f
8 changed files with 13 additions and 12 deletions

View File

@ -19,21 +19,21 @@ common/$(PN):
install-common:
$(INSTALL_DIR) "$(DESTDIR)$(UDEVDIR)"
$(INSTALL_DATA) udev/99-kodi.rules "$(DESTDIR)$(UDEVDIR)/99-kodi.rules"
$(INSTALL_DATA) x86/udev/99-kodi.rules "$(DESTDIR)$(UDEVDIR)/99-kodi.rules"
install-init:
$(INSTALL_DIR) "$(DESTDIR)$(INITDIR)"
$(INSTALL_DIR) "$(DESTDIR)$(USERDIR)"
$(INSTALL_DIR) "$(DESTDIR)$(TMPFDIR)"
$(INSTALL_DATA) init/kodi-gbm.service "$(DESTDIR)$(INITDIR)/kodi-gbm.service"
$(INSTALL_DATA) init/kodi-wayland.service "$(DESTDIR)$(INITDIR)/kodi-wayland.service"
$(INSTALL_DATA) init/kodi-x11.service "$(DESTDIR)$(INITDIR)/kodi-x11.service"
$(INSTALL_DATA) init/tmpfiles.conf "$(DESTDIR)$(TMPFDIR)/kodi-standalone.conf"
$(INSTALL_DATA) init/sysusers.conf "$(DESTDIR)$(USERDIR)/kodi-standalone.conf"
$(INSTALL_DATA) x86/init/kodi-gbm.service "$(DESTDIR)$(INITDIR)/kodi-gbm.service"
$(INSTALL_DATA) x86/init/kodi-wayland.service "$(DESTDIR)$(INITDIR)/kodi-wayland.service"
$(INSTALL_DATA) x86/init/kodi-x11.service "$(DESTDIR)$(INITDIR)/kodi-x11.service"
$(INSTALL_DATA) x86/init/tmpfiles.conf "$(DESTDIR)$(TMPFDIR)/kodi-standalone.conf"
$(INSTALL_DATA) x86/init/sysusers.conf "$(DESTDIR)$(USERDIR)/kodi-standalone.conf"
install-man:
$(INSTALL_DIR) "$(DESTDIR)$(MANDIR)"
$(INSTALL_DATA) doc/kodi.service.1 "$(DESTDIR)$(MANDIR)/kodi.service.1"
$(INSTALL_DATA) x86/doc/kodi.service.1 "$(DESTDIR)$(MANDIR)/kodi.service.1"
uninstall:
$(RM) "$(DESTDIR)$(INITDIR)/kodi-gbm.service"

View File

@ -1,5 +1,5 @@
.\" Text automatically generated by txt2man
.TH kodi.service 1 "13 March 2021" "" ""
.TH kodi.service 1 "03 April 2021" "" ""
.SH NAME
\fBkodi-xxx.service \fP- Systemd service units to run Kodi in standalone mode without the need for a DE.
\fB
@ -20,7 +20,7 @@ This is NOT recommended:
.PP
.nf
.fam C
# systemctl reboot
# systemctl reboot
.fam T
.fi
@ -32,15 +32,16 @@ Select the corresponding option under Power menu in the Kodi GUI.
.IP \(bu 3
Use the official Android/iOS remote app.
.IP \(bu 3
If a CLI option is preferred, use kodi-send (depending on the Distro, this may or may not be including in the standard kodi package) to issue a \fBShutDown\fP() or Reboot like so:
If a CLI option is preferred, use kodi-send to issue the command to reboot or shutdown like so:
.PP
.nf
.fam C
$ kodi-send -a "Reboot"
$ kodi-send -a "ShutDown()"
$ kodi-send -a "Reboot"
$ kodi-send -a "ShutDown()"
.fam T
.fi
Note that kodi-send may not be included with your Distro's kodi package. For example, on Arch Linux, it is provided by the kodi-eventclients package.
.SH PASSING ENVIRONMENT VARIABLES TO THE SERVICE
Should the need arise, one can pass environment variables to the service by creating /etc/conf.d/kodi-standalone and populating it with the needed variables.
.SH CONTRIBUTE