[PATCH f17-branch 2/3] Let "root=..." override "repo=..."

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



If both "root" and "repo" are given, we should probably use the explicit
root device rather than the one implied by "repo".
---
 dracut/parse-anaconda-repo.sh |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/dracut/parse-anaconda-repo.sh b/dracut/parse-anaconda-repo.sh
index 02e9360..1b0445a 100755
--- a/dracut/parse-anaconda-repo.sh
+++ b/dracut/parse-anaconda-repo.sh
@@ -1,6 +1,9 @@
 #!/bin/bash
 # parse-repo-options.sh: parse the inst.repo= arg and set root/netroot
 
+# If there's a root= arg, we'll just use that
+getarg root= >/dev/null && return
+
 repo="$(getarg repo= inst.repo=)"
 
 if [ -n "$repo" ]; then
-- 
1.7.7.6

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux