[Pkg-escience-soc2009] ./debian-vm-builder --tmp=/var/tmp vbox etch

Steffen Moeller steffen_moeller at gmx.de
Sun Jun 21 12:03:17 UTC 2009


Hello,

I just fixed the invocation of parted with my latest patch. It seems to work fine, almost, ...
The timezone setting with tzconfig is somehow superseeded by dpkg-reconfigure tzdata - no?

Many greetings

Steffen

Here what happens upon invocation of

debian-vm-builder --tmp=/var/tmp vbox etch


2009-06-21 12:24:20,618 INFO    : Creating disk image: /var/tmp/vmbuilderlj9ggl/disk0.img

2009-06-21 12:24:20,662 INFO    : Adding partition table to disk image:
/var/tmp/vmbuilderlj9ggl/disk0.img
2009-06-21 12:24:20,724 INFO    : Adding type 1 partition to disk image:
/var/tmp/vmbuilderlj9ggl/disk0.img
2009-06-21 12:24:20,752 INFO    : Adding type 3 partition to disk image:
/var/tmp/vmbuilderlj9ggl/disk0.img
2009-06-21 12:24:20,852 INFO    : Creating loop devices corresponding to the created
partitions
2009-06-21 12:24:21,051 INFO    : Creating file systems

2009-06-21 12:24:21,152 INFO    : mke2fs 1.41.6 (30-May-2009)

2009-06-21 12:24:22,817 INFO    : mkswap: /dev/mapper/loop0p2: warning: don't erase
bootbits sectors
2009-06-21 12:24:22,820 INFO    :         on whole disk. Use -f to force.

2009-06-21 12:24:22,873 INFO    : Mounting target filesystems

2009-06-21 12:24:23,050 INFO    : Installing guest operating system. This might take some
time...
2009-06-21 12:28:40,828 INFO    : Searching for GRUB installation directory ... found:
/boot/grub
2009-06-21 12:28:40,903 INFO    : Searching for default file ... Generating
/boot/grub/default file and setting the default boot entry to 0
2009-06-21 12:28:40,912 INFO    : Searching for GRUB installation directory ... found:
/boot/grub
2009-06-21 12:28:40,923 INFO    : Testing for an existing GRUB menu.lst file ...

2009-06-21 12:28:40,924 INFO    :

2009-06-21 12:28:40,925 INFO    : Could not find /boot/grub/menu.lst file.

2009-06-21 12:28:40,927 INFO    : Generating /boot/grub/menu.lst

2009-06-21 12:28:41,053 INFO    : Searching for splash image ... none found, skipping ...

2009-06-21 12:28:41,057 INFO    : grep: /boot/config*: No such file or directory

2009-06-21 12:28:41,084 INFO    : Updating /boot/grub/menu.lst ... done

2009-06-21 12:28:41,084 INFO    :

2009-06-21 12:28:41,153 INFO    : Searching for GRUB installation directory ... found:
/boot/grub
2009-06-21 12:28:41,234 INFO    : Searching for default file ... found: /boot/grub/default

2009-06-21 12:28:41,241 INFO    : Testing for an existing GRUB menu.lst file ... found:
/boot/grub/menu.lst
2009-06-21 12:28:41,461 INFO    : Searching for splash image ... none found, skipping ...

2009-06-21 12:28:41,464 INFO    : grep: /boot/config*: No such file or directory

2009-06-21 12:28:41,513 INFO    : Updating /boot/grub/menu.lst ... done

2009-06-21 12:28:41,514 INFO    :
2009-06-21 12:28:41,531 INFO    : Searching for GRUB installation directory ... found:
/boot/grub
2009-06-21 12:29:06,215 INFO    : Done.
2009-06-21 12:29:23,047 INFO    : /sys/class/net/ is not available, persistent interface
names not saved.
2009-06-21 12:29:23,738 INFO    : Running depmod.
2009-06-21 12:29:25,763 INFO    : Finding valid ramdisk creators.
2009-06-21 12:29:25,765 INFO    : Using mkinitramfs-kpkg to build the ramdisk.
2009-06-21 12:29:54,116 INFO    : Running postinst hook script /usr/sbin/update-grub.
2009-06-21 12:29:54,145 INFO    : Searching for GRUB installation directory ... found:
/boot/grub
2009-06-21 12:29:54,239 INFO    : Searching for default file ... found: /boot/grub/default
2009-06-21 12:29:54,248 INFO    : Testing for an existing GRUB menu.lst file ... found:
/boot/grub/menu.lst
2009-06-21 12:29:54,472 INFO    : Searching for splash image ... none found, skipping ...
2009-06-21 12:29:54,536 INFO    : Found kernel: /boot/vmlinuz-2.6.24-etchnhalf.1-amd64
2009-06-21 12:29:54,637 INFO    : Updating /boot/grub/menu.lst ... done
2009-06-21 12:29:54,638 INFO    :
2009-06-21 12:30:05,822 INFO    : Cleaning up
Traceback (most recent call last):
  File "./debian-vm-builder", line 29, in <module>
    VMBuilder.run()
  File "/home/moeller/git/vmbuilder/VMBuilder/__init__.py", line 64, in run
    frontend.run()
  File "/home/moeller/git/vmbuilder/VMBuilder/plugins/cli/__init__.py", line 70, in run
    vm.create()
  File "/home/moeller/git/vmbuilder/VMBuilder/vm.py", line 483, in create
    self.install()
  File "/home/moeller/git/vmbuilder/VMBuilder/vm.py", line 406, in install
    self.distro.install(self.installdir)
  File "/home/moeller/git/vmbuilder/VMBuilder/plugins/debian/distro.py", line 142, in install
    self.suite.install(destdir)
  File "/home/moeller/git/vmbuilder/VMBuilder/plugins/debian/etch.py", line 105, in install
    self.copy_settings()
  File "/home/moeller/git/vmbuilder/VMBuilder/plugins/debian/etch.py", line 335, in
copy_settings
    self.copy_to_target('/etc/timezone', '/etc/timezone')
  File "/home/moeller/git/vmbuilder/VMBuilder/plugins/debian/etch.py", line 317, in
copy_to_target
    shutil.copy(infile, '%s/%s' % (self.destdir, destpath))
  File "/usr/lib/python2.5/shutil.py", line 85, in copy
    copyfile(src, dst)
  File "/usr/lib/python2.5/shutil.py", line 51, in copyfile
    fsrc = open(src, 'rb')
IOError: [Errno 2] No such file or directory: '/etc/timezone'



More information about the Pkg-escience-soc2009 mailing list