build on ubuntu 18.04
This commit is contained in:
parent
56ce8fb293
commit
2cf3674089
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,5 +1,6 @@
|
||||
/AppDir
|
||||
/appimage-builder-cache
|
||||
*.AppImage
|
||||
/lotus
|
||||
/lotus-miner
|
||||
/lotus-worker
|
||||
|
11
Makefile
11
Makefile
@ -337,13 +337,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
|
||||
|
Loading…
Reference in New Issue
Block a user