Bug 445387 - Allow specifying basearch on the command line
Summary: Allow specifying basearch on the command line
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: livecd-tools
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Jeremy Katz
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-05-06 16:54 UTC by Owen Taylor
Modified: 2008-05-06 18:30 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2008-05-06 17:12:56 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Patch adding --basearch command line argument (5.52 KB, patch)
2008-05-06 16:54 UTC, Owen Taylor
no flags Details | Diff

Description Owen Taylor 2008-05-06 16:54:02 UTC
I wanted to be able to build livecd images for both i386 and x86_64 on an x86_64
machine, and couldn't figure out an easy way to do it (without running
livecd-tools from a chroot), so I came up with the following patch that allows
specifying --basearch=i386 on the command line, overriding the detected value.

Comment 1 Owen Taylor 2008-05-06 16:54:02 UTC
Created attachment 304658 [details]
Patch adding --basearch command line argument

Comment 2 Jeremy Katz 2008-05-06 17:12:56 UTC
Just use setarch(8)
  setarch i386 livecd-creator ....



Comment 3 Owen Taylor 2008-05-06 18:30:47 UTC
Ah. I RTFS'ed and saw it first checking /etc/rpm/platform, but I didn't
realize that /etc/rpm/platform doesn't actually exist on x86_64.


Note You need to log in before you can comment on or make changes to this bug.