Require package.rb from buildsystems properly. (#10478)

* Require package.rb from buildsystems properly.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Update build script to not prompt for aarch64 build.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Update packages with 'yes | tools/build_updated_packages.rb' to make sure nothing broke.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Update awscli binaries

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

---------

Signed-off-by: Satadru Pramanik <satadru@gmail.com>
This commit is contained in:
Satadru Pramanik, DO, MPH, MEng
2024-09-14 16:29:01 -04:00
committed by GitHub
parent db0de20fc4
commit a74a2a331c
26 changed files with 126 additions and 113 deletions

View File

@@ -1,5 +1,5 @@
#!/usr/bin/env ruby
# build_updated_packages version 1.0 (for Chromebrew)
# build_updated_packages version 1.1 (for Chromebrew)
# This updates the versions in python pip packages by calling
# tools/update_python_pip_packages.rb, checks for updated ruby packages
# by calling tools/update_ruby_gem_packages.rb, and then checks if any
@@ -156,7 +156,7 @@ updated_packages.each do |pkg|
puts "#{name.capitalize} #{@version} has no binaries and may not need them.".lightgreen
next pkg
else
build = compatibility == 'all' ? %w[x86_64 aarch64 armv7l i686] : compatibility.split
build = compatibility == 'all' ? %w[x86_64 armv7l i686] : compatibility.split
build.each do |arch|
arch_specific_url = "#{CREW_GITLAB_PKG_REPO}/generic/#{name}/#{@version}_#{arch}/#{name}-#{@version}-chromeos-#{arch}.tar.zst"
if `curl -sI #{arch_specific_url}`.lines.first.split[1] == '200'