|
From: Roland P. <pa...@ta...> - 2004-01-31 18:32:24
|
On Saturday 31 January 2004 16:22, Heiko Zuerker wrote: > Roland Pabel wrote: > > Hi, > > I'm currently coding the option to preselect the boot options (I prefer > > 1024x768, not text) and adding user-defined options to the boot loader. > > In the /build/scripts/build-iso script, there is this passage which > > writes the loader configs and the first two entries read (that's line > > 250) > > > > prompt 1 > > label 0 > > kernel /boot/vmlinuz > > append root=/dev/ram0 initrd=/boot/initrd.gz init=/linuxrc ramdisk=8096 > > label 1 > > kernel /boot/vmlinuz > > append root=/dev/ram0 initrd=/boot/initrd.gz init=/linuxrc > > ramdisk_blocksize=4096 vga=769 > > > > the other labels look like "label 1". Shouldn't this read all the same > > except for the vga option? Is ramdisk_blocksize an error (should be > > ramdisk)? And I guess 8096 should read 4096... > > You are absolutely correct, this was a bug. Update from CVS and you'll > get the fixed version. > > Hey I get an idea! Why don't you modify it so, that you can select the > default resolution via menuconfig ? And of course send us the patch > then.... ;-) Well, that is actually what I'm doing...(I hope that was no sarcasm ;) The resolution selection part is already done, but I'm having some problems with the "enter a text" part: I can't find a way to transparently write "text" as the first word into .result with the current scripts. You solved this for lists by returning "listsel x" for a selected item, but "lxdialog --inputbox" doesn't support that (at least I think so, can't find much documentation about it) Roland -- ICQ UIN 49339118 Linux Counter #88774 GPG-Key 1024D/59C6AFA6 2003-02-07 Roland Pabel <ro...@pa...> |