On Wed, 2014-09-17 at 18:45 +0100, Ian Campbell wrote:
> Not sure what we can do about this. Perhaps choose another separator
> ("=="?) and make user-params support both?

Reading the kernel source it seems it only checks for exactly "--". So I
propose we support "---" in addition to "--", something like the
following (untested) patch.

diff --git a/user-params b/user-params
index 53677b5..2d41e05 100755
--- a/user-params
+++ b/user-params
@@ -14,7 +14,7 @@ for item in $(sed -e 's/[^ =]*="[^"]*[ ][^"]*"//g' \
        # Remove trailing '?' for debconf variables set with '?='
        var="${var%\?}"
 
-       if [ "$item" = "--" ]; then
+       if [ "$item" = "--" ] || [ "$item" = "---" ]; then
                inuser=1
                collect=""
        elif [ "$inuser" ]; then

Ian.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to