Bug 445387 - Allow specifying basearch on the command line
Allow specifying basearch on the command line
Product: Fedora
Classification: Fedora
Component: livecd-tools (Show other bugs)
All Linux
low Severity low
: ---
: ---
Assigned To: Jeremy Katz
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2008-05-06 12:54 EDT by Owen Taylor
Modified: 2008-05-06 14:30 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-05-06 13:12:56 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

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

  None (edit)
Description Owen Taylor 2008-05-06 12:54:02 EDT
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 12:54:02 EDT
Created attachment 304658 [details]
Patch adding --basearch command line argument
Comment 2 Jeremy Katz 2008-05-06 13:12:56 EDT
Just use setarch(8)
  setarch i386 livecd-creator ....

Comment 3 Owen Taylor 2008-05-06 14:30:47 EDT
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.