The '''Installsscript''' is a tool that the handles the conventional installation steps with a collection of scripts.

The '''Installsscript''' is a tool that the handles the conventional installation steps with a collection of scripts.

+

+

[[Image:installscript-0.png|thumb|none|''lxdialog'']]

==Prerequirements==

==Prerequirements==

* Development environment

* Development environment

−

==Manual==

+

check needed requirements by this command:

−

* [[:de:installscript-manual-de|'''Manual De''']]

+

−

* [[:de:installscript-manual-en|'''Manual En''']]

+

bash> sh vdr-install-script-current.run -- --checkreq

+

+

On sarge it needs libncurses5-dev and others obvious (if you typed in previous command) packages.

==Tutorial==

==Tutorial==

Line 15:

Line 19:

===Scripts customisation===

===Scripts customisation===

−

To be continued...

−

===Installation protocol===

+

Unpack

−

{|

+

−

|[[Image:Installscript-01.png|thumb|none|''Mainmenu'']]

+

−

|Startmenu

+

−

|-

+

−

|[[Image:Installscript-02.png|thumb|none|''Download Manager'']]

+

−

|Download Manager

+

−

|-

+

−

|[[Image:Installscript-03.png|thumb|none|''DL Manager Sub 1'']]

+

−

|One ''layer'' deeper

+

−

|-

+

−

|[[Image:Installscript-04.png|thumb|none|''DL Manager Sub 2'']]

+

−

|Here, one actually selects the sources

+

−

|-

+

−

|[[Image:Installscript-05.png|thumb|none|''Download Status'']]

+

−

|Download status

+

−

|-

+

−

|[[Image:Installscript-06.png|thumb|none|''Mainmenu'']]

+

−

|Startmenu => ''Software Manager''

+

−

|-

+

−

|[[Image:Installscript-07.png|thumb|none|''Software Manager'']]

+

−

|Selection of the packages.

+

−

|-

+

−

|[[Image:Installscript-08.png|thumb|none|''Software Select'']]

+

−

|Here, the selection of the sources takes place (version independent). One should roughly what maches together!

+

−

|-

+

−

|[[Image:Installscript-09.png|thumb|none|''Start up'']]

+

−

|Entry for '''/etc/inittab'''

+

−

|-

+

−

|[[Image:Installscript-10.png|thumb|none|''Channels Select'']]

+

−

|Selection of the ''[[Syntax of the channels.conf|channels.conf]]''

+

−

|-

+

−

|[[Image:Installscript-11.png|thumb|none|''Software Manager'']]

+

−

|Software Manager => ''[[Patches]]''

+

−

|-

+

−

|[[Image:Installscript-12.png|thumb|none|''Patch Select'']]

+

−

|Basically all patches can be applied as available. Just copy them into '''../packages/vdr/patches''' (requirement: ''--dry-run'' works)

+

−

|-

+

−

|[[Image:Installscript-13.png|thumb|none|''Patchlog'']]

+

−

|If everythings went fine

+

−

|-

+

−

|[[Image:Installscript-14.png|thumb|none|''Mainmenu'']]

+

−

|Mainmenu => ''Plugins Manager''

+

−

|-

+

−

|[[Image:Installscript-15.png|thumb|none|''Plugins Manager'']]

+

−

|There are three options: '''<nowiki><I></nowiki>''' for ''install'', '''<nowiki><U></nowiki>''' for ''replace'', and '''<nowiki><D></nowiki>''' for ''delete''. Sometime VDR has to be patched for some plugins, should be visible in the plugins.log, for ''--reverse'' of a patches, just de-install the corresponding plugin ('''<nowiki><D></nowiki>''').

+

−

|-

+

−

|[[Image:Installscript-16.png|thumb|none|''Plugins Opt'']]

+

−

|Show additional options for plugins compilation. See also [[:de:installscript-make.conf|'''make.conf''']]

+

−

|-

+

−

|[[Image:Installscript-17.png|thumb|none|''Mainmenu'']]

+

−

|Mainmenu => ''Compiling''

+

−

|-

+

−

|[[Image:Installscript-18.png|thumb|none|''Driver Select'']]

+

−

|Selection of the [[linuxtv:DVB Standard|DVB]] driver.

+

−

|-

+

−

|[[Image:Installscript-19.png|thumb|none|''Postinstallation'']]

+

−

|Shows the ''Postinstallation''.

+

−

|-

+

−

|[[Image:Installscript-20.png|thumb|none|''Compile Menu'']]

+

−

|Selection of the options.

+

−

|-

+

−

|[[Image:Installscript-21.png|thumb|none|''Edit'']]

+

−

|Here one can change the options for the compilation of VDR

+

−

|-

+

−

|[[Image:Installscript-22.png|thumb|none|''Plugins Check'']]

+

−

|Show what was compiled

+

−

|-

+

−

|[[Image:Installscript-23.png|thumb|none|''Mainmenu'']]

+

−

|Mainmenu => ''pluginsetup''

+

−

|-

+

−

|[[Image:Installscript-24.png|thumb|none|''Plugins Select'']]

+

−

|Dialog for activation of the plugins, it can later be changed through ''[[admin-plugin]]''

+

−

|-

+

−

|[[Image:Installscript-25.png|thumb|none|''Installationslog'']]

+

−

|The log files are located in '''/var/log/vdr'''

+

−

|}

+

−

===Available modules===

+

bash> sh vdr-install-script-current.run --noexec --target /tmp/vdr

−

To be continued...

+

bash> cd /tmp/vdr/setup

−

===Stow(ES)===

+

The following files should be adapted according to your needs.

−

[[GNU]] stow helps to organise the files under '''/usr/local''', by installing every software under his own directory tree under '''/usr/local/stow'''. And then, symbol links create the illusion, every software is installed in the same place.