[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: debian ova instance generator


I've seen that you stop dbus via invoke-rc.d because it's started from its postinst script.

There's a way to prevent the starting of services so you don't need to stop it: Just install https://github.com/grml/grml-policyrcd into the chroot, it will make "invoke-rc.d <foo> start" a NOP if run inside a chroot.



On Sun, Oct 6, 2013 at 3:54 PM, <heroxbd@gentoo.org> wrote:
Dear fellows,

This is a simple Makefile which generates ova[1] of customized debian,
inpired by an ova build script of sagemath[2], and a guide from

It is a by-product of AireLinux[3], a customized Debian for

It basically creates a hdd image with debian debootstrapped and
additional packages installed, and then calls virtualbox to generate the
ova from the hdd image.

Why not automated d-i in a virtual machine(vm)? vm overhead can be
avoided using kpartx and chroot, resulting in faster image
build. Furthermore, commands in chroot can be controled from the
building host (e.g. the file dependences by Makefile, while d-i has
another command context inside virtual machine.

Why not Debian Live[4]? While strong in creating iso and squashfs
automagically, it is not mature in creating a plain simple hdd image
(not to mention a grub2 powered hdd image).

Future versions are tracked in the repo[6].



1. http://en.wikipedia.org/wiki/Open_Virtualization_Format
2. http://trac.sagemath.org/ticket/11330
3. http://www.airelinux.org
4. http://live.debian.net
5. https://wiki.archlinux.org/index.php/Creating_Arch_Linux_disk_image
6. https://sourceforge.net/p/aire/code/ci/master/tree/

Reply to: