mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 15:30:13 +01:00
Try to fix Snap.
Some checks failed
Some checks failed
Thanks to xet7 !
This commit is contained in:
parent
fb8ef4d978
commit
f8e576e890
1 changed files with 14 additions and 0 deletions
|
|
@ -5,6 +5,19 @@ echo "Then run this script"
|
||||||
|
|
||||||
if [[ "$OSTYPE" == "linux-gnu" ]]; then
|
if [[ "$OSTYPE" == "linux-gnu" ]]; then
|
||||||
echo "Linux"
|
echo "Linux"
|
||||||
|
#
|
||||||
|
# a) For VirtualBox,
|
||||||
|
# at /etc/modprobe.d/blacklist.conf blacklist these: (or kvm_amd)
|
||||||
|
# blacklist kvm_intel
|
||||||
|
# blacklist kvm
|
||||||
|
#
|
||||||
|
# b) For kvm, snapcraft.io/multipass and waydroid,
|
||||||
|
# at /etc/modprobe.d/blacklist.conf do not blacklist these:
|
||||||
|
# # blacklist kvm_intel
|
||||||
|
# # blacklist kvm
|
||||||
|
#
|
||||||
|
# If firewall is enabled, building snap does not work
|
||||||
|
sudo ufw disable
|
||||||
sudo apt-get -y install snapd
|
sudo apt-get -y install snapd
|
||||||
sudo systemctl enable snapd
|
sudo systemctl enable snapd
|
||||||
sudo systemctl start snapd
|
sudo systemctl start snapd
|
||||||
|
|
@ -16,6 +29,7 @@ if [[ "$OSTYPE" == "linux-gnu" ]]; then
|
||||||
multipass purge
|
multipass purge
|
||||||
multipass launch --name ubu
|
multipass launch --name ubu
|
||||||
snapcraft pack
|
snapcraft pack
|
||||||
|
sudo ufw enable
|
||||||
exit;
|
exit;
|
||||||
elif [[ "$OSTYPE" == "darwin"* ]]; then
|
elif [[ "$OSTYPE" == "darwin"* ]]; then
|
||||||
echo "macOS"
|
echo "macOS"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue