[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] | |
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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
[Home] [Fedora Users] [Fedora Legacy List] [Fedora Maintainers] [Fedora Desktop] [Red Hat 9 Bible] [Fedora Bible] [Fedora SELinux] [Big List of Linux Books] [Yosemite News] [Yosemite Photos] [KDE Users] [Fedora Tools]