File 0001-Add-multiversion-kernel-as-a-recognized-installonlyp.patch of Package libdnf

From f0b20b80435aab159bb34f7e6460435cd0a8ae4b Mon Sep 17 00:00:00 2001
From: Neal Gompa <ngompa13@gmail.com>
Date: Wed, 3 Jan 2018 19:21:52 -0500
Subject: [PATCH] Add multiversion(kernel) as a recognized installonlypkg name

The multiversion(kernel) Provides is used to mark kernel packages
as installonlypkgs on SUSE Linux and its derivatives.
---
 libdnf/dnf-context.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libdnf/dnf-context.c b/libdnf/dnf-context.c
index ccc45ad..0676bfc 100644
--- a/libdnf/dnf-context.c
+++ b/libdnf/dnf-context.c
@@ -741,6 +741,7 @@ dnf_context_get_installonly_pkgs(DnfContext *context)
         "installonlypkg(kernel)",
         "installonlypkg(kernel-module)",
         "installonlypkg(vm)",
+        "multiversion(kernel)",
         NULL };
     return installonly_pkgs;
 }
-- 
2.15.1

openSUSE Build Service is sponsored by