Difference between revisions of "Installscript"

From VDR Wiki
Jump to: navigation, search
(Scripts customisation)
Line 43: Line 43:
 
                 |--+ [[installscript-vdr.conf|'''vdr.conf''']]
 
                 |--+ [[installscript-vdr.conf|'''vdr.conf''']]
  
 +
===CMD(s)===
 +
 +
+-- [[Image:Folder.png]] $DISDIR
 +
    +-- [[Image:Folder.png]] admin
 +
        +-- [[Image:Folder.png]] [[installscript-command-cmds|'''command-cmds''']]
 +
            |--+ *.conf
 +
        +-- [[Image:Folder.png]] [[installscript-plugin-cmds|'''plugin-cmds''']]
 +
            |--+ *.conf
 +
        +-- [[Image:Folder.png]] [[installscript-recording-cmds|'''recording-cmds''']]
 +
            |--+ *.run
 +
        +-- [[Image:Folder.png]] [[installscript-shutdown-cmds|'''shutdown-cmds''']]
 +
            |--+ *.run
 +
        +-- [[Image:Folder.png]] [[installscript-start-cmds|'''start-cmds''']]
 +
            |--+ [[Image:Folder.png]] rc
 +
            |--+ [[Image:Folder.png]] rc.d
 +
            |--+ [...]
  
 
==Links==
 
==Links==

Revision as of 08:18, 15 March 2006

Description

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

lxdialog

Prerequirements

  • Development environment

check needed requirements by this command:

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

First of all

  • Linux knowledge is required
  • It is useful to have experiences in compiling VDR and it's component manually

Scripts customisation

Unpack

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

The following files should be adapted according to your needs.

+-- Folder.png $DISDIR
    +-- Folder.png setup
        +-- Folder.png config
            |--+ setup.conf
            |--+ make.conf
            |--+ modules.conf
            |--+ sources.conf
            |--+ marks2pts.conf
            |--+ keymacros.conf
        +-- Folder.png examples
            +-- Folder.png plugins
                +-- Folder.png mailbox
                    |--+ accounts.conf
            +-- Folder.png vdr
                |--+ vdr.conf

CMD(s)

+-- Folder.png $DISDIR
    +-- Folder.png admin
        +-- Folder.png command-cmds
            |--+ *.conf
        +-- Folder.png plugin-cmds
            |--+ *.conf
        +-- Folder.png recording-cmds
            |--+ *.run
        +-- Folder.png shutdown-cmds
            |--+ *.run
        +-- Folder.png start-cmds
            |--+ Folder.png rc
            |--+ Folder.png rc.d
            |--+ [...]

Links

[1] ftp://ftp.cadsoft.de/vdr/Tools VDR FTP
[2] http://linvdr.org/download/vdr/Tools Download mirror
[3] http://savannah.gnu.org/projects/stow GNU Stow project homepage
[4] http://www.inf.tu-dresden.de/~al10/stowES Extensions to Stow
[5] http://linuxwiki.de/Stow Stow Wiki