Add container_essential package. — container_essential,buildessential (#13462)

* Add docbook to buildessential.

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

* Refactor to use a separate package for container required packages.

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

* Suggested changes.

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
2025-11-14 15:11:12 -05:00
committed by GitHub
parent 6b1aceaa15
commit 234499c953
2 changed files with 53 additions and 1 deletions

View File

@@ -3,7 +3,7 @@ require 'package'
class Buildessential < Package class Buildessential < Package
description 'A collection of tools essential to compile and build software.' description 'A collection of tools essential to compile and build software.'
homepage 'SKIP' homepage 'SKIP'
version '1.48' version '1.49'
license 'GPL-3+' license 'GPL-3+'
compatibility 'all' compatibility 'all'
@@ -195,4 +195,7 @@ class Buildessential < Package
# Workaround for rust build dependencies needing to be installed and crew rerun before installs work. # Workaround for rust build dependencies needing to be installed and crew rerun before installs work.
depends_on 'rust' depends_on 'rust'
# Add container_essential if we are in a container.
depends_on 'container_essential' if CREW_IN_CONTAINER
end end

View File

@@ -0,0 +1,49 @@
require 'package'
class Container_essential < Package
description 'A collection of extra tools and packages needed in the docker build containers.'
homepage 'https://github.com/chromebrew/chromebrew'
version '1.0'
license 'GPL-3+'
compatibility 'all'
is_fake
# Add docbook to make sure that docbook environment variables are set
# for manpage generation in many packages,
depends_on 'docbook'
depends_on 'psmisc'
depends_on 'sudo_rs'
depends_on 'util_linux'
if CREW_GLIBC_INTERPRETER.nil?
depends_on 'gawk'
depends_on 'jq'
depends_on 'libeconf'
depends_on 'libxcrypt'
depends_on 'tar'
depends_on 'which'
end
depends_on 'uutils_coreutils' unless ARCH == 'i686'
# Add pax_utils (gives us lddtree)
depends_on 'pax_utils'
# Pax_utils needs this.
depends_on 'py3_pyelftools'
# Ruby gems
# Add ruby_concurrent_ruby
depends_on 'ruby_concurrent_ruby'
# Needed for irb
depends_on 'ruby_debug'
# Needed for buildsystems reporting.
depends_on 'ruby_method_source'
# For crew debugging.
depends_on 'ruby_pry_byebug'
# Add rubocop for linting packages. (This also installs the
# rubocop config file.)
depends_on 'ruby_rubocop'
depends_on 'ruby_rubocop_chromebrew'
depends_on 'ruby_ruby_libversion'
end