Fix anaconda not finding CD for kickstart with 'cdrom' (#817084)
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)
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list