Skip to content

Commit

Permalink
Add the extra packages to the package:rpm target
Browse files Browse the repository at this point in the history
...so that the rpm/pkg directory contains a complete list of everything you might need when the target is done.
  • Loading branch information
erikogan committed Dec 4, 2010
1 parent 4b6d235 commit 9bc9cd8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/rpm.rb
Expand Up @@ -54,7 +54,7 @@ def fetch(dir)
download("http://sysoev.ru/nginx/#{tarball}", "#{dir}/#{tarball}")
end
end

result = noisy_system('./rpm/release/mocksetup-first.sh', *args)
if !result
# exit status 4 means that the user needs to relogin.
Expand All @@ -72,7 +72,7 @@ def fetch(dir)
test_setup
create_tarball(@verbosity)
# Add a single -v for some feedback
noisy_system(*(%w{./rpm/release/build.rb --single --stage-dir=pkg} + @build_verbosity))
noisy_system(*(%w{./rpm/release/build.rb --single --stage-dir=pkg --extra-packages=release/mock-repo} + @build_verbosity))
end

desc "Build a Yum repository for the current release"
Expand Down

0 comments on commit 9bc9cd8

Please sign in to comment.