From b330c9f209539546f067d0ef9454ebbccdfe4d89 Mon Sep 17 00:00:00 2001 From: Cory Schwartz Date: Thu, 6 May 2021 19:48:56 -0700 Subject: [PATCH] build on ubuntu 18.04 --- .gitignore | 1 + Makefile | 11 ++++------- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index 1838a44f37f..eddee059075 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ /AppDir /appimage-builder-cache +*.AppImage /lotus /lotus-miner /lotus-worker diff --git a/Makefile b/Makefile index 5d2170e68e5..71954da89be 100644 --- a/Makefile +++ b/Makefile @@ -344,13 +344,10 @@ api-gen: .PHONY: api-gen appimage: lotus - command -v appimage-builder || echo you must install appimage-builder && exit 1 - command -v appimagetool || echo you must install appimagetool && exit 1 - grep "Ubuntu 18.04" /etc/lsb-release || echo you are not running ubuntu 18.04, so this might not work. Try `appimage-builder --generate` if you run into problems. - rm -rf appimage-builder-cache - rm AppDir/io.filecoin.lotus.desktop - rm AppDir/icon.svg - rm Appdir/AppRun + rm -rf appimage-builder-cache || true + rm AppDir/io.filecoin.lotus.desktop || true + rm AppDir/icon.svg || true + rm Appdir/AppRun || true mkdir -p AppDir/usr/bin cp ./lotus AppDir/usr/bin/ appimage-builder