From 69a15663e9e76b8fc498aa38fa85fd26f8070740 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 d104deefe76..68e2b30c55f 100644 --- a/Makefile +++ b/Makefile @@ -340,13 +340,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