Directly include .config-components as a base (this would lead to all package groups being built, but only core is included in the image, e.g. no kantui)
IMAGE_INSTALL packagegroup-sdv-core
Set distro as poky and target as core-image minimal
Use qemux86-64 as initial target machine
Results:
Successful build
Successful boot
Container management, kanto-cm available (No systemd unit, not autostarted, socket not created)
Containerd, runc available (no systemd unit)
kanto-auto-deployer available
ssh, sshd available. sshd working (you can ssh into the image with ssh -p 2222 root@127.0.0.1)
leda bash utils available but mostly broken (sdv-motd can't bind to kanto-cm socket, sdv-health fails on /etc/os-release not being available (running touch /etc/os-release lets it proceed however)
rauc available, but not working:
root@qemux86-64:~# rauc status
Error retrieving slot status via D-Bus: error creating proxy: Error calling StartServiceByName for de.pengutronix.rauc: Launch helper exited with unknown return code 1
mosquitto installed and running as service on localhost
Leda utils output
root@qemux86-64:/opt/containerd/bin# sdv-motd
_ _
| | ___ __| | __ _
| |/ _ \/ _` |/ _` |
| | __/ (_| | (_| |
|_|\___|\__,_|\__,_|
Poky (Yocto Project Reference Distro) 4.0.7 \n \l (GNU/Linux 5.15.87-yocto-standard x86_64)
ip: can't find device 'eth0 '
Hostname......: qemux86-64
Uptime........: 0 days, 0:3 hours
Ø System load.: 0.08 (1min) | 0.07 (5min) | 0.02 (15min)
Disk Space....: Root: 304.9M | Used: 251.8M | Free: 32.3M
Data: | Used: | Free:
RAM ..........: Total: 223.9M | Used: 81.0M | Free: 16.3M
Network.......: Interface : eth0
IP Address:
Containers....: 0 running | 0 stopped | 0 exited
To check SDV services health, run $ sdv-health
Use $ sdv-device-info to display device configuration
Use $ sdv-provision to generate self-signed device certificates
/usr/bin/sdv-motd: line 99: systemctl: not found
Warning: Container Management is not yet up and running.
root@qemux86-64:~# sdv-health
[SDV Info]
* OS Release: :
* Image Version: : Poky (Yocto Project Reference Distro) 4.0.7 \n \l
* Build Time: : 20180309123456
-----------------------------------------------------------
[CAN Status]
* can0 : FAILED! (can0 not found)
-----------------------------------------------------------
[SDV Ports]
* OpenSSH : FAILED! Port 22 not open!
* Kanto CM : FAILED! Socket /run/container-management/container-management.sock not open!
* Mosquitto Server : FAILED! Port 1883 not open!
-----------------------------------------------------------
[SDV Services]
* containerd : FAILED! (/usr/bin/sdv-health: line 97: systemctl: not found)
* rauc : FAILED! (/usr/bin/sdv-health: line 97: systemctl: not found)
* container-management : FAILED! (/usr/bin/sdv-health: line 97: systemctl: not found)
[SDV Optional Services]
* sshd.socket : N/A (/usr/bin/sdv-health: line 97: systemctl: not found)
* systemd-networkd : N/A (/usr/bin/sdv-health: line 97: systemctl: not found)
* systemd-timesyncd : N/A (/usr/bin/sdv-health: line 97: systemctl: not found)
/usr/bin/sdv-health: line 428: systemctl: not found
-----------------------------------------------------------
[Kanto CM Containers]
* Kanto Container Management : FAILED! (Unavailable)
-----------------------------------------------------------
[Kanto CM Containers (OPTIONAL)]
* Kanto Container Management : FAILED! (Unavailable)
-----------------------------------------------------------
[SDV Connectivity]
* Ping [Internet] : FAILED! (error: 1) (ping 1.1.1.1)
/usr/bin/sdv-health: line 446: resolvectl: not found
* DNS Lookup [Internet] : OK ()
/usr/bin/sdv-health: line 203: mosquitto_sub: not found
* Cloud Connector : FAILED!
/usr/bin/sdv-health: line 227: mosquitto_rr: not found
* Device ID: : FAILED! (127)
-----------------------------------------------------------
Kas-config
packagegroup-sdv-core
Results:
Successful build
Successful boot
Container management, kanto-cm available (No systemd unit, not autostarted, socket not created)
Containerd, runc available (no systemd unit)
kanto-auto-deployer available
ssh, sshd available. sshd working (you can ssh into the image with
ssh -p 2222 root@127.0.0.1
)leda bash utils available but mostly broken (sdv-motd can't bind to kanto-cm socket, sdv-health fails on
/etc/os-release
not being available (runningtouch /etc/os-release
lets it proceed however)rauc available, but not working:
mosquitto installed and running as service on localhost
Leda utils output