[Pkg-ltsp-devel] Bug#391805: wish for comma support in components argument of ltsp-client-builder

Ronny Aasen ronny at skolelinux.no
Sun Oct 8 15:22:24 UTC 2006


Package: ltsp-server
Version: 0.99debian3
Severity: |wishlist
Tag: patch


The udeb ltsp-client-builder supports preseeding ltsp-build-client with 
arguments.
problem is that using space in the argument like this : --components 
main local   don't work very well from the debian installer.

i wish for support of comma separated values in the --components 
argument. then we can preseed like this : --components main,local


the following patch worked for me.

=== modified file 
'server/plugins/ltsp-build-client/Debian/001-set-components'
--- server/plugins/ltsp-build-client/Debian/001-set-components  
2006-06-26 18:41:14 +0000
+++ server/plugins/ltsp-build-client/Debian/001-set-components  
2006-10-08 13:21:43 +0000
@@ -4,7 +4,7 @@
             ;;
     configure)
             if [ -n "$option_components_value" ]; then
-                COMPONENTS="$option_components_value"
+                COMPONENTS="$(echo $option_components_value|tr ',' ' ')"
             fi
             ;;
 esac



Ronny Aasen
|




More information about the Pkg-ltsp-devel mailing list