Re: [lorax] Allow specifying buildarch on the command line (#771382)

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

 



On Thu, Jan 05, 2012 at 11:30:48AM +0100, Martin Gracik wrote:
> Some repos may contain anaconda packages for more architectures,
> so it's not possible to get the right buildarch.
> This patch allows optional specifying of the buildarch on the
> command line when running lorax.
> If the buildarch is not specified manually, lorax tries to get
> it from the anaconda package as before.
> If there's no anaconda package in the repository, don't fallback
> to the system architecture and continue, because this is pointless.
> We need the anaconda package.
> ---

Ack. 

Maybe add the selected buildarch to the 'setting up...' line

> +        if not buildarch:
> +            buildarch = get_buildarch(ybo)
> +
>          logger.info("setting up build architecture")

logger.info("setting up build architecture: %s" % (buildarch))

That way we can tell for sure if an unexpected arch is found.

-- 
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)

Attachment: pgpXQzxYgnUQW.pgp
Description: PGP signature

_______________________________________________
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