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