Patch command was missing <, let's fix it. Signed-off-by: Lucas Meneghel Rodrigues <lmr@xxxxxxxxxx> --- client/tests/kvm/installer.py | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/client/tests/kvm/installer.py b/client/tests/kvm/installer.py index 6ccb7fa..8026d6d 100644 --- a/client/tests/kvm/installer.py +++ b/client/tests/kvm/installer.py @@ -680,7 +680,7 @@ class GitInstaller(SourceDirInstaller): for patch in user_patches: utils.get_file(patch, os.path.join(self.userspace_srcdir, os.path.basename(patch))) - utils.system('patch -p1 %s' % os.path.basename(patch)) + utils.system('patch -p1 < %s' % os.path.basename(patch)) if kernel_repo: kernel_srcdir = os.path.join(self.srcdir, "kvm") @@ -692,7 +692,7 @@ class GitInstaller(SourceDirInstaller): for patch in kernel_patches: utils.get_file(patch, os.path.join(self.userspace_srcdir, os.path.basename(patch))) - utils.system('patch -p1 %s' % os.path.basename(patch)) + utils.system('patch -p1 < %s' % os.path.basename(patch)) else: self.kernel_srcdir = None @@ -706,7 +706,7 @@ class GitInstaller(SourceDirInstaller): for patch in kmod_patches: utils.get_file(patch, os.path.join(self.userspace_srcdir, os.path.basename(patch))) - utils.system('patch -p1 %s' % os.path.basename(patch)) + utils.system('patch -p1 < %s' % os.path.basename(patch)) else: self.kmod_srcdir = None -- 1.7.4.2 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html