diff options
Diffstat (limited to 'dracut/repo-genrules.sh')
-rwxr-xr-x | dracut/repo-genrules.sh | 4 |
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 |