mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 15:30:13 +01:00
Try to fix Snap.
Thanks to xet7 !
This commit is contained in:
parent
5127e87898
commit
fb8ef4d978
1 changed files with 5 additions and 16 deletions
|
|
@ -9,24 +9,13 @@ if [[ "$OSTYPE" == "linux-gnu" ]]; then
|
|||
sudo systemctl enable snapd
|
||||
sudo systemctl start snapd
|
||||
sudo snap install snapcraft --classic
|
||||
# sudo snap install multipass
|
||||
sudo snap install multipass
|
||||
sudo snap install lxd
|
||||
lxd init --auto
|
||||
# multipass delete ubu
|
||||
# multipass purge
|
||||
# multipass launch --name ubu
|
||||
# snapcraft pack
|
||||
# Install and initialize LXD (if not already)
|
||||
sudo snap install lxd --channel=5.21/stable
|
||||
sudo usermod -aG lxd "$USER"
|
||||
newgrp lxd
|
||||
lxd init --minimal
|
||||
|
||||
# Build with LXD backend and verbose logs
|
||||
snapcraft --use-lxd --verbose
|
||||
# If you hit a stale state, clean and retry:
|
||||
#snapcraft clean
|
||||
#snapcraft --use-lxd --verbose
|
||||
multipass delete ubu
|
||||
multipass purge
|
||||
multipass launch --name ubu
|
||||
snapcraft pack
|
||||
exit;
|
||||
elif [[ "$OSTYPE" == "darwin"* ]]; then
|
||||
echo "macOS"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue