In addition to the files, it seems it is also necessary to mount /proc
before installing the kernel for Saucy or Trusty.

/usr/share/pyshared/VMBuilder/plugins/ubuntu/dapper.py
@@ -300,7 +300,9 @@
         return (mirror, updates_mirror, security_mirror)
 
     def install_kernel(self, destdir):
+        self.run_in_target('mount', '-t', 'proc', 'proc', '/proc')
         run_cmd('chroot', destdir, 'apt-get', '--force-yes', '-y', 'install', 
self.kernel_name(), env={ 'DEBIAN_FRONTEND' : 'noninteractive' })
+        run_cmd('umount', '%s/proc' % self.context.chroot_dir)
 
     def install_grub(self, chroot_dir):
         self.install_from_template('/etc/kernel-img.conf', 'kernelimg', { 
'updategrub' : self.updategrub })

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1287943

Title:
  vm-builder needs trusty suite

To manage notifications about this bug go to:
https://bugs.launchpad.net/vmbuilder/+bug/1287943/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to