[patch] Improve long description avoid i386 hardcoding for ltsp 0.43
Here is a minor patch for ltsp 0.43 to add a long package description
and get rid of one hardcoded 'i386'. I'm still finding my way around
the package, so I start by submitting the obvious changes I've done so
far.
--- orig/debian/control
+++ mod/debian/control
@@ -11,11 +11,17 @@
Suggests: dhcp3-server
Architecture: all
Description: Basic LTSP server environment
+ The scripts needed to generate the client environment on a server.
+ This is the basic environment depending on external a DHCP server to
+ point the clients to the LTSP server.
Package: ltsp-server-standalone
Depends: ltsp-server, ltsp-utils, dhcp3-server
Architecture: all
Description: Complete LTSP server environment
+ The scripts needed to generate the client environment on a server.
+ This is the complete environment including a DHCP server to bootstrap
+ the clients.
Package: ltsp-client
Depends: lsb-base, nbd-client, openssh-client, python-gtk2, python-glade2, initramfs-tools (>= 0.11)
@@ -24,3 +30,4 @@
Replaces: ltsp-utils
Architecture: any
Description: LTSP client environment
+ The scripts needed to configure and boot an LTSP client.
--- orig/server/ltsp-update-sshkeys
+++ mod/server/ltsp-update-sshkeys
@@ -1,6 +1,6 @@
#!/bin/sh
-clients=/opt/ltsp/i386
+clients=/opt/ltsp/$(dpkg --print-architecture)
hostname=$(hostname)
ips=$(getent hosts $hostname | awk '$0 !~ /127.0.0.1/ { print $1 }')
ips=$(ip -o addr show | awk '$3 == "inet" && $4 !~ /^127\./ { print $4 }' | sed -e 's,/[0-9][0-9]*\>,,g')
Reply to: