[Bug 1287943] Re: vm-builder needs trusty suite
Beltran
beltran at bitnami.com
Mon Apr 7 12:34:19 UTC 2014
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
Server Team, which is subscribed to vm-builder in 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
More information about the Ubuntu-server-bugs
mailing list