[PATCH] Use the correct yum configuration file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



it appeared to me that mk-images.efi wasn't using $yumconf to search for
a ${brand}-logos package.

Patch attached.

-- Jeroen
>From 4ef9fec3eb94a2e74810d97d534dd39dc2d0851f Mon Sep 17 00:00:00 2001
From: Jeroen van Meeuwen (Fedora Unity) <kanarip@xxxxxxxxxxxxxxx>
Date: Sun, 13 Dec 2009 03:31:08 +0100
Subject: [PATCH 18/18] Use the correct yum configuration file when searching for the -logos package

---
 scripts/mk-images.efi |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/scripts/mk-images.efi b/scripts/mk-images.efi
index 3be5594..7b31ced 100644
--- a/scripts/mk-images.efi
+++ b/scripts/mk-images.efi
@@ -174,7 +174,7 @@ prepareEfiTree() {
     mv -v $MBD_BOOTTREE_TMP/EFI/BOOT/grub.efi $MBD_BOOTTREE_TMP/EFI/BOOT/BOOT${tmpefiarch}.efi
     mv -v $MBD_BOOTTREE_TMP/EFI/BOOT/grub.conf $MBD_BOOTTREE_TMP/EFI/BOOT/BOOT${tmpefiarch}.conf
 
-    artpkg=$(repoquery --qf "%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}" --whatprovides ${brandpkgname}-logos | grep -v generic-logos | head -1)
+    artpkg=$(repoquery --qf "%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}" -c $yumconf --whatprovides ${brandpkgname}-logos | grep -v generic-logos | head -1)
     if [ -z "$artpkg" ]; then
        argpkg="generic-logos"
     fi
-- 
1.6.5.2

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux