[pve-devel] r6115 - pve-installer/pve2
svn-commits at proxmox.com
svn-commits at proxmox.com
Fri Jun 17 17:13:55 CEST 2011
Author: dietmar
Date: 2011-06-17 17:13:55 +0200 (Fri, 17 Jun 2011)
New Revision: 6115
Modified:
pve-installer/pve2/changelog
pve-installer/pve2/proxinstall
Log:
Modified: pve-installer/pve2/changelog
===================================================================
--- pve-installer/pve2/changelog 2011-06-17 13:45:20 UTC (rev 6114)
+++ pve-installer/pve2/changelog 2011-06-17 15:13:55 UTC (rev 6115)
@@ -12,6 +12,11 @@
* we now use openbox instead of metacity
+ * wait one second after partitioning (give kernel time to reread part
+ table)
+
+ * use update-initramfs -c (instead of -u)
+
-- Proxmox Support Team <support at proxmox.com> Mon, 15 Feb 2010 14:09:46 +0100
pve-installer (1.0-9) unstable; urgency=low
Modified: pve-installer/pve2/proxinstall
===================================================================
--- pve-installer/pve2/proxinstall 2011-06-17 13:45:20 UTC (rev 6114)
+++ pve-installer/pve2/proxinstall 2011-06-17 15:13:55 UTC (rev 6115)
@@ -14,6 +14,9 @@
my $release = '2.0';
+my $kapi = `uname -r`;
+chomp $kapi;
+
my $opt_testmode;
if (!GetOptions ('testmode=s' => \$opt_testmode)) {
@@ -863,7 +866,8 @@
symlink ("/proc/mounts", "$targetdir/etc/mtab");
syscmd ("mount -n --bind /dev $targetdir/dev");
- syscmd ("chroot $targetdir update-initramfs -u -t");
+ syscmd ("chroot $targetdir /usr/sbin/update-initramfs -c -k $kapi") == 0 ||
+ die "unable to install initramfs\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