Problems with crossbuilder
-
I'm following this guide for compiling Ubuntu Touch packages. Setting up LXD with
crossbuilder setup-lxdworks well but when I execute the commandcrossbuilderin any project I get this error:error: no devices/emulators found Could not find a device, will not deploy Building address-book-app for armhf. Creating LXD container address-book-app-usdk-16-04-amd64-armhf-dev using ubports-sdk:ubuntu-sdk-16.04-amd64-armhf-dev. Error: Remote ubports-sdk exists as <https://sdk-images.ubports.com> Creating address-book-app-usdk-16-04-amd64-armhf-dev Error: Failed container creation: LXD doesn't have a uid/gid allocation. In this mode, only privileged containers are supported.I tried removing and reinstalling LXD, removing my previous containers, rebooting but nothing works. I'm using Pop!_OS based on Ubuntu 18.04.
-
After a searching the internet I found out that I need to add the line
root:100000:65536into/etc/subuidand/etc/subgid.
I think that line is added automatically when installing LXD but for some reason it wasn't generated. -
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login