Skip to content

Commit 6894f54

Browse files
committed
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.
1 parent 889d1df commit 6894f54

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

meta-dstack/recipes-core/dstack-ovmf/dstack-ovmf_git.bb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ PACKAGECONFIG[tpm] = "-D TPM_ENABLE=TRUE,-D TPM_ENABLE=FALSE,,"
1919
#see https://src.fedoraproject.org/rpms/edk2/blob/rawhide/f/0032-Basetools-turn-off-gcc12-warning.patch
2020
BUILD_CFLAGS += "-Wno-error=stringop-overflow"
2121

22-
SRC_URI = "gitsm://github.com/tianocore/edk2.git;branch=master;protocol=https \
22+
SRC_URI = "gitsm://github.com/tianocore/edk2.git;nobranch=1;protocol=https \
2323
file://0001-Update-path-to-native-BaseTools.patch \
2424
file://0002-BaseTools-makefile-adjust-to-build-in-under-bitbake.patch \
2525
file://0003-Debug-prefix-map.patch \

meta-dstack/recipes-core/dstack-zfs/dstack-zfs_2.2.5.bb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=7087caaf1dc8a2856585619f4a787faa"
55
HOMEPAGE ="https://github.com/openzfs/zfs"
66

77
SRCREV = "33174af15112ed5c53299da2d28e763b0163f428"
8-
SRC_URI = "git://github.com/openzfs/zfs;protocol=https;branch=zfs-2.2-release \
8+
SRC_URI = "git://github.com/openzfs/zfs;protocol=https;nobranch=1 \
99
file://0001-Define-strndupa-if-it-does-not-exist.patch \
1010
file://aaf28a4630af60496c9d33db1d06a7d7d8983422.patch \
1111
file://0001-fs-tests-cmd-readmmap-Replace-uint_t-with-uint32_t.patch \

0 commit comments

Comments
 (0)