def METHOD_NAME(self):
    self.master.run("umount /boot; umount /mnt/testrootfs;")
    self.master.ignore_status = False
    # Kernel and dtb files may not be in the image, so copy them just in case
    self.master.copy_to(self.kernel, "~/test-kernel")
    kernelpath = os.path.dirname(self.kernel)
    for dtborig, dtbfn in self.dtbs.iteritems():
        dtbfile = os.path.join(kernelpath, dtborig)
        if os.path.exists(dtbfile):
            self.master.copy_to(dtbfile, "~/%s" % dtbfn)
    self.master.copy_to(self.rootfs, "~/test-rootfs.%s" % self.image_fstype)
    for cmd in self.deploy_cmds:
        self.master.run(cmd)