Skip to content

Commit

Permalink
Merge pull request #38 from yast/prefer_CD
Browse files Browse the repository at this point in the history
Always prefer DVD medium to download (not only during update) (bnc#865819)
  • Loading branch information
lslezak committed Feb 26, 2014
2 parents d6d2ff7 + 918d807 commit f894e94
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
7 changes: 7 additions & 0 deletions package/yast2-packager.changes
@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Feb 26 14:46:40 UTC 2014 - lslezak@suse.cz

- Always prefer DVD medium to download (not only during update)
(bnc#865819)
- 3.1.5

-------------------------------------------------------------------
Mon Feb 17 16:30:26 CET 2014 - locilka@suse.com

Expand Down
2 changes: 1 addition & 1 deletion package/yast2-packager.spec
Expand Up @@ -17,7 +17,7 @@


Name: yast2-packager
Version: 3.1.4
Version: 3.1.5
Release: 0

BuildRoot: %{_tmppath}/%{name}-%{version}-build
Expand Down
8 changes: 4 additions & 4 deletions src/clients/inst_kickoff.rb
Expand Up @@ -60,6 +60,10 @@ def main
end
end

# prefer CD/DVD media to download during installation/update
Builtins.y2milestone("Prefer CD/DVD media to download")
Pkg.SetZConfig({ "download_media_prefer_download" => false })

# installation, for instance...
if !Mode.update
# make some directories
Expand Down Expand Up @@ -162,10 +166,6 @@ def main
WFM.CallFunction("inst_bootloader", WFM.Args)
# }
else
# prefer CD/DVD media to download during installation/update
Builtins.y2milestone("Update mode - prefer CD/DVD media to download")
Pkg.SetZConfig({ "download_media_prefer_download" => false })

if Stage.normal
Yast.import "Kernel"
@kernel = Kernel.ComputePackage
Expand Down

0 comments on commit f894e94

Please sign in to comment.