[SOLVED] Help building /e/ for OnePlus 5T

Good morning/afternoon/evening/night (depending on where you are). I am a happy owner of a OnePlus 5T and I would like to try and build manually /e/.

I am following the wiki, which says to install Docker (which I already had since I use it for other projects as well) and then get the last docker image. However, this last step fails as follows (I am on Archlinux):

➜  ~ sudo docker pull registry.gitlab.e.foundation:5000/e/os/docker-lineage-cicd:latest
latest: Pulling from e/os/docker-lineage-cicd
a4d8138d0f6b: Extracting  45.34MB/45.34MB
e81d0a209c26: Download complete 
ff3f63c263c2: Download complete 
353c9ef00585: Download complete 
857de139166c: Download complete 
6a2f82a7d1b1: Download complete 
e8baeb8b98e4: Download complete 
fec95655bfaa: Download complete 
26925acb6797: Download complete 
3383e275c018: Download complete 
e3c62d04a4d8: Download complete 
d3a09f73727e: Download complete 
53fbb693c87f: Download complete 
2ba37914a6ac: Download complete 
fa892f1f1569: Download complete 
failed to register layer: Failed to mount; dmesg: <5>[19889.014798] audit: type=1131 audit(1570370373.881:146): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-dispatcher comm="systemd"  exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
: mount /dev/mapper/docker-254:2-1209875-34ab4c99a00da009cd5680ca322843475b83a69e0d805838543ce83eb5eff028:/var/lib/docker/devicemapper/mnt/34ab4c99a00da009cd5680ca322843475b83a69e0d805838543ce83eb5eff028, data: nouuid: no such device

Can anyone help solving this problem?
Thanks in advance.

alogim

Huh. Strange and unique issue.
What’s the output of the following command:

docker info | grep Udev and

sudo docker daemon -s devicemapper

and docker info and

docker daemon -s overlay

And which docker version?

Thanks for your answer. Docker version is

Docker version 19.03.2-ce, build 6a30dfca03

Output of docker info | grep Udev is

  Udev Sync Supported: true
WARNING: the devicemapper storage-driver is deprecated, and will be removed in a future release.
WARNING: devicemapper: usage of loopback devices is strongly discouraged for production use.
     Use `--storage-opt dm.thinpooldev` to specify a custom block storage device.

Output of docker info:

Client:
 Debug Mode: false

Server:
 Containers: 0
  Running: 0
  Paused: 0
  Stopped: 0
 Images: 0
 Server Version: 19.03.2-ce
 Storage Driver: devicemapper
  Pool Name: docker-254:2-1209875-pool
  Pool Blocksize: 65.54kB
  Base Device Size: 10.74GB
  Backing Filesystem: xfs
  Udev Sync Supported: true
  Data file: /dev/loop0
  Metadata file: /dev/loop1
  Data loop file: /var/lib/docker/devicemapper/devicemapper/data
  Metadata loop file: /var/lib/docker/devicemapper/devicemapper/metadata
  Data Space Used: 11.73MB
  Data Space Total: 107.4GB
  Data Space Available: 13.07GB
  Metadata Space Used: 17.36MB
  Metadata Space Total: 2.147GB
  Metadata Space Available: 2.13GB
  Thin Pool Minimum Free Space: 10.74GB
  Deferred Removal Enabled: true
  Deferred Deletion Enabled: true
  Deferred Deleted Device Count: 0
  Library Version: 1.02.164 (2019-08-27)
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: d50db0a42053864a270f648048f9a8b4f24eced3.m
 runc version: 425e105d5a03fabd737a126ad93d62a9eeede87f
 init version: fec3683
 Security Options:
  seccomp
   Profile: default
 Kernel Version: 5.3.1-arch1-1-ARCH
 Operating System: Arch Linux
 OSType: linux
 Architecture: x86_64
 CPUs: 8
 Total Memory: 15.03GiB
 Name: archrocks
 ID: D4YZ:WGWY:ZVKR:5G4L:WGHH:HUQY:TE73:LM5F:VL2J:I6EG:QBNO:DMTB
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

WARNING: the devicemapper storage-driver is deprecated, and will be removed in a future release.
WARNING: devicemapper: usage of loopback devices is strongly discouraged for production use.
         Use `--storage-opt dm.thinpooldev` to specify a custom block storage device.

The other two commands do not work, option deamon does not seem to exist.

docker: 'daemon' is not a docker command.
See 'docker --help'

I suggest to switch to overlay2 as storage driver
https://docs.docker.com/storage/storagedriver/overlayfs-driver/

Instructions available here: https://wiki.archlinux.org/index.php/Docker

1 Like

Thanks! This solved the issue! :blush:

Great :blush: glad to hear it worked out for you

unoffical build for dumpling with weekly otas availbale here: [UNOFFICIAL BUILD] Pi/e/ test ROM for the OnePlus 5T - "dumpling"

1 Like