FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Directory

 
 
LinkBack Thread Tools
 
Old 09-14-2010, 07:35 PM
David Lehman
 
Default Pass xdriver to anaconda in liveinst (#633827)

See below...

On Tue, 2010-09-14 at 11:12 -0700, Brian C. Lane wrote:
> Read /proc/cmdline and pass the xdriver parameter to anaconda as
> --xdriver=
> ---
> data/liveinst/liveinst | 9 +++++++++
> 1 files changed, 9 insertions(+), 0 deletions(-)
>
> diff --git a/data/liveinst/liveinst b/data/liveinst/liveinst
> index b50e9bb..0404edf 100755
> --- a/data/liveinst/liveinst
> +++ b/data/liveinst/liveinst
> @@ -58,6 +58,15 @@ if [ ! -e /selinux/load ]; then
> ANACONDA="$ANACONDA --noselinux"
> fi
>
> +# Process cmdline args
> +for opt in `cat /proc/cmdline`; do
> + case $opt in
> + xdriver=*)
> + ANACONDA="$ANACONDA --xdriver=${opt#xdriver=}"

Or even:

ANACONDA="$ANACONDA --$opt"

Either way, ack.

Dave

> + ;;
> + esac
> +done
> +
> # devkit-disks is now mounting lots of stuff. for now, let's just try to unmount it all
> umount /media/* 2>/dev/null
> tac /proc/mounts | grep ^/dev | grep -v live | while read dev mntpoint rest; do


_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 09-15-2010, 06:30 AM
Ales Kozumplik
 
Default Pass xdriver to anaconda in liveinst (#633827)

On 09/14/2010 08:12 PM, Brian C. Lane wrote:

Read /proc/cmdline and pass the xdriver parameter to anaconda as
--xdriver=
---
data/liveinst/liveinst | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)


Ack.

Are you still going to do remove checking the xdriver in loader and move
it flags.py for master?


Ales

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 09-15-2010, 02:47 PM
"Brian C. Lane"
 
Default Pass xdriver to anaconda in liveinst (#633827)

On Wed, Sep 15, 2010 at 08:30:06AM +0200, Ales Kozumplik wrote:
> On 09/14/2010 08:12 PM, Brian C. Lane wrote:
> >Read /proc/cmdline and pass the xdriver parameter to anaconda as
> >--xdriver=
> >---
> > data/liveinst/liveinst | 9 +++++++++
> > 1 files changed, 9 insertions(+), 0 deletions(-)
>
> Ack.
>
> Are you still going to do remove checking the xdriver in loader and
> move it flags.py for master?

Not at the moment. But eventually, yes. What really needs to happen is a
review of what flags are handled in loader and remove anything that
doesn't need to be there and move it to flags.py

--
Brian C. Lane / Anaconda Team
Port Orchard, WA (PST8PDT)
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 08:47 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org