ubiquity support to override default frontend via kernel option
Bug #364009 reported by
Roberto C. Morano
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Guadalinex |
In Progress
|
Wishlist
|
Juanje Ojeda | ||
ubiquity (Ubuntu) |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
Binary package hint: ubiquity
Hello,
I'm working on Guadalinex a derivated Ubuntu distro, and we have been in the need to override the ubiquity frontend used when the 'only-ubiquity' is used as kernel option.
By default, it uses gtk_ui, but we use a customized one, so I have added support to '/etc/init.
I attach a patch for this file. Hope it (at least the idea itself :) can be included in further versions of ubiquity, since I think is a good idea for derivatives :]
Changed in guadalinex: | |
importance: | Undecided → Wishlist |
milestone: | none → beta |
Changed in guadalinex: | |
assignee: | nobody → Juanje Ojeda (juanje) |
status: | New → In Progress |
Changed in ubiquity (Ubuntu): | |
status: | In Progress → Fix Committed |
importance: | Undecided → Wishlist |
To post a comment you must log in.
Thanks for your patch.
Your patch is reversed.
Goodness me, that's a lot of work to parse /proc/cmdline. Did you not see the code above in the same init script that iterates over /proc/cmdline in shell, without the need to start awk? You can deal with splitting foo=bar in pure shell too, with something like "${x#*=}".
This isn't your fault, but I'm beginning to become uncomfortable with the number of haphazardly-named boot parameters owned by ubiquity. I'd like to have new parameters namespaced, so perhaps the debconf-style ubiquity/ frontend= gtk_ui; I don't mind so much at this point whether that's actually parsed by debconf or by the init script.