File yast2-bootloader-ensure-branded-plymouth.patch of Package yast2-bootloader

From 6f2c1882c8acc421cdd65ddde3a277378dd28126 Mon Sep 17 00:00:00 2001
From: Josef Reidinger <jreidinger@suse.cz>
Date: Wed, 15 Oct 2014 11:43:02 +0200
Subject: [PATCH] ensure branding is used also during common install
 (bnc#901003)

---
 src/clients/bootloader_finish.rb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Index: yast2-bootloader-3.1.101/src/clients/bootloader_finish.rb
===================================================================
--- yast2-bootloader-3.1.101.orig/src/clients/bootloader_finish.rb
+++ yast2-bootloader-3.1.101/src/clients/bootloader_finish.rb
@@ -179,6 +179,7 @@ module Yast
           if Linuxrc.InstallInf("kexec_reboot") == "1"
             @retcode = Bootloader.CopyKernelInird
           else
+            @retcode = true
             Builtins.y2milestone("Installation started with kexec_reboot set 0")
           end
 
@@ -204,6 +205,7 @@ module Yast
         if branding_activator
           branding_activator = branding_activator[prefix.size..-1]
           res = SCR.Execute(path(".target.bash_output"), branding_activator)
+          res = SCR.Execute(path(".target.bash_output"), "/usr/sbin/grub2-mkconfig -o /boot/grub2/grub.cfg") 
           Builtins.y2milestone("Reactivate branding with #{branding_activator} and result #{res}")
         end
       end
openSUSE Build Service is sponsored by