Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
83 changes: 83 additions & 0 deletions .github/workflows/update.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
name: update recipes

on:
schedule:
- cron: '10 21 * * 1'
workflow_dispatch:

jobs:
update:
name: update recipes
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- name: Check out the repository
uses: actions/checkout@v5

- name: Configure git
run: |
git config user.email "[email protected]"
git config user.name "Recipe Updater Bot"

- name: Create a new branch
run: git checkout -b "update/recipes-$(date +%Y%m%d)"

- name: Run update script
run: python3 -u tools/update/update.py tools/update/recipes.yaml

- name: Commit changes to recipes
id: recipe-commit
run: |
git add .
git commit --signoff --message="Recipe updates for $(date +%Y-%m-%d)"
continue-on-error: true

- name: Update rust dependencies
if: ${{ steps.recipe-commit.outcome == 'success' }}
run: |
# Set up the system for use with bitbake
sudo apt-get install chrpath diffstat
echo 0 | sudo tee /proc/sys/kernel/apparmor_restrict_unprivileged_userns

# Get meta layers
git submodule init
git submodule update --single-branch --depth 1

# Configure bitbake to use pre-built sstate
mkdir -p build/conf
cat <<EOF > build/conf/auto.conf
# Use the shared sstate cache
SSTATE_MIRRORS = "file://.* https://github-runner.pengutronix.de/sstate-cache/PATH"

# As long as we do not have a global hash equivalence server running together
# with the sstate mirror, using a (local) hash equivalence server will be
# ineffective as hashes match less often. Disable hash equivalence for now.
BB_SIGNATURE_HANDLER = "OEBasicHash"
BB_HASHSERVE = ""

# Prefer fast compression over small file size
OPKGBUILDCMD = "opkg-build -Z gzip -a -1n"
EOF

# Update the -crates.inc files
source oe-init-build-env
bitbake -c update_crates bottom tacd ripgrep

- name: Commit changes to rust dependencies
if: ${{ steps.recipe-commit.outcome == 'success' }}
run: |
git add .
git commit --signoff --message="Rust crate update for $(date +%Y-%m-%d)"
continue-on-error: true

- name: Push changes upstream
if: ${{ steps.recipe-commit.outcome == 'success' }}
run: git push --set-upstream origin "$(git branch --show-current)"

