diff --git a/Manual.html b/Manual.html index 6dd680f..d71b314 100644 --- a/Manual.html +++ b/Manual.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
- +A User wants to install yaVDR without customization and relies on full automation. @@ -528,22 +528,22 @@ Several roles are used to tie everything together:
One of the major problems we faced with customized Ubuntu ISO files as installation media for prior yaVDR versions has been the limited hardware support and the time consuming process to create and update them. An interesting alternative to this approach is to enable the user to choose the installation medium himself so point releases, kernel versions and additional drivers can be chosen deliberately. After the basic setup is complete (and a working internet connection is available), a fully customizable install script completes the yaVDR installation.
This is an experimental feature which allows to set up a yaVDR installation based on a normal Ubuntu Server 16.04.x installation using Ansible. @@ -578,8 +578,8 @@ We use a callback to generate tags for all roles autmatically:
if (( $EUID != 0 )); then @@ -600,12 +600,12 @@ ansible-playbook yavdr07.yml -b -i 'localhost_inventory
The yavdr07.yml
playbook sets up a fully-featured yaVDR installation:
@@ -656,8 +656,8 @@ The yavdr07.yml
playbook sets up a fully-featured yaVDR installatio
For a headless server installation yavdr07-headless.yml
is a good choice
@@ -690,8 +690,8 @@ For a headless server installation yavdr07-headless.yml
is a good c
This playbook can either be used to run the installation on the localhost or any other PC in the network that can be accessed via ssh. Simply add the host names or IP addresses to the hosts file in the respective section: @@ -705,12 +705,12 @@ This playbook can either be used to run the installation on the localhost or any
---
@@ -728,8 +728,8 @@ This playbook can either be used to run the installation on the localhost or any
# properties of the user vdr and vdr-related options @@ -756,8 +756,8 @@ This playbook can either be used to run the installation on the localhost or any
# dictionary of directories for (shared) files. Automatically exported via NFS and Samba if those roles are enabled @@ -772,8 +772,8 @@ This playbook can either be used to run the installation on the localhost or any
nfs:
@@ -782,8 +782,8 @@ This playbook can either be used to run the installation on the localhost or any
samba:
@@ -793,8 +793,8 @@ This playbook can either be used to run the installation on the localhost or any
# additional packages you want to install @@ -810,8 +810,8 @@ This playbook can either be used to run the installation on the localhost or any
frontend: vdr
@@ -826,20 +826,20 @@ This playbook can either be used to run the installation on the localhost or any
---
@@ -859,19 +859,19 @@ This playbook can either be used to run the installation on the localhost or any
install nvidia-387 from ppa:graphics-drivers/ppa
---
@@ -901,15 +901,15 @@ install nvidia-387 from ppa:graphics-drivers/ppa
This role is used to set up a basic yaVDR installation. It creates the directories, installs the vdr and other useful packages.
This section is for reference only, please use the files in global_vars
for customizations.
@@ -922,7 +922,7 @@ This section is for reference only, please use the files in global_vars
Automatically installed drivers can be very useful, but if you know you need a certain driver, you can simply set it’s value to true. If you don’t want a driver to be installed, set it’s value to false. @@ -952,7 +952,7 @@ Automatically installed drivers can be very useful, but if you know you need a c
Add additional packages you would like to have on your installation to this list @@ -966,7 +966,7 @@ Add additional packages you would like to have on your installation to this list
This section allows you to set the recording directory, the user and group that runs the vdr and it’s home directory. @@ -999,15 +999,15 @@ This section allows you to set the recording directory, the user and group that
yavdr-common executes the following tasks:
---
@@ -1023,7 +1023,7 @@ yavdr-common executes the following tasks:
This task prevents apt to automatically install all recommended dependencies for packages: @@ -1040,7 +1040,7 @@ This task prevents apt to automatically install all recommended dependencies for
- name: add PPAs
@@ -1060,7 +1060,7 @@ This task prevents apt to automatically install all recommended dependencies for
- name: use bash instead of dash
@@ -1072,10 +1072,10 @@ This task prevents apt to automatically install all recommended dependencies for
- name: disable release-upgrade notifications
@@ -1097,7 +1097,7 @@ This task prevents apt to automatically install all recommended dependencies for
-
- name: apt | install basic packages
@@ -1129,7 +1129,7 @@ This task prevents apt to automatically install all recommended dependencies for
- name: apt | install extra packages
@@ -1143,13 +1143,13 @@ This task prevents apt to automatically install all recommended dependencies for
{{ ansible_managed | comment('c') }} @@ -1161,12 +1161,12 @@ APT::Install-Suggests "0";
first_run: False @@ -1174,12 +1174,12 @@ APT::Install-Suggests "0";
- name: get information about usb and pci hardware and loaded kernel modules @@ -1219,16 +1219,16 @@ APT::Install-Suggests "0";
--- @@ -1247,7 +1247,7 @@ APT::Install-Suggests "0";
- name: add svdrp and svdrp-disc to /etc/services @@ -1262,7 +1262,7 @@ APT::Install-Suggests "0";
- name: create vdr recdir @@ -1297,7 +1297,7 @@ APT::Install-Suggests "0";
The additional plugins to install can be set in the variable {{vdr_plugins}}
in the group variables
@@ -1315,7 +1315,7 @@ The additional plugins to install can be set in the variable {{vdr_plugins
- name: ensure vdr is stopped
@@ -1346,7 +1346,7 @@ The additional plugins to install can be set in the variable {{vdr_plugins
- name: create directory for vdr.service systemd drop-in files
@@ -1367,8 +1367,8 @@ The additional plugins to install can be set in the variable {{vdr_plugins
Start after network-online.target @@ -1380,12 +1380,12 @@ Start after network-online.target
LIRC.Up KEY_UP @@ -1520,7 +1520,7 @@ XKeySym.Next XF86AudioNext
# Remote control key macros for VDR @@ -1546,12 +1546,12 @@ User0 @osdteletext
install_avahi: true @@ -1559,8 +1559,8 @@ User0 @osdteletext
---
@@ -1630,15 +1630,15 @@ User0 @osdteletext
---
@@ -1667,12 +1667,12 @@ User0 @osdteletext
/srv *(rw,fsid=0,sync,no_subtree_check,all_squash,anongid={{ vdr.gid }},anonuid={{ vdr.uid }})
@@ -1683,7 +1683,7 @@ User0 @osdteletext
<?xml version="1.0" standalone='no'?> @@ -1704,12 +1704,12 @@ User0 @osdteletext
lircd0_socket: /var/run/lirc/lircd0
@@ -1717,8 +1717,8 @@ User0 @osdteletext
---
@@ -1783,12 +1783,12 @@ User0 @osdteletext
{% if frontend != 'kodi' %} @@ -1799,7 +1799,7 @@ User0 @osdteletext
[Service]
@@ -1809,7 +1809,7 @@ User0 @osdteletext
#
@@ -2000,17 +2000,17 @@ ati_remote rc-medion-x10-digitainer /lib/udev/rc_keymaps/rc-medion-x10-digi
---
@@ -2033,8 +2033,8 @@ ati_remote rc-medion-x10-digitainer /lib/udev/rc_keymaps/rc-medion-x10-digi
# Use PulseAudio by default @@ -2056,12 +2056,12 @@ ati_remote rc-medion-x10-digitainer /lib/udev/rc_keymaps/rc-medion-x10-digi
The X-Server is started by using the two systemd units xlogin@.service
and x@.service
provided by the package xlogin. The former is enabled (and started) for the vdr user - which results (using the default settings for the user vdr with the uid 666) in the activation of xlogin@vdr.service
when reaching the graphical.target.
@@ -2090,8 +2090,8 @@ In order to achive a clean shutdown of the session, x@t7.service
is
first_run: False
@@ -2099,12 +2099,12 @@ In order to achive a clean shutdown of the session, x@t7.service
is
---
@@ -2117,7 +2117,7 @@ In order to achive a clean shutdown of the session, x@t7.service
is
---
@@ -2237,7 +2237,7 @@ In order to achive a clean shutdown of the session, x@t7.service
is
---
@@ -2389,14 +2389,14 @@ In order to achive a clean shutdown of the session, x@t7.service
is
# file: roles/yavdr-xorg/templates/systemd/system/x-verbose@.service.j2
@@ -2412,7 +2412,7 @@ In order to achive a clean shutdown of the session, x@t7.service
is
[Unit]
@@ -2438,7 +2438,7 @@ In order to achive a clean shutdown of the session, x@t7.service
is
{{ ansible_managed | comment }}
@@ -2450,7 +2450,7 @@ In order to achive a clean shutdown of the session, x@t7.service
is
{{ ansible_managed | comment }} @@ -2464,7 +2464,7 @@ EndSection
Section "Device"
@@ -2786,13 +2786,14 @@ EndSection
-
-Set environment variables for user session on startup +Set environment variables for system locale and user session on startup
[Service] +EnvironmentFile=-/etc/default/locale Environment=XDG_RUNTIME_DIR=/run/user/{{ vdr.uid }}/ EnvironmentFile=-/var/lib/vdr/.session-env@@ -2803,16 +2804,16 @@ Set environment variables for user session on startup
---
@@ -2953,14 +2954,14 @@ Set environment variables for user session on startup
xterm*background: Black @@ -2983,7 +2984,7 @@ XTerm.vt100.font: 7x13
#!/bin/bash @@ -2995,9 +2996,9 @@ XTerm.vt100.font: 7x13 -
# forward environment variables to an environment file and the systemd user session @@ -3033,7 +3034,7 @@ systemctl --user isolate yavdr-desktop.target
<?xml version="1.0" encoding="UTF-8"?> @@ -3856,9 +3857,9 @@ systemctl --user isolate yavdr-desktop.target -
[Unit] @@ -3871,7 +3872,7 @@ systemctl --user isolate yavdr-desktop.target
[Unit]
@@ -3887,7 +3888,7 @@ systemctl --user isolate yavdr-desktop.target
[Unit]
@@ -3908,7 +3909,7 @@ systemctl --user isolate yavdr-desktop.target
[Unit]
@@ -3931,7 +3932,7 @@ systemctl --user isolate yavdr-desktop.target
[Unit]
@@ -3950,7 +3951,7 @@ systemctl --user isolate yavdr-desktop.target
[Unit]
@@ -3969,7 +3970,7 @@ systemctl --user isolate yavdr-desktop.target
-
irexec.service starts irexec for the user session @@ -4003,12 +4004,12 @@ end
---
@@ -4030,12 +4031,12 @@ end
---
@@ -4060,14 +4061,14 @@ end
{{ ansible_managed | comment }} @@ -4153,7 +4154,7 @@ end
{% for name, path in media_dirs.iteritems() %} @@ -4175,7 +4176,7 @@ end
include = /etc/samba/smb.conf.custom @@ -4188,15 +4189,15 @@ end
It would be nice to be able to detect if it is suitable to install those drivers:
Vendor-IDs: @@ -4207,14 +4208,14 @@ Vendor-IDs:
from http://www.vdr-portal.de/board18-vdr-hardware/board102-dvb-karten/120817-treiber-der-cine-ctv6-ddbridge-ci-in-den-kernel-integrieren/
@@ -4223,15 +4224,15 @@ from
-
The tool ubuntu-drivers is used to install the matching driver version for nvidia graphics cards, virtualbox guest additions and Intel and AMD microcode updates.
This role installs the guest additions for virtualbox guests on Ubuntu 16.04
@@ -4306,12 +4307,12 @@ This role installs the guest additions for virtualbox guests on Ubuntu 16.04
If a Sat>IP Server responds to a discovery request, the package vdr-plugin-satip is installed.
Problem: woher kommt der Treiber (AFAIK noch nicht im Kernel)? Die Firmware sollte in yavdr-firmware stecken
This systemd unit for the user session starts (and stops) kodi.
@@ -4961,15 +4962,15 @@ This systemd unit for the user session starts (and stops) kodi.
Those configuration files provide a preconfiguration for kodi which overrides the system wide configuration
This file maps the keys defined in Lircmap.xml to actions within kodi.
This section contains custom modules for the yaVDR Playbooks. They are used to collect facts about the system and configure applications and daemons.
7.15 autoinstall-ubuntu-drivers
+7.15 autoinstall-ubuntu-drivers
7.15.1 tasks
+7.15.1 tasks
---
@@ -4254,8 +4255,8 @@ The tool ubuntu-drivers is used to install the matching driver version for nvidi
7.16 autoinstall-virtualbox-guest
+7.16 autoinstall-virtualbox-guest
7.17 autoinstall-atric-usb
+7.17 autoinstall-atric-usb
7.17.1 dependencies
+7.17.1 dependencies
---
@@ -4323,8 +4324,8 @@ This role installs the guest additions for virtualbox guests on Ubuntu 16.04
7.17.2 tasks
+7.17.2 tasks
---
@@ -4367,8 +4368,8 @@ This role installs the guest additions for virtualbox guests on Ubuntu 16.04
7.17.3 templates
+7.17.3 templates
{{ ansible_managed | comment }}
@@ -4397,12 +4398,12 @@ This role installs the guest additions for virtualbox guests on Ubuntu 16.04
7.18 autoinstall-yausbir
+7.18 autoinstall-yausbir
7.18.1 dependencies
+7.18.1 dependencies
---
@@ -4413,8 +4414,8 @@ This role installs the guest additions for virtualbox guests on Ubuntu 16.04
7.18.2 tasks
+7.18.2 tasks
---
@@ -4457,8 +4458,8 @@ This role installs the guest additions for virtualbox guests on Ubuntu 16.04
7.18.3 templates
+7.18.3 templates
{{ ansible_managed | comment }}
@@ -4486,15 +4487,15 @@ This role installs the guest additions for virtualbox guests on Ubuntu 16.04
7.19 autoinstall-satip
+7.19 autoinstall-satip
7.19.1 tasks
+7.19.1 tasks
---
@@ -4519,12 +4520,12 @@ If a Sat>IP Server responds to a discovery request, the package vdr-plugin-sa
7.20 autoinstall-targavfd
+7.20 autoinstall-targavfd
7.20.1 tasks
+7.20.1 tasks
---
@@ -4540,12 +4541,12 @@ If a Sat>IP Server responds to a discovery request, the package vdr-plugin-sa
7.21 autoinstall-imonlcd
+7.21 autoinstall-imonlcd
7.21.1 tasks
+7.21.1 tasks
---
@@ -4561,12 +4562,12 @@ If a Sat>IP Server responds to a discovery request, the package vdr-plugin-sa
7.22 autoinstall-libcecdaemon
+7.22 autoinstall-libcecdaemon
7.22.1 tasks
+7.22.1 tasks
---
@@ -4582,12 +4583,12 @@ If a Sat>IP Server responds to a discovery request, the package vdr-plugin-sa
7.23 autoinstall-pvr350
+7.23 autoinstall-pvr350
7.23.1 tasks
+7.23.1 tasks
---
@@ -4603,8 +4604,8 @@ If a Sat>IP Server responds to a discovery request, the package vdr-plugin-sa
7.24 autoinstall-hauppauge-pvr
+7.24 autoinstall-hauppauge-pvr
---
@@ -4619,12 +4620,12 @@ If a Sat>IP Server responds to a discovery request, the package vdr-plugin-sa
7.25 autoinstall-firmware
+7.25 autoinstall-firmware
7.25.1 dependencies
+7.25.1 dependencies
---
@@ -4635,8 +4636,8 @@ If a Sat>IP Server responds to a discovery request, the package vdr-plugin-sa
7.25.2 tasks
+7.25.2 tasks
---
@@ -4661,12 +4662,12 @@ If a Sat>IP Server responds to a discovery request, the package vdr-plugin-sa
7.26 autoinstall-dvbsky-firmware
+7.26 autoinstall-dvbsky-firmware
7.26.1 dependencies
+7.26.1 dependencies
---
@@ -4677,8 +4678,8 @@ If a Sat>IP Server responds to a discovery request, the package vdr-plugin-sa
7.26.2 defaults
+7.26.2 defaults
---
@@ -4688,8 +4689,8 @@ If a Sat>IP Server responds to a discovery request, the package vdr-plugin-sa
7.26.3 tasks
+7.26.3 tasks
---
@@ -4739,15 +4740,15 @@ If a Sat>IP Server responds to a discovery request, the package vdr-plugin-sa
7.27 TODO autoinstall-dvbhddevice
+7.27 TODO autoinstall-dvbhddevice
7.27.1 dependencies
+7.27.1 dependencies
---
@@ -4758,8 +4759,8 @@ Problem: woher kommt der Treiber (AFAIK noch nicht im Kernel)? Die Firmware soll
7.27.2 tasks
+7.27.2 tasks
---
@@ -4776,12 +4777,12 @@ Problem: woher kommt der Treiber (AFAIK noch nicht im Kernel)? Die Firmware soll
7.28 autoinstall-dvbsddevice
+7.28 autoinstall-dvbsddevice
7.28.1 dependencies
+7.28.1 dependencies
---
@@ -4792,8 +4793,8 @@ Problem: woher kommt der Treiber (AFAIK noch nicht im Kernel)? Die Firmware soll
7.28.2 tasks
+7.28.2 tasks
---
@@ -4811,12 +4812,12 @@ Problem: woher kommt der Treiber (AFAIK noch nicht im Kernel)? Die Firmware soll
7.29 autoinstall-hardware-irmp
+7.29 autoinstall-hardware-irmp
7.29.1 dependencies
+7.29.1 dependencies
---
@@ -4827,8 +4828,8 @@ Problem: woher kommt der Treiber (AFAIK noch nicht im Kernel)? Die Firmware soll
7.29.2 tasks
+7.29.2 tasks
---
@@ -4844,19 +4845,19 @@ Problem: woher kommt der Treiber (AFAIK noch nicht im Kernel)? Die Firmware soll
7.30 kodi
+7.30 kodi
7.30.1 tasks
+7.30.1 tasks
-
+
-
-
+- import_tasks: install-kodi.yml tags=install,update,kodi:install
- import_tasks: configure-kodi.yml tags=install,update,kodi:configure
@@ -4864,7 +4865,7 @@ Problem: woher kommt der Treiber (AFAIK noch nicht im Kernel)? Die Firmware soll
+
---
@@ -4882,7 +4883,7 @@ Problem: woher kommt der Treiber (AFAIK noch nicht im Kernel)? Die Firmware soll
+
- name: create kodi.service for the user session
@@ -4931,12 +4932,12 @@ Problem: woher kommt der Treiber (AFAIK noch nicht im Kernel)? Die Firmware soll
7.30.2 templates
+7.30.2 templates
-
+
7.30.3 files
+7.30.3 files
+
-
+
<?xml version="1.0" encoding="UTF-8"?>
@@ -5599,17 +5600,17 @@ This file maps the keys defined in Lircmap.xml to actions within kodi.
7.31 dvd
+7.31 dvd
7.31.1 tasks
+7.31.1 tasks
-
-
+---
# file: roles/dvd/tasks/main.yml
@@ -5649,15 +5650,15 @@ This file maps the keys defined in Lircmap.xml to actions within kodi.
7.32 install-sundtek
+7.32 install-sundtek
7.32.1 variables
+7.32.1 variables
7.32.2 tasks
+7.32.2 tasks
---
@@ -5706,8 +5707,8 @@ This file maps the keys defined in Lircmap.xml to actions within kodi.
7.32.3 templates
+7.32.3 templates
# ----- GLOBAL SECTION -----
@@ -5813,8 +5814,8 @@ This file maps the keys defined in Lircmap.xml to actions within kodi.
7.33 template-test
+7.33 template-test
---
@@ -6055,12 +6056,12 @@ EndSection
7.34 wakeup
+7.34 wakeup
7.34.1 defaults
+7.34.1 defaults
---
@@ -6070,8 +6071,8 @@ EndSection
7.34.2 tasks
+7.34.2 tasks
---
@@ -6092,8 +6093,8 @@ EndSection
7.34.3 templates
+7.34.3 templates
{{ ansible_managed | comment }}
@@ -6119,12 +6120,12 @@ ACPI_START_AHEAD=5
7.35 grub-config
+7.35 grub-config
7.35.1 default variables
+7.35.1 default variables
system:
@@ -6136,8 +6137,8 @@ ACPI_START_AHEAD=5
7.35.2 tasks
+7.35.2 tasks
---
@@ -6162,8 +6163,8 @@ ACPI_START_AHEAD=5
7.35.3 templates
+7.35.3 templates
#!/bin/sh
@@ -6186,8 +6187,8 @@ menuentry "PowerOff" {
7.35.4 handlers
+7.35.4 handlers
---
@@ -6205,15 +6206,15 @@ menuentry "PowerOff" {
8 Modules
+8 Modules
8.1 hardware_facts.py
+8.1 hardware_facts.py