summaryrefslogtreecommitdiffstats
path: root/dracut/repo-genrules.sh
diff options
context:
space:
mode:
Diffstat (limited to 'dracut/repo-genrules.sh')
-rwxr-xr-xdracut/repo-genrules.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/dracut/repo-genrules.sh b/dracut/repo-genrules.sh
index 24ee9262c..5f44a13f8 100755
--- a/dracut/repo-genrules.sh
+++ b/dracut/repo-genrules.sh
@@ -7,8 +7,8 @@ case "$root" in
# anaconda-disk:<device>[:<path>]
splitsep ":" "$root" f diskdev diskpath
diskdev=$(disk_to_dev_path $diskdev)
- when_diskdev_appears "$diskdev" \
- "/sbin/anaconda-diskroot $diskdev $diskpath"
+ when_diskdev_appears $diskdev \
+ anaconda-diskroot \$env{DEVNAME} $diskpath
;;
anaconda-auto-cd)
# special catch-all rule for CDROMs