build: run `apt upgrade` in appimage script

This commit is contained in:
Mike Salvatore 2021-04-04 21:08:48 -04:00
parent bbe075bca5
commit ed3d55c8aa
2 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,6 @@ monkey_island AppImage using appimage-builder.
## Building an AppImage ## Building an AppImage
1. Create a clean VM or LXC (not docker!) based on Ubuntu 18.04. 1. Create a clean VM or LXC (not docker!) based on Ubuntu 18.04.
1. Update the OS with `sudo apt update && sudo apt upgrade`
1. Copy the `deployment_scripts/appimage` directory to `$HOME/` in the VM. 1. Copy the `deployment_scripts/appimage` directory to `$HOME/` in the VM.
1. Run `sudo -v`. 1. Run `sudo -v`.
1. On the VM, `cd $HOME/appimage` 1. On the VM, `cd $HOME/appimage`

View File

@ -55,6 +55,7 @@ install_nodejs() {
install_build_prereqs() { install_build_prereqs() {
sudo apt update sudo apt update
sudo apt upgrade
# appimage-builder prereqs # appimage-builder prereqs
sudo apt install -y python3 python3-pip python3-setuptools patchelf desktop-file-utils libgdk-pixbuf2.0-dev fakeroot strace sudo apt install -y python3 python3-pip python3-setuptools patchelf desktop-file-utils libgdk-pixbuf2.0-dev fakeroot strace