distro/yocto: add meta-salmanoff Yocto layer for QEMU x86 images
Vendor the BitBake layer (recipes, network config, boost pin, kernel append, runqemu bridge script) alongside SMO for packaging as a Yocto image. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
require recipes-core/images/core-image-minimal.bb
|
||||
|
||||
SUMMARY = "Salmanoff runtime image"
|
||||
|
||||
IMAGE_FEATURES += "ssh-server-openssh"
|
||||
|
||||
IMAGE_INSTALL:append = " \
|
||||
rseqsliceprobe \
|
||||
iproute2 \
|
||||
boost-system \
|
||||
boost-log \
|
||||
libcamera \
|
||||
opencl-icd-loader \
|
||||
libopencl-mesa \
|
||||
libgallium \
|
||||
clinfo \
|
||||
v4l-utils \
|
||||
salmanoff-rusticl-env \
|
||||
liburing \
|
||||
salmanoff \
|
||||
"
|
||||
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
# Salmanoff lab LAN — static eth0 for bridged QEMU on 10.42.0.0/24.
|
||||
# Used with: runqemu salmanoff-image snapshot bridge=<host-bridge>
|
||||
|
||||
auto lo
|
||||
iface lo inet loopback
|
||||
|
||||
auto eth0
|
||||
iface eth0 inet static
|
||||
address 10.42.0.16
|
||||
netmask 255.255.255.0
|
||||
gateway 10.42.0.1
|
||||
dns-nameservers 10.42.0.1
|
||||
@@ -0,0 +1,7 @@
|
||||
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
|
||||
|
||||
SRC_URI:append = " file://salmanoff-interfaces"
|
||||
|
||||
do_install:append() {
|
||||
install -m 0644 ${UNPACKDIR}/salmanoff-interfaces ${D}${sysconfdir}/network/interfaces
|
||||
}
|
||||
Reference in New Issue
Block a user