From c2de5fa580d3819a824c8654f63a1758a162266c Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Fri, 27 Aug 2021 08:46:23 -0400 Subject: [PATCH] Fix SUSE imgutil --- imgutil/imgutil | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/imgutil/imgutil b/imgutil/imgutil index 9829450c..ae6773e9 100644 --- a/imgutil/imgutil +++ b/imgutil/imgutil @@ -727,7 +727,7 @@ def fingerprint_source_suse(files, sourcepath, args): if key == 'name': osname, ver, arch = val.split('-') if issuse: - return SuseHandler(osname, ver, arch) + return SuseHandler(osname, ver, arch, args) for filen in files: if '-release-8' in filen: @@ -800,7 +800,7 @@ def fingerprint_host_suse(args, hostpath='/'): if inf.name.startswith(b'SLE_'): osname = 'sle' if osname: - return SuseHandler(osname, inf.version, os.uname().machine) + return SuseHandler(osname, inf.version, os.uname().machine, args) def fingerprint_host(args, hostpath='/'): oshandler = None