Packaging/Server

First, download the sources and enter the ltsp-trunk dir.

Dependencies

 * lsb_release - LSB version query program
 * a DHCP server - for instance provided by:
 * dnsmasq
 * dhcpcd
 * isc-dhcp-server
 * ldm-server - LDM server components
 * ltspfs - LTSP filesystem
 * squashfs-tools - Tool for creating compressed filesystem type squashfs
 * and some more...

Install
Several types of files are installed.

Scripts
The commands listed here are generic and should be used by all distro's using LTSP. All these should be copied executable. cp server/localapps/ltsp-localapps /usr/bin cp server/ltsp-info /usr/sbin cp server/ltsp-build-client /usr/sbin cp server/ltsp-update-kernels /usr/sbin cp server/ltsp-chroot /usr/sbin cp server/ltsp-update-image /usr/sbin cp server/ltsp-swapfile-delete /usr/sbin cp server/nbdswapd /usr/sbin

Plugins & Functions
First copy the common stuff in /server/share, then overlay it with everything in /server/$DISTRO. The copying of the ltsp-build-client plugins might seem a bit inconsistent in comparison with the general design. But this one hasn't been rewritten yet. mkdir /usr/share/ltsp mkdir -p /usr/share/ltsp/plugins/ltsp-build-client/common mkdir -p /usr/share/ltsp/plugins/ltsp-build-client/$DISTRO cp server/share/ltsp-server-functions /usr/share/ltsp/ltsp-server-functions cp common/ltsp-common-functions /usr/share/ltsp/ltsp-server-common-functions cp server/share/ltsp/plugins/ltsp-build-client/common/* /usr/share/ltsp/plugins/ltsp-build-client/common/. cp server/share/ltsp/plugins/ltsp-build-client/$DISTRO/* /usr/share/ltsp/plugins/ltsp-build-client/$DISTRO/. cp server/$DISTRO/share/* /usr/share/ltsp/.

Docs & Configs
mkdir /etc/ltsp cp server/configs/ltsp-update-image.excludes /etc/ltsp/ltsp-update-image.excludes cp server/configs/ltsp-server.conf /etc/ltsp/ltsp-server.conf cp server/configs/lts.conf /usr/share/doc/ltsp-server/examples/lts.conf cp server/configs/dhcpd.conf /usr/share/doc/ltsp-server/examples/dhcpd.conf cp server/docs/examples/ltsp-server-dnsmasq.conf usr/share/doc/ltsp-server/examples/ltsp-server-dnsmasq.conf cp server/$DISTRO/configs/* /etc/ltsp/. cp server/$DISTRO/configs/$TOOL_CONFIG_DIRS