Open omac777 opened 1 year ago
I found the image 220814-01 - debian bullseye and ubuntu jammy images for the snapdragon 7c sc7180 based acer sp513-1h, hp x2 and lenovo duet 5 chromebooks - trogdor lazor, coachz, homestar and others unstable before doing a couple of updates.
I installed systemd-container without any errors.
linux@changeme:~$ sudo apt install systemd-container
[sudo] password for linux:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
libnss-mymachines
The following NEW packages will be installed:
libnss-mymachines systemd-container
0 upgraded, 2 newly installed, 0 to remove and 12 not upgraded.
Need to get 513 kB of archives.
After this operation, 1,831 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main arm64 systemd-container arm64 249.11-0ubuntu3.6 [370 kB]
Get:2 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main arm64 libnss-mymachines arm64 249.11-0ubuntu3.6 [143 kB]
Fetched 513 kB in 0s (2,049 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package systemd-container.
(Reading database ... 194755 files and directories currently installed.)
Preparing to unpack .../systemd-container_249.11-0ubuntu3.6_arm64.deb ...
Unpacking systemd-container (249.11-0ubuntu3.6) ...
Selecting previously unselected package libnss-mymachines:arm64.
Preparing to unpack .../libnss-mymachines_249.11-0ubuntu3.6_arm64.deb ...
Unpacking libnss-mymachines:arm64 (249.11-0ubuntu3.6) ...
Setting up systemd-container (249.11-0ubuntu3.6) ...
Created symlink /etc/systemd/system/multi-user.target.wants/machines.target → /lib/systemd/system/machines.target.
Setting up libnss-mymachines:arm64 (249.11-0ubuntu3.6) ...
First installation detected...
Checking NSS setup...
Processing triggers for libc-bin (2.35-0ubuntu3.1) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for dbus (1.12.20-2ubuntu4.1) ...
linux@changeme:~$
@omac777 @llcool - i think the problem is related to the use of btrfs as rootfs and most probably some special setup might be required for it to work properly - maybe the btrfs related part of https://github.com/hexdump0815/imagebuilder/blob/main/doc/using-the-imagebuilder-framework.md can help or some searching for information about running using systemd-containerd on btrfs is required ... it works on the snapdragon_7c image as this is still using ext4 as rootfs as it is in a very early and experimental state
good luck and best wishes - hexdump
Rather than calling the hostname changeme, please consider calling it "vf2-hexdump0815-sid" and also adding it to /etc/hosts.
I figured I would share a few odd errors while installing systemd-container especially after doing a fresh image install just before receiving these errors. The sdcard was wipefs'ed just before.