diff --git a/scripts/_common.sh b/scripts/_common.sh index 1b9fd22..596d5b8 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -8,7 +8,7 @@ pkg_dependencies="imagemagick ffmpeg libpq-dev libxml2-dev libxslt1-dev file git-core g++ libprotobuf-dev protobuf-compiler pkg-config gcc autoconf bison build-essential libssl-dev libyaml-dev libreadline6-dev zlib1g-dev libncurses5-dev libffi-dev libgdbm3|libgdbm6 libgdbm-dev redis-tools redis-server postgresql postgresql-contrib libidn11-dev libicu-dev libjemalloc-dev curl apt-transport-https" build_pkg_dependencies="" -memory_needed="2560" +memory_needed="2560" # maybe requirement depends on arch, armhf need less and is setted inside lsb_release switch ruby_version=3.0.3 nodejs_version=16 @@ -23,7 +23,8 @@ if [ "$(lsb_release --codename --short)" = "bullseye" ]; then ld_preload="LD_PRELOAD=/usr/lib/aarch64-linux-gnu/libjemalloc.so" ;; armhf) - ld_preload="LD_PRELOAD=/usr/lib/arm-linux-gnueabihf/libjemalloc.so" + ld_preload="LD_PRELOAD=/usr/lib/arm-linux-gnueabihf/libjemalloc.so"; + memory_needed="1500" ;; armel) ld_preload="LD_PRELOAD=/usr/lib/arm-linux-gnueabi/libjemalloc.so"