- name: Create pull request
if: ${{ steps.recipe-commit.outcome == 'success' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh pr create --base "${{ github.ref_name }}" --fill-first
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ DESCRIPTION = "Alternative implementation of the GitHub Action runner protocol w
GO_IMPORT = "github.com/ChristopherHX/github-act-runner"

SRC_URI = " \
git://${GO_IMPORT};branch=main;protocol=https;destsuffix=${BPN}-${PV}/src/${GO_IMPORT} \
git://${GO_IMPORT};branch=${SRCBRANCH};protocol=https;destsuffix=${BPN}-${PV}/src/${GO_IMPORT} \
file://github-act-runner.service \
"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# This file was generated by tools/update/update.py

require github-act-runner.inc

# Git tag v0.12.0 pointing at a commit from 2025-09-12 15:58:57 +0000
SRCBRANCH = "main"
SRCREV = "1636dd12fe3f21f235a673aef773eaf2853b6ce2"

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# This file was generated by tools/update/update.py

require gitlab-runner.inc

# Git tag v18.6.1 pointing at a commit from 2025-11-20 22:34:41 -0800
SRCBRANCH = "18-6-stable"
SRCREV = "b5e9c6d04ecb017785f6d475dbc88868c7ff7fc1"
22 changes: 22 additions & 0 deletions meta-lxatac-software/recipes-devtools/qdl/qdl.inc
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
SUMMARY = "Qualcomm DownLoader flashing tool"
DESCRIPTION = "Communicate with Qualcomm SoCs to upload new software or \
dump memory"
HOMEPAGE = "https://github.com/linux-msm/qdl"
SECTION = "devel"

LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=da6bfde9cb5bc5120a51775381f6edf1"

DEPENDS = "libxml2 libusb1"

inherit pkgconfig

SRC_URI = "git://github.com/linux-msm/${BPN}.git;branch=${SRCBRANCH};protocol=https"

S = "${WORKDIR}/git"

do_install () {
oe_runmake install DESTDIR=${D} prefix=${prefix}
}

BBCLASSEXTEND = "native nativesdk"
24 changes: 4 additions & 20 deletions meta-lxatac-software/recipes-devtools/qdl/qdl_2.2.bb
Original file line number Diff line number Diff line change
@@ -1,23 +1,7 @@
SUMMARY = "Qualcomm DownLoader flashing tool"
DESCRIPTION = "Communicate with Qualcomm SoCs to upload new software or \
dump memory"
HOMEPAGE = "https://github.com/linux-msm/qdl.git"
SECTION = "devel"
# This file was generated by tools/update/update.py

LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=da6bfde9cb5bc5120a51775381f6edf1"
require qdl.inc

DEPENDS = "libxml2 libusb1"

inherit pkgconfig

SRC_URI = "git://github.com/linux-msm/${BPN}.git;branch=master;protocol=https"
# Git tag v2.2 pointing at a commit from 2025-09-08 14:16:39 -0500
SRCBRANCH = "master"
SRCREV = "a601db1868bcda454a77b6769ca9efac3b0a114c"

S = "${WORKDIR}/git"

do_install () {
oe_runmake install DESTDIR=${D} prefix=${prefix}
}

BBCLASSEXTEND = "native nativesdk"
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
SUMMARY = "Rockchip Development Tool"
DESCRIPTION = "Communicate with the Rockchip Boot ROM to upload new software \
read/write to memory locations and reset the device."
HOMEPAGE = "https://github.com/rockchip-linux/rkdeveloptool"
SECTION = "devel"
LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://license.txt;md5=ea9445d9cc03d508cf6bb769d15a54ef"

SRC_URI = "git://github.com/rockchip-linux/rkdeveloptool.git;protocol=https;branch=${SRCBRANCH} \
file://0001-Makefile-disable-format-truncation-errors.patch \
"

S = "${WORKDIR}/git"

DEPENDS = "libusb1 udev"

inherit autotools pkgconfig
Original file line number Diff line number Diff line change
@@ -1,20 +1,7 @@
SUMMARY = "Rockchip Development Tool"
DESCRIPTION = "Communicate with the Rockchip Boot ROM to upload new software \
read/write to memory locations and reset the device."
HOMEPAGE = "https://github.com/rockchip-linux/rkdeveloptool"
SECTION = "devel"
LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://license.txt;md5=ea9445d9cc03d508cf6bb769d15a54ef"
# This file was generated by tools/update/update.py

SRC_URI = "git://github.com/rockchip-linux/rkdeveloptool.git;protocol=https;branch=master \
file://0001-Makefile-disable-format-truncation-errors.patch \
"
require rkdeveloptool.inc

SRCREV = "46bb4c073624226c3f05b37b9ecc50bbcf543f5a"
PV = "1.32+git"

S = "${WORKDIR}/git"

DEPENDS = "libusb1 udev"

inherit autotools pkgconfig
# Commit 304f073752fd25c854e1bcf05d8e7f925b1f4e14 created 2025-03-07 15:34:30 +0800
SRCBRANCH = "master"
SRCREV = "304f073752fd25c854e1bcf05d8e7f925b1f4e14"
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# This file was generated by tools/update/update.py

# Commit 1cbd40135a8c7f25d7b444a7fac77fd3c3ad471e created 2024-10-29 10:51:22 +0100
SRCBRANCH = "main"
SRCREV = "1cbd40135a8c7f25d7b444a7fac77fd3c3ad471e"
21 changes: 21 additions & 0 deletions meta-lxatac-software/recipes-rust/bottom/bottom.inc
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
inherit cargo cargo-update-recipe-crates

SRC_URI += "git://github.com/ClementTsang/bottom.git;protocol=https;branch=${SRCBRANCH}"
S = "${WORKDIR}/git"
CARGO_SRC_DIR = ""

# The bottom Cargo.toml strips release builds, why makes it hard to debug.
# Yocto has its own stripping feature, that preserves the debug symbols but
# only installs the stripped version.
# Pre-stripped binaries trigger a yocto QA error.
CARGO_BUILD_FLAGS += "--config profile.release.strip=false"

LIC_FILES_CHKSUM = " \
file://LICENSE;md5=5d45cffa3a75da17d285cc60c0c458cc \
"

SUMMARY = "A customizable cross-platform graphical process/system monitor for the terminal. Supports Linux, macOS, and Windows."
HOMEPAGE = "https://github.com/ClementTsang/bottom"
LICENSE = "MIT"

require bottom-crates.inc
25 changes: 5 additions & 20 deletions meta-lxatac-software/recipes-rust/bottom/bottom_0.10.2.bb
Original file line number Diff line number Diff line change
@@ -1,22 +1,7 @@
inherit cargo cargo-update-recipe-crates
# This file was generated by tools/update/update.py

SRC_URI += "git://github.com/ClementTsang/bottom.git;protocol=https;branch=main"
SRCREV = "2ec1fb56c9db0b37acc4eca3230adfb52720376b"
S = "${WORKDIR}/git"
CARGO_SRC_DIR = ""

# The bottom Cargo.toml strips release builds, why makes it hard to debug.
# Yocto has its own stripping feature, that preserves the debug symbols but
# only installs the stripped version.
# Pre-stripped binaries trigger a yocto QA error.
CARGO_BUILD_FLAGS += "--config profile.release.strip=false"

LIC_FILES_CHKSUM = " \
file://LICENSE;md5=5d45cffa3a75da17d285cc60c0c458cc \
"
require bottom.inc

SUMMARY = "A customizable cross-platform graphical process/system monitor for the terminal. Supports Linux, macOS, and Windows."
HOMEPAGE = "https://github.com/ClementTsang/bottom"
LICENSE = "MIT"

require bottom-crates.inc
# Git tag 0.10.2 pointing at a commit from 2024-08-05 20:28:17 -0400
SRCBRANCH = "main"
SRCREV = "2ec1fb56c9db0b37acc4eca3230adfb52720376b"
19 changes: 19 additions & 0 deletions meta-lxatac-software/recipes-rust/ripgrep/ripgrep.inc
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
inherit cargo cargo-update-recipe-crates

SRC_URI += "git://github.com/BurntSushi/ripgrep.git;protocol=https;branch=${SRCBRANCH}"

S = "${WORKDIR}/git"
CARGO_SRC_DIR = ""

LIC_FILES_CHKSUM = " \
file://LICENSE-MIT;md5=8d0d0aa488af0ab9aafa3b85a7fc8e12 \
file://UNLICENSE;md5=7246f848faa4e9c9fc0ea91122d6e680 \
"

SUMMARY = "ripgrep is a line-oriented search tool that recursively searches your current \
directory for a regex pattern while respecting your gitignore rules. ripgrep \
has first class support on Windows, macOS and Linux."
HOMEPAGE = "https://github.com/BurntSushi/ripgrep"
LICENSE = "Unlicense | MIT"

require ripgrep-crates.inc
22 changes: 5 additions & 17 deletions meta-lxatac-software/recipes-rust/ripgrep/ripgrep_14.1.1.bb
Original file line number Diff line number Diff line change
@@ -1,19 +1,7 @@
inherit cargo cargo-update-recipe-crates
# This file was generated by tools/update/update.py

SRC_URI += "git://github.com/BurntSushi/ripgrep.git;protocol=https;branch=master"
SRCREV = "4649aa9700619f94cf9c66876e9549d83420e16c"
S = "${WORKDIR}/git"
CARGO_SRC_DIR = ""

LIC_FILES_CHKSUM = " \
file://LICENSE-MIT;md5=8d0d0aa488af0ab9aafa3b85a7fc8e12 \
file://UNLICENSE;md5=7246f848faa4e9c9fc0ea91122d6e680 \
"
require ripgrep.inc

SUMMARY = "ripgrep is a line-oriented search tool that recursively searches your current \
directory for a regex pattern while respecting your gitignore rules. ripgrep \
has first class support on Windows, macOS and Linux."
HOMEPAGE = "https://github.com/BurntSushi/ripgrep"
LICENSE = "Unlicense | MIT"

require ripgrep-crates.inc
# Git tag 14.1.1 pointing at a commit from 2024-09-08 22:15:00 -0400
SRCBRANCH = "master"
SRCREV = "4649aa9700619f94cf9c66876e9549d83420e16c"
22 changes: 20 additions & 2 deletions meta-lxatac-software/recipes-rust/tacd/tacd.inc
Original file line number Diff line number Diff line change
@@ -1,13 +1,25 @@
inherit cargo
inherit cargo-update-recipe-crates
inherit pkgconfig
inherit systemd

DEFAULT_PREFERENCE = "-1"

SRC_URI += " \
git://github.com/linux-automation/tacd.git;protocol=https;branch=${SRCBRANCH} \
file://tacd.service \
file://tacd-failsafe.sh \
file://de.pengutronix.tacd.conf \
file://01_stable.yaml \
file://05_testing.yaml \
"

inherit pkgconfig
inherit systemd
S = "${WORKDIR}/git"
CARGO_SRC_DIR = ""

SUMMARY = "tacd"
HOMEPAGE = "https://github.com/linux-automation/tacd"
LICENSE = "GPL-2.0-or-later"

DEPENDS:append = " libiio "

Expand All @@ -25,3 +37,9 @@ do_install:append() {
install -d ${D}${sysconfdir}/dbus-1/system.d
install -m 0644 ${UNPACKDIR}/de.pengutronix.tacd.conf ${D}/${sysconfdir}/dbus-1/system.d/
}

LIC_FILES_CHKSUM = " \
file://LICENSE;md5=570a9b3749dd0463a1778803b12a6dce \
"

require tacd-crates.inc
26 changes: 4 additions & 22 deletions meta-lxatac-software/recipes-rust/tacd/tacd_git.bb
Original file line number Diff line number Diff line change
@@ -1,25 +1,7 @@
inherit cargo
inherit cargo-update-recipe-crates
# This file was generated by tools/update/update.py

DEFAULT_PREFERENCE = "-1"
require tacd.inc

SRC_URI += "git://github.com/linux-automation/tacd.git;protocol=https;branch=main"
# Commit 1c2f16f8b4041b31cee702677630298614c23feb created 2025-09-23 16:58:43 +0200
SRCBRANCH = "main"
SRCREV = "1c2f16f8b4041b31cee702677630298614c23feb"
S = "${WORKDIR}/git"
CARGO_SRC_DIR = ""
PV = "0.1.0+git${SRCPV}"

LIC_FILES_CHKSUM = " \
file://LICENSE;md5=570a9b3749dd0463a1778803b12a6dce \
"

SUMMARY = "tacd"
HOMEPAGE = "https://github.com/linux-automation/tacd"
LICENSE = "GPL-2.0-or-later"

# includes this file if it exists but does not fail
# this is useful for anything you may want to override from
# what cargo-bitbake generates.
include tacd-${PV}.inc
include tacd-crates.inc
include tacd.inc
8 changes: 6 additions & 2 deletions meta-lxatac-software/recipes-support/bcu/bcu_%.bbappend
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
PV = "1.1.121"
SRCREV = "523d6fd8c75e8c82a987ec23c7674ec12990762a"
# This file was generated by tools/update/update.py

# Git tag bcu_1.1.124 pointing at a commit from 2025-11-05 15:03:30 +0800
SRCBRANCH = "master"
SRCREV = "98d4db41651e9e094a065baed105ce2c6fb8c86e"
PV = "1.1.124"

SRC_URI:remove = "file://0001-CMakeLists-do-not-use-vendored-libcurl.patch"
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ SUMMARY = "Universal Update Utility"
DESCRIPTION = "Image deployment tool for i.MX chips"
HOMEPAGE = "https://github.com/NXPmicro/mfgtools"

SRC_URI = "git://github.com/nxp-imx/mfgtools.git;protocol=https;branch=master"
SRCREV = "79ce7d2b2e7459e7b7c94f902d172c30b08884ab"
SRC_URI = "git://github.com/nxp-imx/mfgtools.git;protocol=https;branch=${SRCBRANCH}"

LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=38ec0c18112e9a92cffc4951661e85a5"
Expand Down
Loading