Re: [PATCH f14-branch master] Pass xdriver to anaconda in liveinst (#633827)

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

 



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@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