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

svn-commits at proxmox.com svn-commits at proxmox.com
Mon Oct 18 13:22:35 CEST 2010


Author: dietmar
Date: 2010-10-18 11:22:35 +0000 (Mon, 18 Oct 2010)
New Revision: 5274

Modified:
   pve-installer/trunk/proxinstall
Log:


Modified: pve-installer/trunk/proxinstall
===================================================================
--- pve-installer/trunk/proxinstall	2010-10-15 08:08:00 UTC (rev 5273)
+++ pve-installer/trunk/proxinstall	2010-10-18 11:22:35 UTC (rev 5274)
@@ -833,7 +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 update-initramfs -k all -c -t") == 0 ||
+		die "unable to create initrd image\n";
 
 	    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