Re: GTK+ frontend for the installer
Em Wed, 23 Jun 2004 18:13:44 -0300, Gustavo Noronha Silva <kov@debian.org>
escreveu:
> Now the problem is a bit simpler to look at, I hope, as cdebconf
> is trying to launch the gtkfb-based frontend but the kernel is
> lacking fb support. I'm trying to boot with qemu, and I found out
Ok... the problem was in rootskel's init scripts for debian-installer.
The script which decides on loading framebuffer is S33, but before it
runs some other scripts already use debconf, which causes it to
try to load the frontend which needs fb which is not yet loaded =D.
The script that loads fb itself uses debconf, so we'll need to figure
out a way of changing this.
Now the problem is dfb complains that the fb mode in use is not
supported:
http://beterraba.no-ip.org/shots/cdebconf-dfb-problem.png
This is using vga16... next step is I'll try vesafb. Attached you'll
find the modifications that were needed on rootskel.
Thanks,
--
Gustavo Noronha Silva <kov@debian.org> | http://beterraba.no-ip.org/~kov
Debian Developer: http://www.debian.org/ | http://www.debian-br.org/
Brazilian GNOME Translation Effort: http://gnome-br.sourceforge.net/
diff -urN -x .svn rootskel/src/lib/debian-installer.d/Makefile rootskel.new/src/lib/debian-installer.d/Makefile
--- rootskel/src/lib/debian-installer.d/Makefile 2004-06-23 21:36:48.000000000 -0300
+++ rootskel.new/src/lib/debian-installer.d/Makefile 2004-06-23 21:35:20.000000000 -0300
@@ -14,13 +14,13 @@
S70menu-linux
files_term = \
- S30term-linux \
+ S05term-linux \
S40utf8-linux \
S90utf8-linux
ifeq ($(DEB_HOST_GNU_CPU),i386)
files_term += \
- S33framebuffer-module-linux-i386
+ S10framebuffer-module-linux-i386
endif
ifeq ($(DEB_HOST_GNU_CPU),s390)
files_term += \
diff -urN -x .svn rootskel/src/lib/debian-installer.d/S05term-linux rootskel.new/src/lib/debian-installer.d/S05term-linux
--- rootskel/src/lib/debian-installer.d/S05term-linux 1969-12-31 21:00:00.000000000 -0300
+++ rootskel.new/src/lib/debian-installer.d/S05term-linux 2004-06-23 21:35:20.000000000 -0300
@@ -0,0 +1,13 @@
+case `readlink /proc/self/fd/0` in
+ /dev/console|/dev/tts/*)
+ TERM_TYPE=serial
+ ;;
+ /dev/vc/*)
+ TERM_TYPE=virtual
+ ;;
+ /dev/pts/*)
+ TERM_TYPE=pts
+ ;;
+esac
+
+export TERM_TYPE
diff -urN -x .svn rootskel/src/lib/debian-installer.d/S10framebuffer-module-linux-i386 rootskel.new/src/lib/debian-installer.d/S10framebuffer-module-linux-i386
--- rootskel/src/lib/debian-installer.d/S10framebuffer-module-linux-i386 1969-12-31 21:00:00.000000000 -0300
+++ rootskel.new/src/lib/debian-installer.d/S10framebuffer-module-linux-i386 2004-06-23 21:35:20.000000000 -0300
@@ -0,0 +1,3 @@
+echo "Trying to enable the frame buffer.."
+modprobe -q vesafb >/dev/null 2>&1 || modprobe -q vga16fb 2>&1 >/dev/null || true
+modprobe -q fbcon >/dev/null 2>&1 || true
diff -urN -x .svn rootskel/src/lib/debian-installer.d/S30term-linux rootskel.new/src/lib/debian-installer.d/S30term-linux
--- rootskel/src/lib/debian-installer.d/S30term-linux 2004-06-23 21:36:48.000000000 -0300
+++ rootskel.new/src/lib/debian-installer.d/S30term-linux 1969-12-31 21:00:00.000000000 -0300
@@ -1,13 +0,0 @@
-case `readlink /proc/self/fd/0` in
- /dev/console|/dev/tts/*)
- TERM_TYPE=serial
- ;;
- /dev/vc/*)
- TERM_TYPE=virtual
- ;;
- /dev/pts/*)
- TERM_TYPE=pts
- ;;
-esac
-
-export TERM_TYPE
diff -urN -x .svn rootskel/src/lib/debian-installer.d/S33framebuffer-module-linux-i386 rootskel.new/src/lib/debian-installer.d/S33framebuffer-module-linux-i386
--- rootskel/src/lib/debian-installer.d/S33framebuffer-module-linux-i386 2004-06-23 21:36:47.000000000 -0300
+++ rootskel.new/src/lib/debian-installer.d/S33framebuffer-module-linux-i386 1969-12-31 21:00:00.000000000 -0300
@@ -1,5 +0,0 @@
-if [ "`debconf-get debian-installer/framebuffer`" = true ]; then
- echo "Trying to enable the frame buffer.."
- modprobe -q vesafb >/dev/null 2>&1 || modprobe -q vga16fb 2>&1 >/dev/null || true
- modprobe -q fbcon >/dev/null 2>&1 || true
-fi
Reply to: