Penguin

Differences between version 32 and predecessor to the previous major change of DebianNotes.

Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History

Newer page: version 32 Last edited on Saturday, January 14, 2006 11:04:01 pm by CraigBox Revert
Older page: version 30 Last edited on Wednesday, December 14, 2005 6:06:11 pm by AlastairPorter Revert
@@ -103,8 +103,22 @@
 # Edit <tt>/etc/apt/sources.list</tt> to the version you want 
 # Issue <tt>apt-get --reinstall install binutils</tt> which will reinstall and pretty much everything 
  
 You may find yourself in a situation which you have an old linker that won't let you uninstall a relatively new libc6. The solution to this problem is to reverse the changes in <tt>/etc/apt/sources.list</tt>, get a new linker, get an old libc6, then get an old linker. 
+  
+!! Reconfiguring the bootloader automagically after kernel package install/remove  
+  
+If you use kernel packages, you can configure the machine to run a postinstall/postremove script. This is normally taken care of during system install time (if you install a machine with [GRUB], then update-grub is run after kernel install/remove), but if you change bootloaders, it may not be.  
+  
+Look in /etc/kernel-img.conf (create it if it doesn't exist), and set the postinst_hook and postrm_hook values accordingly.  
+<verbatim>  
+postinst_hook=/sbin/update-grub  
+postrm_hook=/sbin/update-grub  
+</verbatim>  
+  
+!! Compiling debs for modules  
+  
+If you run 'make-kpkg modules_image', make-kpkg(1) will go through /usr/src/modules and build modules .debs for all the subdirectories of Debian-build-able modules you have in there.  
  
 !!! Miscellaneous Notes 
  
 !! Setting up two [NIC]s to bridge