|
Loading...
|
anaconda-devel-list@redhat.com
[Prev] Thread [Next] | [Prev] Date [Next]
[PATCH f17-branch 1/2] fix repo={hd,cdrom}:DEV:PATH (#810136) Will Woods Thu Apr 05 16:01:00 2012
Work around buggy splitsep, like commit 844c0c1 / bug #810005.
---
dracut/parse-anaconda-repo.sh | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dracut/parse-anaconda-repo.sh b/dracut/parse-anaconda-repo.sh
index 96de458..1e23c36 100755
--- a/dracut/parse-anaconda-repo.sh
+++ b/dracut/parse-anaconda-repo.sh
@@ -12,7 +12,8 @@ arg="repo"
[ -n "$stage2" ] && arg="stage2" && repo="$stage2"
if [ -n "$repo" ]; then
- splitsep ":" "$repo" repotype rest
+ #splitsep ":" "$repo" repotype rest # FIXME: splitsep is buggy
+ repotype=${repo%%:*}; rest=${repo#$repotype:}
case "$repotype" in
http|https|ftp|nfs|nfs4|nfsiso)
set_neednet; root="anaconda-net:$repo" ;;
--
1.7.7.6
_______________________________________________
Anaconda-devel-list mailing list
[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
- [PATCH f17-branch 1/2] fix repo={hd,cdrom}:DEV:PATH (#810136) Will Woods 2012/04/05 <=
- [PATCH f17-branch 2/2] copy installer image to RAM during upgrades (#810391) Will Woods 2012/04/05
- Re: [PATCH f17-branch 1/2] fix repo={hd,cdrom}:DEV:PATH (#810136) Brian C. Lane 2012/04/05