Magellan Linux

Diff of /smage/branches/alx-0_6_0/core/kernel26-alx/kernel26-alx-2.6.37-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2566 by niro, Mon Jul 4 20:35:24 2011 UTC revision 2567 by niro, Mon Jul 4 20:58:14 2011 UTC
# Line 94  postinstall() Line 94  postinstall()
94   local kernel_image   local kernel_image
95   local kernel_description   local kernel_description
96    
  # fixes an annoying warning  
  # only generate initrd!  
  new-kernel-pkg() { mkinitrd -f /boot/initrd-${KPVER}-${KBRANCH}-${KPBUILD}.img ${KPVER}-${KBRANCH}-${KPBUILD}; }  
97   kernel26_image_postinstall   kernel26_image_postinstall
98    
99   kernel_image="kernel-${KPVER}-${KBRANCH}-${KPBUILD}"   kernel_image="kernel-${KPVER}-${KBRANCH}-${KPBUILD}"
# Line 111  postinstall() Line 108  postinstall()
108    
109   alx_postinstall   alx_postinstall
110  }  }
   
 postremove()  
 {  
  # fixes an annoying warning  
  new-kernel-pkg() { true; }  
  kernel26_image_postremove  
 }  

Legend:
Removed from v.2566  
changed lines
  Added in v.2567