]> git.siccegge.de Git - forks/vmdebootstrap.git/commitdiff
Run customize before install_extlinux
authorRichard Maw <richard.maw@codethink.co.uk>
Thu, 11 Oct 2012 09:22:28 +0000 (10:22 +0100)
committerRichard Maw <richard.maw@codethink.co.uk>
Thu, 11 Oct 2012 09:22:28 +0000 (10:22 +0100)
install_extlinux requires the kernel, since it is no longer mandatory
that debootstrap installs it, the kernel may be added in customize.

vmdebootstrap

index 98211646f54968e8fa7335f375abdf185a728b91..2ffe6634bb58303aa13241f9f9736e0bb600d149 100755 (executable)
@@ -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()