|
From: Heiko Z. <he...@zu...> - 2004-01-31 19:56:24
|
Roland Pabel wrote: > 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 ;) Cool. :-)) > 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 Why don't you just make it a listsel ? 0 text mode 80x25 1 640x480 VESA 2 800x600 VESA and so on. In the build-iso file, then just "cut" it. This "should" work (of course no promise ;-) ) Heiko |