From f33fac6347a3228a2319e45f78bf290f96fbd9ad Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 16 Jul 2024 15:04:48 -0700 Subject: [PATCH 01/14] Layer Updates: sources/meta-rockchip sources/meta-tegra sources/poky * sources/meta-rockchip ea72b22...e1f931b (1): > linux-torvalds-next: ignore TMPDIR issues * sources/meta-tegra cc1c28f0...76e5fb35 (3): > l4t-launcher-rootfs-ab-config: add S setting > external/virtualization-layer: update libnvidia-container makefile patch > tar-l4t-workaround-native: Switch away from S = WORKDIR * sources/poky e665be2ad94...e18d60deb04 (45): > build-appliance-image: Update to master head revision > Switch default spdx version to 3.0 > classes/create-spdx-3.0: Move tasks to library > classes/spdx-common: Move to library > selftest: spdx: Add SPDX 3.0 test cases > classes/create-spdx-3.0: Add classes > bluez5: upgrade 5.72 -> 5.77 > libstd-rs,rust-cross-canadian: set CVE_PRODUCT to rust > insane: skip unimplemented-ptest checks if disabled > python3-hypothesis: upgrade 6.103.2 -> 6.105.1 > Revert "insane: skip unimplemented-ptest on S=WORKDIR recipes" > glibc: add task to list exported symbols > systemd: Mitigate /var/log type mismatch issue > oeqa/selftest/oescripts: pinentry update to 1.3.1 > wireless-regdb: upgrade 2024.05.08 -> 2024.07.04 > sysstat: upgrade 12.7.5 -> 12.7.6 > repo: upgrade 2.45 -> 2.46 > python3-trove-classifiers: upgrade 2024.5.22 -> 2024.7.2 > python3-pycairo: upgrade 1.26.0 -> 1.26.1 > python3-maturin: upgrade 1.6.0 -> 1.7.0 > python3-importlib-metadata: upgrade 7.1.0 -> 8.0.0 > python3-hatchling: upgrade 1.24.2 -> 1.25.0 > python3-certifi: upgrade 2024.6.2 -> 2024.7.4 > pinentry: upgrade 1.3.0 -> 1.3.1 > opkg-utils: upgrade 0.6.3 -> 0.7.0 > opkg: upgrade 0.6.3 -> 0.7.0 > libsdl2: upgrade 2.30.4 -> 2.30.5 > librsvg: upgrade 2.57.3 -> 2.58.1 > libproxy: upgrade 0.5.6 -> 0.5.7 > libdrm: upgrade 2.4.120 -> 2.4.122 > libdnf: upgrade 0.73.1 -> 0.73.2 > libadwaita: upgrade 1.5.1 -> 1.5.2 > harfbuzz: upgrade 8.5.0 -> 9.0.0 > gstreamer: upgrade 1.24.4 -> 1.24.5 > gdbm: upgrade 1.23 -> 1.24 > dnf: upgrade 4.20.0 -> 4.21.0 > diffoscope: upgrade 271 -> 272 > debianutils: upgrade 5.19 -> 5.20 > cups: upgrade 2.4.9 -> 2.4.10 > createrepo-c: upgrade 1.1.2 -> 1.1.3 > ccache: upgrade 4.10 -> 4.10.1 > btrfs-tools: upgrade 6.8.1 -> 6.9.2 > base-passwd: upgrade 3.6.3 -> 3.6.4 > gdb: Upgrade to 15.1 release > selftest/fortran-helloworld: Fix buildpaths error Signed-off-by: Khem Raj --- sources/meta-rockchip | 2 +- sources/meta-tegra | 2 +- sources/poky | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sources/meta-rockchip b/sources/meta-rockchip index ea72b22f5..e1f931b40 160000 --- a/sources/meta-rockchip +++ b/sources/meta-rockchip @@ -1 +1 @@ -Subproject commit ea72b22f537b63ee21e4d5aad636975004b39791 +Subproject commit e1f931b403ce8dbe50bc4107da5aad81d94dec79 diff --git a/sources/meta-tegra b/sources/meta-tegra index cc1c28f05..76e5fb354 160000 --- a/sources/meta-tegra +++ b/sources/meta-tegra @@ -1 +1 @@ -Subproject commit cc1c28f05fbd1b511d3bca3795dd9b6a35df5914 +Subproject commit 76e5fb3546715cfdcbdda452bd2f99a3806735c3 diff --git a/sources/poky b/sources/poky index e665be2ad..e18d60deb 160000 --- a/sources/poky +++ b/sources/poky @@ -1 +1 @@ -Subproject commit e665be2ad94b736d5a07395303fd71937c021ee8 +Subproject commit e18d60deb0496f7c91f2de900d6c024b45b7910a From e0d94c20624565a04faea9211dbc046533a9b73b Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 16 Jul 2024 15:07:34 -0700 Subject: [PATCH 02/14] site: Upgrade Image version Signed-off-by: Khem Raj --- conf/site.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/site.conf b/conf/site.conf index aa96c9f3e..d2f27553e 100644 --- a/conf/site.conf +++ b/conf/site.conf @@ -11,4 +11,4 @@ require ${TOPDIR}/conf/projects/${PROJECT}/config.conf #YOE_PROFILE = "yoe-musl-sysvinit-wayland" #require conf/world.conf -IMG_VERSION = "24.6.4" +IMG_VERSION = "24.6.5" From 16d57a403c048b970342dd45a0f5eb07a631f83a Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 16 Jul 2024 15:07:56 -0700 Subject: [PATCH 03/14] CHANGELOG.md: Document changes Signed-off-by: Khem Raj --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 72306f785..49ad1b097 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -30,6 +30,8 @@ and this project adheres to - Enforce default remote name to "origin" in git fetcher - Enable GTK in OpenCV with wayland as well - Switch Jetson platforms to use Yoe distro with wayland instead of EGLFS +- Update blueZ to 5.77 +- Upgrade GDB to 15.1 ### Added @@ -37,6 +39,7 @@ and this project adheres to - Added DEBUG_LEVELFLAG variable to contain default debug level e.g. -g1, -g, etc. - Add packageconfig knob to control tegra gallium driver in mesa - Add nospdx class +- Add and switch default SPDX version to 3.0 ### Removed From c8aab7be6a476de80935c3ec17e8d542c3fb3ece Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 16 Jul 2024 17:39:29 -0700 Subject: [PATCH 04/14] Add meta-tegra-community layer This gets us some extra packages e.g. python binding for CUDA Signed-off-by: Khem Raj --- .gitmodules | 4 ++++ sources/meta-tegra-community | 1 + 2 files changed, 5 insertions(+) create mode 160000 sources/meta-tegra-community diff --git a/.gitmodules b/.gitmodules index 56ade1c2e..1e62b6e68 100644 --- a/.gitmodules +++ b/.gitmodules @@ -70,3 +70,7 @@ path = sources/meta-tegra url = https://github.com/YoeDistro/meta-tegra branch = master +[submodule "sources/meta-tegra-community"] + path = sources/meta-tegra-community + url = https://github.com/yoedistro/meta-tegra-community + branch = master diff --git a/sources/meta-tegra-community b/sources/meta-tegra-community new file mode 160000 index 000000000..84ef4249a --- /dev/null +++ b/sources/meta-tegra-community @@ -0,0 +1 @@ +Subproject commit 84ef4249ae938c9065811e2c242655471dcc4bdf From 5244b012d49e918aa7090797be7bacb5a6b9570a Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 16 Jul 2024 17:49:26 -0700 Subject: [PATCH 05/14] jetson: Add meta-tegra-community layer to projects This gets additional packages e.g. python3-cuda Signed-off-by: Khem Raj --- conf/projects/jetson-agx-orin-devkit/layers.conf | 1 + conf/projects/jetson-orin-nano-devkit/layers.conf | 1 + 2 files changed, 2 insertions(+) diff --git a/conf/projects/jetson-agx-orin-devkit/layers.conf b/conf/projects/jetson-agx-orin-devkit/layers.conf index de0156a23..81f82a692 100644 --- a/conf/projects/jetson-agx-orin-devkit/layers.conf +++ b/conf/projects/jetson-agx-orin-devkit/layers.conf @@ -5,6 +5,7 @@ BBLAYERS = "\ ${TOPDIR}/sources/meta-yoe \ \ ${TOPDIR}/sources/meta-tegra \ + ${TOPDIR}/sources/meta-tegra-community \ \ ${TOPDIR}/sources/meta-qt6 \ \ diff --git a/conf/projects/jetson-orin-nano-devkit/layers.conf b/conf/projects/jetson-orin-nano-devkit/layers.conf index de0156a23..81f82a692 100644 --- a/conf/projects/jetson-orin-nano-devkit/layers.conf +++ b/conf/projects/jetson-orin-nano-devkit/layers.conf @@ -5,6 +5,7 @@ BBLAYERS = "\ ${TOPDIR}/sources/meta-yoe \ \ ${TOPDIR}/sources/meta-tegra \ + ${TOPDIR}/sources/meta-tegra-community \ \ ${TOPDIR}/sources/meta-qt6 \ \ From 860565b065904c2484704c9fdc3475cba43a76b2 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 16 Jul 2024 19:12:41 -0700 Subject: [PATCH 06/14] jetson-orin: Add python3-cuda to images Signed-off-by: Khem Raj --- conf/projects/jetson-agx-orin-devkit/config.conf | 1 + conf/projects/jetson-orin-nano-devkit-nvme/config.conf | 1 + conf/projects/jetson-orin-nano-devkit/config.conf | 1 + 3 files changed, 3 insertions(+) diff --git a/conf/projects/jetson-agx-orin-devkit/config.conf b/conf/projects/jetson-agx-orin-devkit/config.conf index e773605d2..cf8f10ce5 100644 --- a/conf/projects/jetson-agx-orin-devkit/config.conf +++ b/conf/projects/jetson-agx-orin-devkit/config.conf @@ -61,6 +61,7 @@ CORE_IMAGE_EXTRA_INSTALL:append = " \ cuda-samples \ opencv-samples opencv-apps \ python3-opencv \ + python3-cuda \ " DISTRO_FEATURES:remove = "ld-is-lld" diff --git a/conf/projects/jetson-orin-nano-devkit-nvme/config.conf b/conf/projects/jetson-orin-nano-devkit-nvme/config.conf index c7c6ddf28..c9db4a78b 100644 --- a/conf/projects/jetson-orin-nano-devkit-nvme/config.conf +++ b/conf/projects/jetson-orin-nano-devkit-nvme/config.conf @@ -60,6 +60,7 @@ CORE_IMAGE_EXTRA_INSTALL:append = " \ optee-nvsamples optee-test \ cuda-samples \ opencv-samples opencv-apps \ + python3-cuda \ " DISTRO_FEATURES:remove = "ld-is-lld" diff --git a/conf/projects/jetson-orin-nano-devkit/config.conf b/conf/projects/jetson-orin-nano-devkit/config.conf index 566ed3c1c..8dd8fe2d9 100644 --- a/conf/projects/jetson-orin-nano-devkit/config.conf +++ b/conf/projects/jetson-orin-nano-devkit/config.conf @@ -60,6 +60,7 @@ CORE_IMAGE_EXTRA_INSTALL:append = " \ optee-nvsamples optee-test \ cuda-samples \ opencv-samples opencv-apps \ + python3-cuda \ " DISTRO_FEATURES:remove = "ld-is-lld" From 68be423b664e3115222b3ebee5017dddf47ee2ca Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 16 Jul 2024 19:15:27 -0700 Subject: [PATCH 07/14] jetson-agx: Make layer.conf symlink to orin-nano Signed-off-by: Khem Raj --- .../jetson-agx-orin-devkit/layers.conf | 21 +------------------ 1 file changed, 1 insertion(+), 20 deletions(-) mode change 100644 => 120000 conf/projects/jetson-agx-orin-devkit/layers.conf diff --git a/conf/projects/jetson-agx-orin-devkit/layers.conf b/conf/projects/jetson-agx-orin-devkit/layers.conf deleted file mode 100644 index 81f82a692..000000000 --- a/conf/projects/jetson-agx-orin-devkit/layers.conf +++ /dev/null @@ -1,20 +0,0 @@ -BBPATH = "${TOPDIR}" -BBFILES ?= "" - -BBLAYERS = "\ - ${TOPDIR}/sources/meta-yoe \ - \ - ${TOPDIR}/sources/meta-tegra \ - ${TOPDIR}/sources/meta-tegra-community \ - \ - ${TOPDIR}/sources/meta-qt6 \ - \ - ${TOPDIR}/sources/meta-openembedded/meta-filesystems \ - ${TOPDIR}/sources/meta-openembedded/meta-multimedia \ - ${TOPDIR}/sources/meta-openembedded/meta-networking \ - ${TOPDIR}/sources/meta-openembedded/meta-oe \ - ${TOPDIR}/sources/meta-openembedded/meta-perl \ - ${TOPDIR}/sources/meta-openembedded/meta-python \ - \ - ${TOPDIR}/sources/poky/meta \ -" diff --git a/conf/projects/jetson-agx-orin-devkit/layers.conf b/conf/projects/jetson-agx-orin-devkit/layers.conf new file mode 120000 index 000000000..e04913a93 --- /dev/null +++ b/conf/projects/jetson-agx-orin-devkit/layers.conf @@ -0,0 +1 @@ +../jetson-orin-nano-devkit/layers.conf \ No newline at end of file From 34ca63ca1002087e75e916204ba128b3205ebb8f Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 16 Jul 2024 19:32:12 -0700 Subject: [PATCH 08/14] linux-jammy-nvidia-tegra: Enable common yoe configs Additionally enable kprobes, needed by lttng-modules with kernel 5.7+ Signed-off-by: Khem Raj --- sources/meta-yoe/conf/layer.conf | 2 ++ .../linux/linux-jammy-nvidia-tegra/kprobes.cfg | 1 + .../linux/linux-jammy-nvidia-tegra/nologo.cfg | 1 + .../linux/linux-jammy-nvidia-tegra/overlayfs.cfg | 1 + .../linux/linux-jammy-nvidia-tegra/wireguard.cfg | 1 + .../linux/linux-jammy-nvidia-tegra_%.bbappend | 6 ++++++ 6 files changed, 12 insertions(+) create mode 100644 sources/meta-yoe/dynamic-layers/tegra/recipes-kernel/linux/linux-jammy-nvidia-tegra/kprobes.cfg create mode 100644 sources/meta-yoe/dynamic-layers/tegra/recipes-kernel/linux/linux-jammy-nvidia-tegra/nologo.cfg create mode 100644 sources/meta-yoe/dynamic-layers/tegra/recipes-kernel/linux/linux-jammy-nvidia-tegra/overlayfs.cfg create mode 100644 sources/meta-yoe/dynamic-layers/tegra/recipes-kernel/linux/linux-jammy-nvidia-tegra/wireguard.cfg create mode 100644 sources/meta-yoe/dynamic-layers/tegra/recipes-kernel/linux/linux-jammy-nvidia-tegra_%.bbappend diff --git a/sources/meta-yoe/conf/layer.conf b/sources/meta-yoe/conf/layer.conf index f4105e327..cd9251082 100644 --- a/sources/meta-yoe/conf/layer.conf +++ b/sources/meta-yoe/conf/layer.conf @@ -21,6 +21,8 @@ BBFILES_DYNAMIC += " \ raspberrypi:${LAYERDIR}/dynamic-layers/raspberrypi/*/*/*.bbappend \ swupdate:${LAYERDIR}/dynamic-layers/swupdate/*/*/*.bb \ swupdate:${LAYERDIR}/dynamic-layers/swupdate/*/*/*.bbappend \ + tegra:${LAYERDIR}/dynamic-layers/tegra/*/*/*.bb \ + tegra:${LAYERDIR}/dynamic-layers/tegra/*/*/*.bbappend \ variscite-bsp:${LAYERDIR}/dynamic-layers/variscite-bsp/*/*/*.bb \ variscite-bsp:${LAYERDIR}/dynamic-layers/variscite-bsp/*/*/*.bbappend \ webkit:${LAYERDIR}/dynamic-layers/webkit/*/*/*.bb \ diff --git a/sources/meta-yoe/dynamic-layers/tegra/recipes-kernel/linux/linux-jammy-nvidia-tegra/kprobes.cfg b/sources/meta-yoe/dynamic-layers/tegra/recipes-kernel/linux/linux-jammy-nvidia-tegra/kprobes.cfg new file mode 100644 index 000000000..e24be2770 --- /dev/null +++ b/sources/meta-yoe/dynamic-layers/tegra/recipes-kernel/linux/linux-jammy-nvidia-tegra/kprobes.cfg @@ -0,0 +1 @@ +CONFIG_KPROBES=y diff --git a/sources/meta-yoe/dynamic-layers/tegra/recipes-kernel/linux/linux-jammy-nvidia-tegra/nologo.cfg b/sources/meta-yoe/dynamic-layers/tegra/recipes-kernel/linux/linux-jammy-nvidia-tegra/nologo.cfg new file mode 100644 index 000000000..52f82ad52 --- /dev/null +++ b/sources/meta-yoe/dynamic-layers/tegra/recipes-kernel/linux/linux-jammy-nvidia-tegra/nologo.cfg @@ -0,0 +1 @@ +#CONFIG_LOGO is not set diff --git a/sources/meta-yoe/dynamic-layers/tegra/recipes-kernel/linux/linux-jammy-nvidia-tegra/overlayfs.cfg b/sources/meta-yoe/dynamic-layers/tegra/recipes-kernel/linux/linux-jammy-nvidia-tegra/overlayfs.cfg new file mode 100644 index 000000000..912223899 --- /dev/null +++ b/sources/meta-yoe/dynamic-layers/tegra/recipes-kernel/linux/linux-jammy-nvidia-tegra/overlayfs.cfg @@ -0,0 +1 @@ +CONFIG_OVERLAY_FS=y diff --git a/sources/meta-yoe/dynamic-layers/tegra/recipes-kernel/linux/linux-jammy-nvidia-tegra/wireguard.cfg b/sources/meta-yoe/dynamic-layers/tegra/recipes-kernel/linux/linux-jammy-nvidia-tegra/wireguard.cfg new file mode 100644 index 000000000..f4bb670b4 --- /dev/null +++ b/sources/meta-yoe/dynamic-layers/tegra/recipes-kernel/linux/linux-jammy-nvidia-tegra/wireguard.cfg @@ -0,0 +1 @@ +CONFIG_WIREGUARD=m diff --git a/sources/meta-yoe/dynamic-layers/tegra/recipes-kernel/linux/linux-jammy-nvidia-tegra_%.bbappend b/sources/meta-yoe/dynamic-layers/tegra/recipes-kernel/linux/linux-jammy-nvidia-tegra_%.bbappend new file mode 100644 index 000000000..80b7c95f0 --- /dev/null +++ b/sources/meta-yoe/dynamic-layers/tegra/recipes-kernel/linux/linux-jammy-nvidia-tegra_%.bbappend @@ -0,0 +1,6 @@ +FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" + +SRC_URI += "file://overlayfs.cfg \ + file://nologo.cfg \ + file://wireguard.cfg \ + file://kprobes.cfg" From d90db98135c6b16084639dabd5e46c2fd413d893 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 16 Jul 2024 20:43:54 -0700 Subject: [PATCH 09/14] CHANGELOG: Document changes Signed-off-by: Khem Raj --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 49ad1b097..9a48de7a1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -32,6 +32,8 @@ and this project adheres to - Switch Jetson platforms to use Yoe distro with wayland instead of EGLFS - Update blueZ to 5.77 - Upgrade GDB to 15.1 +- Enable kprobes in tegra kernel +- Add python3-cuda to tegra based images ### Added @@ -40,6 +42,7 @@ and this project adheres to - Add packageconfig knob to control tegra gallium driver in mesa - Add nospdx class - Add and switch default SPDX version to 3.0 +- Add meta-tegra-community layer ### Removed From 6057c9a145835095e93f4e0b23601453d1feec09 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 16 Jul 2024 21:11:23 -0700 Subject: [PATCH 10/14] linux-jammy-nvidia-tegra: Disable audit We do not use selinux which is primary user of audit subsystem Signed-off-by: Khem Raj --- .../recipes-kernel/linux/linux-jammy-nvidia-tegra/audit.cfg | 2 ++ .../recipes-kernel/linux/linux-jammy-nvidia-tegra_%.bbappend | 1 + 2 files changed, 3 insertions(+) create mode 100644 sources/meta-yoe/dynamic-layers/tegra/recipes-kernel/linux/linux-jammy-nvidia-tegra/audit.cfg diff --git a/sources/meta-yoe/dynamic-layers/tegra/recipes-kernel/linux/linux-jammy-nvidia-tegra/audit.cfg b/sources/meta-yoe/dynamic-layers/tegra/recipes-kernel/linux/linux-jammy-nvidia-tegra/audit.cfg new file mode 100644 index 000000000..a524589fa --- /dev/null +++ b/sources/meta-yoe/dynamic-layers/tegra/recipes-kernel/linux/linux-jammy-nvidia-tegra/audit.cfg @@ -0,0 +1,2 @@ +# CONFIG_AUDIT is not set +# CONFIG_AUDITSYSCALL is not set diff --git a/sources/meta-yoe/dynamic-layers/tegra/recipes-kernel/linux/linux-jammy-nvidia-tegra_%.bbappend b/sources/meta-yoe/dynamic-layers/tegra/recipes-kernel/linux/linux-jammy-nvidia-tegra_%.bbappend index 80b7c95f0..a03adb9b0 100644 --- a/sources/meta-yoe/dynamic-layers/tegra/recipes-kernel/linux/linux-jammy-nvidia-tegra_%.bbappend +++ b/sources/meta-yoe/dynamic-layers/tegra/recipes-kernel/linux/linux-jammy-nvidia-tegra_%.bbappend @@ -3,4 +3,5 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" SRC_URI += "file://overlayfs.cfg \ file://nologo.cfg \ file://wireguard.cfg \ + file://audit.cfg \ file://kprobes.cfg" From 398b21dde4cc6bc719b1c20db74e580f6bc4ff54 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 16 Jul 2024 22:52:56 -0700 Subject: [PATCH 11/14] yoe/images: Make networkmanager and wireguard part of yoe-simple-image Fix a typo in yoe-simpleiot-image Signed-off-by: Khem Raj --- sources/meta-yoe/recipes-core/images/yoe-simple-image.bb | 2 ++ sources/meta-yoe/recipes-core/images/yoe-simpleiot-image.bb | 4 +--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sources/meta-yoe/recipes-core/images/yoe-simple-image.bb b/sources/meta-yoe/recipes-core/images/yoe-simple-image.bb index a758a3e76..b9a5aa512 100644 --- a/sources/meta-yoe/recipes-core/images/yoe-simple-image.bb +++ b/sources/meta-yoe/recipes-core/images/yoe-simple-image.bb @@ -21,6 +21,8 @@ IMAGE_INSTALL = "\ os-release \ htop \ ca-certificates \ + networkmanager \ + wireguard-tools \ ${CORE_IMAGE_EXTRA_INSTALL} \ " diff --git a/sources/meta-yoe/recipes-core/images/yoe-simpleiot-image.bb b/sources/meta-yoe/recipes-core/images/yoe-simpleiot-image.bb index 53268d508..7e99a594c 100644 --- a/sources/meta-yoe/recipes-core/images/yoe-simpleiot-image.bb +++ b/sources/meta-yoe/recipes-core/images/yoe-simpleiot-image.bb @@ -1,7 +1,7 @@ # Yoe sample IoT image require yoe-simple-image.bb -oDESCRIPTION = "SimpleIOT Image" +DESCRIPTION = "SimpleIOT Image" SIMPLEIOT ?= "simpleiot" # RISCV32 does not have golang port yet so there is no use @@ -10,8 +10,6 @@ SIMPLEIOT:riscv32 = "" IMAGE_INSTALL += "\ ${SIMPLEIOT} \ - networkmanager \ - wireguard-tools \ " export IMAGE_BASENAME = "yoe-simpleiot-image" From 0d1b8932ea7869a978533eb6017783b559ada5d6 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 17 Jul 2024 11:13:56 -0700 Subject: [PATCH 12/14] systemd: Do not manage wifi with systemd-networkd MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It can be enabled with wpa-supplicant + systemd-networkd but we do not setup wifi out of box since it needs to connect to unique SSID/passphrases, instead we inlcude networkmanager/nmcli which user can use to configure wifi post-install. Fixes ● systemd-networkd-wait-online.service loaded failed failed Wait for Network to be Configured Signed-off-by: Khem Raj --- sources/meta-yoe/recipes-core/systemd/systemd_%.bbappend | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sources/meta-yoe/recipes-core/systemd/systemd_%.bbappend b/sources/meta-yoe/recipes-core/systemd/systemd_%.bbappend index 1da40afea..9c925d944 100644 --- a/sources/meta-yoe/recipes-core/systemd/systemd_%.bbappend +++ b/sources/meta-yoe/recipes-core/systemd/systemd_%.bbappend @@ -2,8 +2,10 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/${BPN}:" PACKAGECONFIG:append = " networkd resolved coredump" +# Add wireless.network here if the system has wifi and +# it is managed via wpa-supplicant + systemd-networkd +# if using networkmanager wireless.network file is not needed NETWORKING_SCRIPTS ?= "file://wired.network \ - file://wireless.network \ " SRC_URI += "${NETWORKING_SCRIPTS}" From 7c4a94b50519702cbdcc93321889d43bfc44b9c4 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 17 Jul 2024 12:24:08 -0700 Subject: [PATCH 13/14] Layer Updates: sources/meta-tegra-community * sources/meta-tegra-community 84ef424...d39b8e3 (1): > python3-cuda: Add missing upstream status to patch Signed-off-by: Khem Raj --- sources/meta-tegra-community | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/meta-tegra-community b/sources/meta-tegra-community index 84ef4249a..d39b8e318 160000 --- a/sources/meta-tegra-community +++ b/sources/meta-tegra-community @@ -1 +1 @@ -Subproject commit 84ef4249ae938c9065811e2c242655471dcc4bdf +Subproject commit d39b8e318e6573fed48b5b2858207b0321f836ce From da6fb1f59998a8d3ec124625535a0b4bb3b0607e Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 17 Jul 2024 12:27:14 -0700 Subject: [PATCH 14/14] CHANGELOG: Document changes Signed-off-by: Khem Raj --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9a48de7a1..5b750fcf3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -34,6 +34,9 @@ and this project adheres to - Upgrade GDB to 15.1 - Enable kprobes in tegra kernel - Add python3-cuda to tegra based images +- Do not manage wifi with systemd-networkmanager +- Disable audit subsystem in kernel for tegra platforms +- Add networkmanager and wireguard to all yoe images ### Added