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

Bug#226779: kernel-package: differences between official and custom builds



tags 226779 + patch
thanks

This same bug also hit Ubuntu, and was fixed by Matt Zimmerman with the 
attached patch.

Cheers,
Danilo
kernel-package (8.119ubuntu3) hoary; urgency=low

  * Use $silent_modules=Yes for official images on initial installation, not
    only on upgrade (Ubuntu bug #4341)

 -- Matt Zimmerman <mdz@ubuntu.com>  Tue,  8 Feb 2005 12:29:07 -0800

diff -Nru kernel-package-8.119ubuntu2/kernel/image.preinst kernel-package-8.119ubuntu3/kernel/image.preinst
--- kernel-package-8.119ubuntu2/kernel/image.preinst	2004-10-29 00:48:25.000000000 +0200
+++ kernel-package-8.119ubuntu3/kernel/image.preinst	2005-02-08 21:29:05.000000000 +0100
@@ -87,9 +87,8 @@
 exit 0 if $ARGV[0] =~ /abort-upgrade/;
 exit 1 unless $ARGV[0] =~ /(install|upgrade)/;
 
-# Official images may silently upgrade
-if ($official_image =~ /^\s*YES\s*$/o
-    && ($ARGV[0] =~ /upgrade/ || $arch =~ m/powerpc/)) {
+# Official images may silently install or upgrade
+if ($official_image =~ /^\s*YES\s*$/o) {
     $silent_modules = 'Yes';
   }
 

Reply to: