Skip to content

Instantly share code, notes, and snippets.

@fredldotme
Last active July 14, 2023 20:49
Show Gist options
  • Save fredldotme/db79931554b6b621427ebed2faa9cf3a to your computer and use it in GitHub Desktop.
Save fredldotme/db79931554b6b621427ebed2faa9cf3a to your computer and use it in GitHub Desktop.
Snaps on Ubuntu Touch
# Make ubports-qa succeed
sudo umount /usr/libexec/lxc-android-config/device-hacks
sudo umount /etc/profile.d
sudo umount /usr/lib/systemd/user
sudo umount /lib/udev/rules.d/70-android.rules
sudo umount /lib/udev/rules.d/99-android.rules
sudo mkdir /root/snap
# Enable writable paths
sudo ubports-qa install focal_-_snapd
# Read-writable mount
sudo mount -o remount,rw /
# Install snapd
sudo apt install snapd
# Make /mnt a directory again
sudo rm /mnt
sudo mkdir /mnt
# Done
sync
sudo reboot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment