debconf-set-selections within installer not working with preseed files that have multiline entries
Bug #47767 reported by
Scott Dier
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
preseed (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Tried using the netboot from the dapper RC release cd and the example-preseed.txt file refuses to be parsed. It would only work if I removed every multiline entry.
changing:
d-i partman/
select Finish partitioning and write changes to disk
to:
d-i partman/
without such changes debconf-
ie:
debconf-
shift: 52: can't shift that many
To post a comment you must log in.
Looks like Joey fixed this in d-i upstream r35026:
Index: debconf- set-selections ======= ======= ======= ======= ======= ======= ======= ======= ==== set-selections (revision 35025) set-selections (revision 35026)
multiline= "$multiline$ {line%\ \\\}"
continue multiline$ line"
multiline= ""
=======
--- debconf-
+++ debconf-
@@ -24,7 +24,7 @@
elif [ -n "$multiline" ]; then
- line="$multiline"
+ line="$
fi
Would you mind testing this patch? If you boot with the BOOT_DEBUG=3 kernel option, then you can use nano to edit /bin/debconf- set-selections on the fly. If that works, we may be able to get it into dapper-updates.