From 4add90e5e75cfdd1bf0c553fb52024b87717bb6a Mon Sep 17 00:00:00 2001 From: Mike Haller Date: Tue, 22 Nov 2022 07:32:33 +0000 Subject: [PATCH] Recipe fix raspi growdisk license checksum Signed-off-by: GitHub --- .gitignore | 5 +- .vscode/settings.json | 3 + docs/manual-bitbake-dryrun.md | 6 +- kas/.config-kirkstone-rpi4.yaml | 74 +++++++++++++++++++ .../growdisk/sdv-raspberry-growdisk_0.1.bb | 2 +- 5 files changed, 87 insertions(+), 3 deletions(-) create mode 100644 .vscode/settings.json create mode 100644 kas/.config-kirkstone-rpi4.yaml diff --git a/.gitignore b/.gitignore index 4ee53d0b..ef8de1fa 100644 --- a/.gitignore +++ b/.gitignore @@ -8,9 +8,12 @@ meta-rauc meta-kanto meta-rauc-community meta-virtualization +meta-raspberrypi +meta-rust poky # BitBake Hash Equivalence Server database bitbake hashserv.db* -azure-sstate-cache \ No newline at end of file +azure-sstate-cache +azure-downloads-cache diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 00000000..3b664107 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "git.ignoreLimitWarning": true +} \ No newline at end of file diff --git a/docs/manual-bitbake-dryrun.md b/docs/manual-bitbake-dryrun.md index b36c1198..f47e80fe 100644 --- a/docs/manual-bitbake-dryrun.md +++ b/docs/manual-bitbake-dryrun.md @@ -50,4 +50,8 @@ Dry-run a build of one of the Leda recipes: Perform a real build of one of the targets, e.g. the Eclipse Kanto Container Management recipe: - DISTRO=leda bitbake kanto-container-management + DISTRO=leda bitbake container-management + +To build a specific machine, set the KAS_MACHINE environment variable: + + KAS_MACHINE=raspberrypi4-64 kas build kas/.config-kirkstone-rpi4.yaml:kas/mirrors.yaml --target sdv-raspberry-growdisk diff --git a/kas/.config-kirkstone-rpi4.yaml b/kas/.config-kirkstone-rpi4.yaml new file mode 100644 index 00000000..da89cdef --- /dev/null +++ b/kas/.config-kirkstone-rpi4.yaml @@ -0,0 +1,74 @@ +# /******************************************************************************** +# * Copyright (c) 2022 Contributors to the Eclipse Foundation +# * +# * See the NOTICE file(s) distributed with this work for additional +# * information regarding copyright ownership. +# * +# * This program and the accompanying materials are made available under the +# * terms of the Apache License 2.0 which is available at +# * https://www.apache.org/licenses/LICENSE-2.0 +# * +# * SPDX-License-Identifier: Apache-2.0 +# ********************************************************************************/ +# Every file needs to contain a header, that provides kas with information +# about the context of this file. +header: + # The `version` entry in the header describes for which configuration + # format version this file was created for. It is used by kas to figure + # out if it is compatible with this file. The version is an integer that + # is increased on every format change. + version: 12 +# The machine as it is written into the `local.conf` of bitbake. +machine: raspberrypi4-64 +# The distro name as it is written into the `local.conf` of bitbake. +distro: leda +target: sdv-image-all +local_conf_header: + meta-leda: | + INHERIT:append = " rm_work" + INHERIT:remove = " archiver" + INHERIT:remove = " cve-check" + INHIBIT_PACKAGE_DEBUG_SPLIT = "1" + meta-rauc: | + RAUC_KEY_FILE = "${COREBASE}/../examples/rauc/development-1.key.pem" + RAUC_CERT_FILE = "${COREBASE}/../examples/rauc/development-1.cert.pem" +repos: + # This entry includes the repository where the config file is located + # to the bblayers.conf: + # Here we include a list of layers from the poky repository to the + # bblayers.conf: + poky: + url: "https://git.yoctoproject.org/git/poky" + refspec: kirkstone + layers: + meta: + meta-poky: + meta-yocto-bsp: + meta-rauc-community: + url: "https://github.com/rauc/meta-rauc-community.git" + refspec: kirkstone + layers: + meta-rauc-raspberrypi: + meta-rauc: + url: "https://github.com/rauc/meta-rauc.git" + refspec: kirkstone + meta-virtualization: + url: "https://git.yoctoproject.org/meta-virtualization" + refspec: kirkstone + meta-openembedded: + url: "https://git.openembedded.org/meta-openembedded" + refspec: kirkstone + layers: + meta-oe: + meta-filesystems: + meta-python: + meta-networking: + meta-raspberrypi: + url: "https://git.yoctoproject.org/meta-raspberrypi" + refspec: kirkstone + meta-leda: + path: ./ + layers: + meta-leda-bsp: + meta-leda-components: + meta-leda-distro: diff --git a/meta-leda-distro/recipes-sdv-distro/growdisk/sdv-raspberry-growdisk_0.1.bb b/meta-leda-distro/recipes-sdv-distro/growdisk/sdv-raspberry-growdisk_0.1.bb index 7edfba6d..81351ddc 100644 --- a/meta-leda-distro/recipes-sdv-distro/growdisk/sdv-raspberry-growdisk_0.1.bb +++ b/meta-leda-distro/recipes-sdv-distro/growdisk/sdv-raspberry-growdisk_0.1.bb @@ -22,7 +22,7 @@ SRC_URI = " \ file://raspberry-growdisk/ \ " -LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" +LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE;md5=d9fc0efef5228704e7f5b37f27192723" NATIVE_SYSTEMD_SUPPORT = "1" SYSTEMD_PACKAGES = "${PN}"