]> git.siccegge.de Git - forks/vmdebootstrap.git/commit
Don't run debootstrap with empty --include=
authorRichard Maw <richard.maw@codethink.co.uk>
Thu, 11 Oct 2012 09:45:36 +0000 (10:45 +0100)
committerRichard Maw <richard.maw@codethink.co.uk>
Thu, 11 Oct 2012 09:45:36 +0000 (10:45 +0100)
commitc8b93078a1050b8b198c9198710258c317cb72de
treec251b83a216d74667c845a72b59c74bee0dd0247
parent1f23b06cbc7c3e20284ed7d1b0a66a5665ecf1e2
Don't run debootstrap with empty --include=

Since the kernel may not be included any more, it is possible to
get an empty include list, which debootstrap complains is invalid.

To solve this, restructure the runcmd, so that it checks the include
list before attempting to add --include to the argument list.
vmdebootstrap