summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorNeil Williams <codehelp@debian.org>2015-11-05 15:39:12 +0000
committerNeil Williams <codehelp@debian.org>2015-11-05 15:39:12 +0000
commitd2cad74d929c1dd57a7998115b53763a2a9959a1 (patch)
treea2fba4a9d8752a8d369b575cc10dc448bc676c84 /bin
parent12dc395c59e0ccb2377396d79e17f5d2106af83c (diff)
downloadvmdebootstrap-d2cad74d929c1dd57a7998115b53763a2a9959a1.tar.gz
drop redundant lines
Diffstat (limited to 'bin')
-rwxr-xr-xbin/vmdebootstrap6
1 files changed, 0 insertions, 6 deletions
diff --git a/bin/vmdebootstrap b/bin/vmdebootstrap
index c44ff25..35287ce 100755
--- a/bin/vmdebootstrap
+++ b/bin/vmdebootstrap
@@ -35,7 +35,6 @@ from vmdebootstrap.extlinux import ExtLinux
from vmdebootstrap.codenames import Codenames
from vmdebootstrap.filesystem import Filesystem
from vmdebootstrap.uefi import Uefi
-from vmdebootstrap.constants import arch_table
__version__ = '1.1'
@@ -257,7 +256,6 @@ class VmDebootstrap(cliapp.Application): # pylint: disable=too-many-public-meth
extlinux = self.handlers[ExtLinux.name]
base = self.handlers[Base.name]
uefi = self.handlers[Uefi.name]
- filesystem = self.handlers[Filesystem.name]
if self.settings['use-uefi']:
bootdir = self.bootdir
logging.debug(
@@ -317,10 +315,6 @@ class VmDebootstrap(cliapp.Application): # pylint: disable=too-many-public-meth
elif self.settings['squash']:
filesystem.squash_rootfs()
filesystem.chown()
- # need to copy boot/efi/* if configured.
- # but that is a task for the uefi module.
- # if self.settings['use-uefi'] and self.settings['squash']:
- # export uefi files
except BaseException as e:
base.message('EEEK! Something bad happened...')