[PATCH lorax/master] Add a command line option to override the ARM platform.
Brian C. Lane
bcl at redhat.com
Wed Aug 15 18:07:01 UTC 2012
On Wed, Aug 15, 2012 at 12:08:24PM -0500, d.marlin wrote:
> From: "d.marlin" <dmarlin at redhat.com>
>
> Passed on to anaconda to make ARM images where the compose hardware
> does not match the target hardware.
>
> This patch from Dennis Gilmore was rebased to current lorax master
> and the option name changed to match the option in Anaconda.
>
> I have applied this to lorax-17.26 and successfully tested it using
> livemedia-creator.
>
> Signed-off-by: David A. Marlin <dmarlin at redhat.com>
> ---
> src/sbin/livemedia-creator | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/src/sbin/livemedia-creator b/src/sbin/livemedia-creator
> index 4a37b59..e781b8e 100755
> --- a/src/sbin/livemedia-creator
> +++ b/src/sbin/livemedia-creator
> @@ -577,6 +577,9 @@ if __name__ == '__main__':
> parser.add_argument( "--anaconda-arg", action="append", dest="anaconda_args",
> help="Additional argument to pass to anaconda (no-virt "
> "mode). Pass once for each argument" )
> + parser.add_argument( "--armplatform",
> + help="the platform to use when creating images for ARM, "
> + "i.e., highbank, mvebu, omap, tegra, etc." )
>
> parser.add_argument( "--logfile", default="./livemedia.log",
> type=os.path.abspath,
> @@ -742,6 +745,8 @@ if __name__ == '__main__':
> anaconda_args += arg.split(" ", 1)
> if opts.proxy:
> anaconda_args += [ "--proxy", opts.proxy ]
> + if opts.armplatform:
> + anaconda_args += [ "--armplatform", opts.armplatform ]
>
> # Use anaconda's image install
> install_error = anaconda_install( disk_img, disk_size, opts.ks[0],
> --
> 1.7.10.2
>
> _______________________________________________
> anaconda-patches mailing list
> anaconda-patches at lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/anaconda-patches
Ack.
--
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 482 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/anaconda-patches/attachments/20120815/d8e6d512/attachment-0001.sig>
More information about the anaconda-patches
mailing list