home » work in progress » rebuild ltsp client
This document is work in progress
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.
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.
$ 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"
You may want to perform further configuration on the client: