Difference between revisions of "Installscript"

From VDR Wiki
Jump to: navigation, search
Line 27: Line 27:
* config/[[:de:installscript-configure.conf|'''configure.conf''']]
* config/[[:de:installscript-configure.conf|'''configure.conf''']]
* config/[[:de:installscript-marks2pts.conf|'''marks2pts.conf''']]
* config/[[:de:installscript-marks2pts.conf|'''marks2pts.conf''']]
* examples/plugins/[[:de:installscript-accounts.conf|'''accounts.conf''']]
* examples/plugins/mailbox/[[:de:Accounts.conf|'''accounts.conf''']]
* examples/vdr/[[:de:installscript-record.conf|'''record.conf''']]
* examples/vdr/[[:de:installscript-record.conf|'''record.conf''']]
* examples/vdr/[[:de:installscript-shutdown.conf|'''shutdown.conf''']]
* examples/vdr/[[:de:installscript-shutdown.conf|'''shutdown.conf''']]

Revision as of 12:30, 17 December 2004


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


  • Development environment



First of all

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

Scripts customisation


sh vdr-install-script-<VERSION>.run --noexec --target /tmp/VDRtmp
cd /tmp/VDRtmp/setup

It is useful to customise the following configuration file to his own needs

e.g. with the mcedit editor

mcedit config/setup.conf

In ../config/plugins befinden sich die Einstellungen der Plugins, als bsp das audiocd-plugin. ../config/plugins/audiocd.conf

## Description:
# -d DEV --device=DEV set device (default: /dev/cdrom)
-d /dev/cdrom

Options are prefaced with ^-, after selection it goes into the plugin_setup.conf, see pluginsetup-plugin, the same for Description.

## Description: AudioCD Plugin
                Würde später im Menu des Plugins (pluginsetup) stehen, ansonnsten <NAME>

Most of the options can be delivered through the commandline, independently from setup.conf

./setup.sh --help
./vdr-install-script-<VERSION>.run -- --help


In order that the setting are not lost at updates, everything should be backuped.



and go to

<-> - Configuration
    | - Load an Alternate Configuration File --->
    | - Save Configuration to an Alternate File --->

To save the settings somewhere else, e.g. /media/floppy/.config (ca. 80KB).

After an update, these setting can be loaded through

<-> - Configuration
    | - Load an Alternate Configuration File --->

Another possibility is the backup of the complete script with

./setup.sh --buildrunpackage
     Label (default "vdr-install-script-<VERSION>.run"):

Gesichert wird, was in ../setup/SAFE definiert wurde.

# FILE(s) only txt files!
# DIRECTORY(ies) maxdepth 1, only txt files!

Wer möchte kann auch Files "außerhalb" der Scripts sichern, einfach eintragen.

# FILE(s) only txt files!

Installation protocol

Download Manager
Download Manager
DL Manager Sub 1
One layer deeper
DL Manager Sub 2
Here, one actually selects the sources
Download status
Startmenu => Software Manager
Software Manager
Selection of the packages.
Here, the selection of the sources takes place (version independent). One should roughly what maches together!
Entry for /etc/inittab
Selection of the channels.conf
Software Manager
Software Manager => Patches
Basically all patches can be applied as available. Just copy them into ../packages/vdr/patches (requirement: --dry-run works)
If everythings went fine
Mainmenu => Plugins Manager
There are three options: <I> for install, <U> for replace, and <D> 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 (<D>).
Show additional options for plugins compilation. See also make.conf
Mainmenu => Compiling
Selection of the DVB driver.
Shows the Postinstallation.
Selection of the options.
Here one can change the options for the compilation of VDR
Show what was compiled
Mainmenu => pluginsetup
Dialog for activation of the plugins, it can later be changed through pluginsetup plugin
The log files are located in /var/log/vdr


Available modules

This is an index of the available modules. Everything below ./add can be upgraded.

Modules in the ../untestet directory must to be customised!

  • One modules requires kernel 2.6 (actuator.cmd)
  • Some modules are still in beta status
  • Other have missing links


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.

Here are some of the most important commands

  • help
/usr/local/stow/stowES help --prog stow=/usr/local/stow/stow
  • checkstow (cs)
/usr/local/stow/stowES cs --prog stow=/usr/local/stow/stow
Checking packages in /usr/local/stow (78 matches):
I (  772.5) DFB++-0.9.20
I (  1,385) DirectFB-0.9.20
I (19223.5) ImageMagick-6.0.2
I ( 10,085) MPlayer-1.0pre4
  • checkin (ci)
/usr/local/stow/stowES ci MPlayer-1.0pre4 --prog stow=/usr/local/stow/stow
Calling "stow" to check in package MPlayer-1.0pre4 ...done.
Calling ldconfig
  • ceckout (co)
/usr/local/stow/stowES co MPlayer-1.0pre4 --prog stow=/usr/local/stow/stow
Calling "stow -D" to check out package MPlayer-1.0pre4 ...done.
Calling ldconfig.
  • remove (rm)
/usr/local/stow/stowES rm MPlayer-1.0pre4 --prog stow=/usr/local/stow/stow
Calling "stow -D" to check out package MPlayer-1.0pre4 ...done.
Calling "rm -rf" to remove package MPlayer-1.0pre4 ...done.
Calling ldconfig.
  • exchange
/usr/local/stow/stowES exchange MPlayer-1.0pre4 MPlayer-1.0pre5 --prog stow=/usr/local/stow/stow
Calling "stow -D" to check out package MPlayer-1.0pre4 ...done.
Calling "stow" to check in package MPlayer-1.0pre5 ...done.
Calling ldconfig.

To be continued...


[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