From 6894f5424a2ce1c5b1d5ce5a4cdd5cf01653d877 Mon Sep 17 00:00:00 2001 From: Kevin Wang Date: Mon, 16 Mar 2026 07:11:45 +0000 Subject: [PATCH] recipes: use nobranch=1 for upstream git sources Replace branch= with nobranch=1 in OVMF and ZFS recipes since SRCREV is already pinned to specific commits. This makes fetching more robust against upstream branch rebases or renames. --- meta-dstack/recipes-core/dstack-ovmf/dstack-ovmf_git.bb | 2 +- meta-dstack/recipes-core/dstack-zfs/dstack-zfs_2.2.5.bb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-dstack/recipes-core/dstack-ovmf/dstack-ovmf_git.bb b/meta-dstack/recipes-core/dstack-ovmf/dstack-ovmf_git.bb index 96fcda3..6ed53e7 100644 --- a/meta-dstack/recipes-core/dstack-ovmf/dstack-ovmf_git.bb +++ b/meta-dstack/recipes-core/dstack-ovmf/dstack-ovmf_git.bb @@ -19,7 +19,7 @@ PACKAGECONFIG[tpm] = "-D TPM_ENABLE=TRUE,-D TPM_ENABLE=FALSE,," #see https://src.fedoraproject.org/rpms/edk2/blob/rawhide/f/0032-Basetools-turn-off-gcc12-warning.patch BUILD_CFLAGS += "-Wno-error=stringop-overflow" -SRC_URI = "gitsm://github.com/tianocore/edk2.git;branch=master;protocol=https \ +SRC_URI = "gitsm://github.com/tianocore/edk2.git;nobranch=1;protocol=https \ file://0001-Update-path-to-native-BaseTools.patch \ file://0002-BaseTools-makefile-adjust-to-build-in-under-bitbake.patch \ file://0003-Debug-prefix-map.patch \ diff --git a/meta-dstack/recipes-core/dstack-zfs/dstack-zfs_2.2.5.bb b/meta-dstack/recipes-core/dstack-zfs/dstack-zfs_2.2.5.bb index 1d4e512..91b4d29 100644 --- a/meta-dstack/recipes-core/dstack-zfs/dstack-zfs_2.2.5.bb +++ b/meta-dstack/recipes-core/dstack-zfs/dstack-zfs_2.2.5.bb @@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=7087caaf1dc8a2856585619f4a787faa" HOMEPAGE ="https://github.com/openzfs/zfs" SRCREV = "33174af15112ed5c53299da2d28e763b0163f428" -SRC_URI = "git://github.com/openzfs/zfs;protocol=https;branch=zfs-2.2-release \ +SRC_URI = "git://github.com/openzfs/zfs;protocol=https;nobranch=1 \ file://0001-Define-strndupa-if-it-does-not-exist.patch \ file://aaf28a4630af60496c9d33db1d06a7d7d8983422.patch \ file://0001-fs-tests-cmd-readmmap-Replace-uint_t-with-uint32_t.patch \