[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#390565: Patch for the graphical installer on PPC boxes



Sven Luther wrote:
<snip/>

Attilio, your patch seems broken, you probably need :

+if grep -v "PowerBook6,7" /proc/cpuinfo ; then

Thanks for Eddy for finding out this one.

As discussed with you and eddy on IRC, i updated the patchfile.
Attached to this file you'll find the entire patchfile for both rootskel and rootskel-gtk, even if only S50directfb-linux-powerpc was actually updated. As soon as a new test image is ready, i'll ask a PowerBook6,7 owner to test it.

thanks

Attilio


Index: src/lib/debian-installer-startup.d/S50directfb-linux-powerpc
===================================================================
--- src/lib/debian-installer-startup.d/S50directfb-linux-powerpc        (revisione 0)
+++ src/lib/debian-installer-startup.d/S50directfb-linux-powerpc        (revisione 0)
@@ -0,0 +1,9 @@
+#disabling radeon DFB module for all radeon-based cards
+if grep "Radeon" /proc/fb; then
+       sed -i "s/^#disable-module=radeon/disable-module=radeon/" /etc/directfbrc
+fi
+
+#disabling linux_input DFB module except for "PowerBook6,7"
+if [ -z "$(grep "machine.*:.*PowerBook6,7" /proc/cpuinfo)" ]; then
+       sed -i "s/^#disable-module=linux_input/disable-module=linux_input/" /etc/directfbrc
+fi
Index: src/lib/debian-installer-startup.d/Makefile
===================================================================
--- src/lib/debian-installer-startup.d/Makefile (revisione 41155)
+++ src/lib/debian-installer-startup.d/Makefile (copia locale)
@@ -32,7 +32,8 @@

   ifeq ($(DEB_HOST_ARCH_CPU),powerpc)
     files += \
-       S45keyboard-linux-powerpc
+       S45keyboard-linux-powerpc \
+       S50directfb-linux-powerpc
   endif

   ifneq (,$(filter mips mipsel,$(DEB_HOST_ARCH_CPU)))


Index: src/etc/directfbrc
===================================================================
--- src/etc/directfbrc  (revisione 41145)
+++ src/etc/directfbrc  (copia locale)
@@ -1,3 +1,4 @@
 no-hardware
 screenshot-dir=/var/log
-#disable-module=linux_input #needed for touchpads to work
+#disable-module=linux_input
+#disable-module=radeon

Reply to: