Re: [PATCH f17-branch 1/2] Fix anaconda not finding CD for kickstart with 'cdrom' (#817084)

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

 



On Fri, May 04, 2012 at 03:50:00PM -0400, Will Woods wrote:
> If our methodstr is 'cdrom' then anaconda expects the CD to be mounted
> at /mnt/install/source. /mnt/install is a symlink to /run/install, so
> making /run/install/source a symlink to the actual mountpoint makes
> anaconda able to find the CDROM.
> ---
>  dracut/repo-genrules.sh |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/dracut/repo-genrules.sh b/dracut/repo-genrules.sh
> index 6ba8dcd..558435c 100755
> --- a/dracut/repo-genrules.sh
> +++ b/dracut/repo-genrules.sh
> @@ -15,5 +15,7 @@ case "$root" in
>      echo 'ENV{ID_CDROM}=="1",' \
>             'RUN+="/sbin/initqueue --settled --onetime' \
>               '/sbin/anaconda-diskroot $env{DEVNAME}"' >> $rulesfile
> +    # HACK: anaconda demands that CDROMs be mounted at /mnt/install/source
> +    ln -s repo /run/install/source
>    ;;
>  esac
> -- 
> 1.7.7.6

Ack to both of these. Thanks!

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

Attachment: pgpzC1t_54Igh.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