Skip to content

Commit 6539443

Browse files
authored
move workaround arm64 ruby install to the build image (#20037)
* Remove arm64 ruby installation workaround Removed temporary fix for arm64 platform related to ruby installation. depends on Chia-Network/build-images#105 * drop fpm, update comment
1 parent ebf8105 commit 6539443

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

build_scripts/build_linux_deb-2-installer.sh

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,9 @@ jq --arg VER "$CHIA_INSTALLER_VERSION" '.version=$VER' package.json >temp.json &
8686
echo "Building Linux(deb) Electron app"
8787
PRODUCT_NAME="chia"
8888
if [ "$PLATFORM" = "arm64" ]; then
89-
# electron-builder does not work for arm64 as of Aug 16, 2022.
90-
# This is a temporary fix.
9189
# https://github.com/jordansissel/fpm/issues/1801#issuecomment-919877499
92-
# @TODO Consolidates the process to amd64 if the issue of electron-builder is resolved
93-
sudo apt-get -y install ruby ruby-dev
94-
sudo gem install fpm
90+
# workaround for above now implemented in the image build at
91+
# https://github.com/Chia-Network/build-images/blob/7c74d2f20739543c486c2522032cf09d96396d24/ubuntu-22.04/Dockerfile#L48-L61
9592
echo USE_SYSTEM_FPM=true "${NPM_PATH}/electron-builder" build --linux deb --arm64 \
9693
--config.extraMetadata.name=chia-blockchain \
9794
--config.productName="$PRODUCT_NAME" --config.linux.desktop.Name="Chia Blockchain" \

0 commit comments

Comments
 (0)