mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 15:37:56 -05:00
Disable symlinks usage in shrink_archive function (#6291)
* Disable symlinks usage in shrink_archive function * bump version
This commit is contained in:
6
bin/crew
6
bin/crew
@@ -965,7 +965,7 @@ def prepare_package(destdir)
|
||||
|
||||
strip_dir destdir
|
||||
|
||||
# make hard linked files symlinks and use upx on executables
|
||||
# use upx on executables
|
||||
shrink_dir destdir
|
||||
end
|
||||
end
|
||||
@@ -1002,10 +1002,6 @@ def shrink_dir(dir)
|
||||
puts "Using rdfind to find duplicate or hard linked files."
|
||||
system "#{CREW_PREFIX}/bin/rdfind -removeidentinode true -makesymlinks true -makeresultsfile false ."
|
||||
end
|
||||
if File.exist?("#{CREW_PREFIX}/bin/symlinks")
|
||||
puts "Using symlinks tool to make absolute symlinks relative"
|
||||
system 'symlinks -cr .' if File.exist?("#{CREW_PREFIX}/bin/symlinks")
|
||||
end
|
||||
# Issues with non-x86_64 in compressing libraries, so just compress
|
||||
# non-libraries. Also note that one needs to use "upx -d" on a
|
||||
# compressed file to use ldd.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Defines common constants used in different parts of crew
|
||||
|
||||
CREW_VERSION = '1.16.9'
|
||||
CREW_VERSION = '1.17.0'
|
||||
|
||||
ARCH_ACTUAL = `uname -m`.strip
|
||||
# This helps with virtualized builds on aarch64 machines
|
||||
|
||||
Reference in New Issue
Block a user