Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 296921 Details for
Bug 436181
RFE: Add --archlist to yumdownloader to allow downloading packages that don't match running arch
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch to add an archlist option to yumdownloader
0001-Add-an-archlist-option.patch (text/plain), 1.40 KB, created by
Jesse Keating
on 2008-03-05 19:59:51 UTC
(
hide
)
Description:
Patch to add an archlist option to yumdownloader
Filename:
MIME Type:
Creator:
Jesse Keating
Created:
2008-03-05 19:59:51 UTC
Size:
1.40 KB
patch
obsolete
>From 3f3dfb6ee00f0472d03d60e84a2f0eaca759c459 Mon Sep 17 00:00:00 2001 >From: Jesse Keating <jkeating@redhat.com> >Date: Wed, 5 Mar 2008 14:50:38 -0500 >Subject: [PATCH] Add an archlist option. > >This option will allow yumdownloader to download packages of a >specific arch or list of arches, instead of just the arch of the >machine running the command. >--- > yumdownloader.py | 5 +++++ > 1 files changed, 5 insertions(+), 0 deletions(-) > >diff --git a/yumdownloader.py b/yumdownloader.py >index ebfed81..d9f446a 100755 >--- a/yumdownloader.py >+++ b/yumdownloader.py >@@ -226,6 +226,8 @@ class YumDownloader(YumUtilBase): > # if '--source' is used the add src to the archlist > if opts.source: > archlist = rpmUtils.arch.getArchList() + ['src'] >+ elif opts.archlist: >+ archlist = opts.archlist.split(',') > else: > archlist = rpmUtils.arch.getArchList() > self._getSacks(archlist=archlist) >@@ -250,6 +252,9 @@ class YumDownloader(YumUtilBase): > help='resolve dependencies and download required packages') > parser.add_option("--source", default=False, dest="source", action="store_true", > help='operate on source packages') >+ parser.add_option("--archlist", >+ help="only download packages of certain architecture(s)") >+ > > if __name__ == '__main__': > util = YumDownloader() >-- >1.5.4.3 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 436181
: 296921