[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[PATCH] Add --archlist to repoquery call.
- From: Jesse Keating <jkeating redhat com>
- To: anaconda-devel-list redhat com
- Cc: Jesse Keating <jkeating redhat com>
- Subject: [PATCH] Add --archlist to repoquery call.
- Date: Tue, 4 Mar 2008 17:35:45 -0500
This is necessary for composing ppc, where the compose is done on ppc, but we
want to find a ppc64 kernel. By default, repoquery won't return results that
don't match the running arch.
---
scripts/mk-images | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/scripts/mk-images b/scripts/mk-images
index 8b914bb..18ee9d0 100755
--- a/scripts/mk-images
+++ b/scripts/mk-images
@@ -215,7 +215,7 @@ INITRDMODS="$USBMODS $FIREWIREMODS $IDEMODS $SCSIMODS $FSMODS $LVMMODS $RAIDMODS
findPackage() {
name=$1
- pkg=$(repoquery --qf "%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}" -c $yumconf $name.$KERNELARCH)
+ pkg=$(repoquery --qf "%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}" -c $yumconf --archlist=$KERNELARCH $name.$KERNELARCH)
if [ -n "$pkg" ]; then
echo $pkg
return
--
1.5.4.3
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]