Mailinglist Archive: opensuse-bugs (4243 mails)

< Previous Next >
[Bug 1017610] During Initialize software manager - YAST not able to create repository from external USB diskdrive
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Mon, 09 Jan 2017 20:10:04 +0000
  • Message-id: <bug-1017610-21960-rylZCwbDOs@http.bugzilla.suse.com/>
http://bugzilla.suse.com/show_bug.cgi?id=1017610
http://bugzilla.suse.com/show_bug.cgi?id=1017610#c4

--- Comment #4 from Richard Bos <richard.bos@xxxxxxxxx> ---
What about:

From the logfile:
2017-01-04 06:10:21 <1> install(3179) [Ruby] modules/InstURL.rb:113 Option
ssl_verify: nil
2017-01-04 06:10:21 <1> install(3179) [Ruby] modules/InstURL.rb:160 Using
install URL:
cd:/?devices=/dev/disk/by-id/usb-TSSTcorp_CDDVDW_SE-208AB_RL6X853-0:0


# locate InstURL.rb
/usr/share/YaST2/modules/InstURL.rb

# grep -n ^ /usr/share/YaST2/modules/InstURL.rb | grep ^160
160: log.info "Using install URL: #{URL.HidePassword(@installInf2Url)}"

# vi +160 /usr/share/YaST2/modules/InstURL.rb

Just above that line the url gets an "?" is that OK?
119 def RewriteCDUrl(url)
120 tokens = URL.Parse(url)
121 new_url = ""
122 if Ops.get_string(tokens, "scheme", "") == "cd" ||
123 Ops.get_string(tokens, "scheme", "") == "dvd"
124 Builtins.y2milestone("Old options: %1", GetURLOptions(url))
125 pos = Builtins.findfirstof(url, "?")
126 if pos != nil
127 new_options = GetDevicesOption()
128 new_url = Builtins.substring(url, 0, pos)
129 if Ops.greater_than(Builtins.size(new_options), 0)
130 new_url = Ops.add(Ops.add(new_url, "?"), GetDevicesOption())
131 else
132 new_url = url
133 end
134 end
135 else
136 new_url = url
137 end
138 new_url
139 end

--
You are receiving this mail because:
You are on the CC list for the bug.
< Previous Next >