From 164590a481c613c24159e3693875a832b2ce5288 Mon Sep 17 00:00:00 2001 From: "Satadru Pramanik, DO, MPH, MEng" Date: Wed, 28 May 2025 21:56:04 -0400 Subject: [PATCH] Tweaks (#11963) Signed-off-by: Satadru Pramanik --- bin/crew | 2 ++ lib/const.rb | 2 +- packages/core.rb | 4 +++- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/bin/crew b/bin/crew index 012316958..9f7d13fbf 100755 --- a/bin/crew +++ b/bin/crew @@ -908,6 +908,8 @@ def fix_interpreter_path(dir) # Decompress the binary if compressed. system "upx -qq -d #{execfiletopatch}", %i[err] => File::NULL, exception: false # Check for existing interpreter. + next if CREW_GLIBC_INTERPRETER.blank? + @interpreter, _read_interpreter_stderr_s, @read_interpreter_status = Open3.capture3("patchelf --print-interpreter #{execfiletopatch}") # Set interpreter unless the interpreter read failed or is already # set appropriately. diff --git a/lib/const.rb b/lib/const.rb index ec77565bb..439809541 100644 --- a/lib/const.rb +++ b/lib/const.rb @@ -3,7 +3,7 @@ require 'etc' OLD_CREW_VERSION ||= defined?(CREW_VERSION) ? CREW_VERSION : '1.0' -CREW_VERSION ||= '1.61.6' unless defined?(CREW_VERSION) && CREW_VERSION == OLD_CREW_VERSION +CREW_VERSION ||= '1.61.7' unless defined?(CREW_VERSION) && CREW_VERSION == OLD_CREW_VERSION # Kernel architecture. KERN_ARCH ||= Etc.uname[:machine] diff --git a/packages/core.rb b/packages/core.rb index 26dda70c8..782232112 100644 --- a/packages/core.rb +++ b/packages/core.rb @@ -3,7 +3,7 @@ require 'package' class Core < Package description 'Core Chromebrew Packages.' homepage 'https://github.com/chromebrew/chromebrew' - version '3.11' + version '3.12' license 'GPL-3+' compatibility 'all' @@ -77,6 +77,8 @@ class Core < Package depends_on 'pcre2' depends_on 'perl' depends_on 'popt' + # Provides pstree, which is used within crew. + depends_on 'psmisc' depends_on 'py3_wheel' depends_on 'python3' depends_on 'readline'