Optional prefixes: [g]oogle, [m]ap  
[w]ikipedia, [snopes]  

home » work in progress » rebuild ltsp client

Rebuild LTSP Client

Table of Contents

Warning

This document is work in progress


top

Why rebuild the client

There are times when tinkering is just not enough and you decide that you want to rebuild the client. E.g. you have messed about with the chroot, and now the clients will not boot, or you have lost local functionality and cannot resolve it.


top

Method

  1. Backup special client config, e.g. /opt/ltsp/i386/etc/lts.conf
  2. Remove /opt/ltsp/i386
  3. Re-run ltsp-build-client script


top

Backup client configuration

Create a temporary backup directory:

$ cd
$ mkdir ltsp-client-config

Copy lts.conf (the location of the config for all your clients):

$ sudo cp /opt/ltsp/i386/etc/lts.conf ~/ltsp-client-config

List the current client packages:

$ sudo chroot /opt/ltsp/i386
$ dpkg --get-selections >dpkg-selections
$ exit

Copy created list of client packages into the temporary backup directory:

$ cp /opt/ltsp/i386/dpkg-selections ~/ltsp-client-config

Think about the changes you have made to your client and think about backing up those changes.


top

Build client

$ sudo ltsp-build-client --extra-mirror "http://pkg-ltsp.alioth.debian.org/debian etch-ltsp-backports main" --apt-key /etc/apt/trusted.gpg

If you want to install the client elsewhere than /opt/ltsp then add switch for " --base /opt/path"


top

Further Information

You may want to perform further configuration on the client:

Share

top