Hacking Ubiquity
mariodebian
mariodebian at gmail.com
Wed Mar 12 20:29:28 GMT 2008
Hi all.
I'm working on a Ubuntu derivate called MaX (for Madrid Educational
Goverment, Spain)
I need to change some behaviours of ubiquity:
1.- Not show Language, Keyboard and TimeZone.
(this is done preseeding some setings and comenting some code in
gtk_ui.py)
2.- Append another step called stepInstallType after stepWelcome which
contains some radio buttons so select instalation method (for pupils,
teachers, servers...)
3.- Hide User step (using preseed like 1.-)
I have some problems.
My stepInstallType is only a glade file, and I connect radio onchange
event to gtk_ui method, but I can save this data into debconf because is
locked by another process.
I suppose that error is to leave consoleSetup hidden blocking debconf.
If I delete consoleSetup step from self.steps my step is not show and
installer go to partman.
Is there any way to force show a step (self.stay_on_page)?
To not touch Ubuntu packages I build ubiquity-frontend-max with some
files using dpsyco to overwrite Ubuntu ones:
TRAC with SVN:
http://max.educa.madrid.org:8000/browser/trunk/ubiquity-frontend-max
Preseed file:
http://max.educa.madrid.org:8000/browser/trunk/max-genlive/usr/share/max-genlive/preseed/max.seed
ubiquity/max_install_type is result of my radio selection (or is where I
want to save it)
NOTE: Trying to explain me better, I have said that edit gtk_ui.py, this
is not true, I have copied to max_ui.py and added frontend
in /usr/bin/ubiquity*
DSC file:
http://max.educa.madrid.org/max40/pool/main/u/ubiquity-frontend-max/ubiquity-frontend-max_4.0.max0.4.dsc
Thanks for your help
--
http://soleup.eup.uva.es/mariodebian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada
digitalmente
Url : https://lists.ubuntu.com/archives/ubuntu-installer/attachments/20080312/e643d27f/attachment.pgp
More information about the Ubuntu-installer
mailing list