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

[Bug 1198] xdebian-edu-firstboot reports erros when there is no error.



http://bugs.skolelinux.no/show_bug.cgi?id=1198





------- Additional Comments From pere@hungry.com  2007-07-02 23:55 -------
I believe the problem is that fontconfig is unpackaged but not yet configured
when ttf-dejavu is installed.  As the error seem to be non-fatal, I commited
this workaround.  The workaround should be removed when the ttf-dejavu package
no longer have this problem.  I suspect the fix is to get defoma to
depend/recommend fontconfig, to make sure fontconfig is configured before 
defoma.

Index: debian/changelog
===================================================================
--- debian/changelog    (revision 35210)
+++ debian/changelog    (working copy)
@@ -22,6 +22,9 @@
   * Fix usplash bug in debian-edu-test-install.  Based on patch
     from Jose L. Redrejo.  Moved here from debian-edu-config.
     (Closes skolelinux bug #1204)
+  * Ignore error messages like 'Fontconfig error:' when checking the
+    installation log for errors until bug #422980 in ttf-dejavu is
+    solved.

  -- Petter Reinholdtsen <pere@debian.org>  Sun,  1 Jul 2007 22:20:11 +0200

Index: debian/debian-edu-install.firstboot
===================================================================
--- debian/debian-edu-install.firstboot (revision 35194)
+++ debian/debian-edu-install.firstboot (working copy)
@@ -31,7 +31,9 @@
     # find error messages in the d-i log and the self test
     if [ -f /var/log/installer/syslog  ] ; then
         # remove syslog prefix
-        grep error: /var/log/installer/syslog | sed 's/.*error: /error: /g' > 
$errfile
+        grep error: /var/log/installer/syslog | \
+           grep -v 'Fontconfig error:' |
+           sed 's/.*error: /error: /g' > $errfile
     fi
     grep error: $logfile >> $errfile || true





------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



Reply to: