From: Richard Maw Date: Thu, 11 Oct 2012 09:22:28 +0000 (+0100) Subject: Run customize before install_extlinux X-Git-Url: https://git.siccegge.de//index.cgi?a=commitdiff_plain;h=1f23b06cbc7c3e20284ed7d1b0a66a5665ecf1e2;p=forks%2Fvmdebootstrap.git Run customize before install_extlinux install_extlinux requires the kernel, since it is no longer mandatory that debootstrap installs it, the kernel may be added in customize. --- diff --git a/vmdebootstrap b/vmdebootstrap index 9821164..2ffe663 100755 --- a/vmdebootstrap +++ b/vmdebootstrap @@ -99,8 +99,8 @@ class VmDebootstrap(cliapp.Application): self.create_users(rootdir) self.remove_udev_persistent_rules(rootdir) self.setup_networking(rootdir) - self.install_extlinux(rootdev, rootdir) self.customize(rootdir) + self.install_extlinux(rootdev, rootdir) except BaseException, e: self.message('EEEK! Something bad happened...') self.cleanup_system()