Skip to content

Commit

Permalink
distro: rename files/dirs
Browse files Browse the repository at this point in the history
CC: Zexi Li <[email protected]>
Signed-off-by: Fengguang Wu <[email protected]>
  • Loading branch information
Fengguang Wu committed Jun 8, 2015
1 parent 3303d60 commit d4270c6
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/setup-local
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def install_packages(script, distro)
packages |= dev_packages
return if packages.empty?

unless system "#{LKP_SRC}/distro/scripts/install-#{distro}-packages", *packages
unless system "#{LKP_SRC}/distro/installer/#{distro}", *packages
puts "Cannot install some packages in #{LKP_SRC}/distro/#{distro}/#{script}"
exit 1
end
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion lib/install.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def get_dependency_packages(distro, script)
# generic_packages based on debian
return generic_packages if distro == 'debian'

distro_file = "#{LKP_SRC}/distro/#{distro}-packages.yaml"
distro_file = "#{LKP_SRC}/distro/adaptation/#{distro}"
distro_packages = YAML.load_file(distro_file)
packages = []
generic_packages.each_with_index { |pkg_name, index|
Expand Down

0 comments on commit d4270c6

Please sign in to comment.