[pve-devel] r5243 - pve-installer/trunk

svn-commits at proxmox.com svn-commits at proxmox.com
Fri Oct 8 12:38:30 CEST 2010


Author: dietmar
Date: 2010-10-08 10:38:30 +0000 (Fri, 08 Oct 2010)
New Revision: 5243

Modified:
   pve-installer/trunk/changelog
   pve-installer/trunk/proxinstall
Log:


Modified: pve-installer/trunk/changelog
===================================================================
--- pve-installer/trunk/changelog	2010-10-08 10:34:28 UTC (rev 5242)
+++ pve-installer/trunk/changelog	2010-10-08 10:38:30 UTC (rev 5243)
@@ -1,6 +1,7 @@
 pve-installer (1.0-11) unstable; urgency=low
 
-  * do not run update-initramfs (our new kernel do that in postinst script)
+  * run update-initramfs with -c flag (our new kernel do not have any
+    initrd image included, so we need to create it)
 
  -- Proxmox Support Team <support at proxmox.com>  Fri, 08 Oct 2010 12:28:35 +0200
 

Modified: pve-installer/trunk/proxinstall
===================================================================
--- pve-installer/trunk/proxinstall	2010-10-08 10:34:28 UTC (rev 5242)
+++ pve-installer/trunk/proxinstall	2010-10-08 10:38:30 UTC (rev 5243)
@@ -833,6 +833,8 @@
 	    symlink ("/proc/mounts", "$targetdir/etc/mtab");
 	    syscmd ("mount -n --bind /dev $targetdir/dev");
 
+	    syscmd ("chroot $targetdir update-initramfs -c -t");
+
 	    syscmd ("chroot $targetdir /usr/sbin/grub-install --no-floppy '(hd0)'") == 0 ||
 		die "unable to install the boot loader\n";
 




More information about the pve-devel mailing list