meta: remove S in recipes that fetch from git via setting BB_GIT_DEFAULT_DESTSUFFIX

Removing all the S = ${WORKDIR}/git assignments works because BB_GIT_DEFAULT_DESTSUFFIX
is set to match S from bitbake.conf (which itself is set to match typical tarball
releases).

A few recipes are setting S to a sub-directory of the git tree and need
to be adjusted accordingly.

bzip2 recipe is fetching a tarball and separately cloning tests;
adjust the recipe to put the latter into 'bzip2-tests', instead of 'git'.

devupstream.bbclass no longer needs to rewrite S, and is adjusted accordingly.

Adjust scripts/lib/recipetool/append.py to not hardcode 'git' as unpack
destination.

Adjust kernel-yocto.bbclass to use the git unpack variable instead
of hardcoding 'git' (there's also removal of repetition of
string constants and a correction of workdir/unpackdir mismatch in
one of the if-else branches).

Ensure build-appliance-image recipe does not use 'git' as checkout directory for
poky repo, but rather explicitly name it 'poky'.

Ensure reproducible.py code that looks for git repositories does not
hardcode 'git' but uses the destination set by BB_GIT_DEFAULT_DESTSUFFIX.

Ensure recipetool does not write out unneeded S settings into newly
created recipes that fetch from git.

Adjust selftest to not hardcode 'git' as unpack directory.

(From OE-Core rev: f80c07019ddadaf9c5fb890faabfda7920ecd15e)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Alexander Kanavin 2025-06-16 11:49:51 +02:00 committed by Richard Purdie
parent 724b86c08a
commit f59a7df3fe
200 changed files with 46 additions and 239 deletions

View File

@ -18,7 +18,6 @@ SRC_URI = "git://git.infradead.org/mtd-utils.git;branch=master \
file://0001-tests-Remove-unused-linux-fs.h-header-from-includes.patch \
"
S = "${WORKDIR}/git"
# xattr support creates an additional compile-time dependency on acl because
# the sys/acl.h header is needed. libacl is not needed and thus enabling xattr

View File

@ -12,7 +12,6 @@ SRC_URI = "git://git.yoctoproject.org/guessing-game.git;protocol=https;branch=ma
PV = "0.1.0"
SRCREV = "469c9e2230ca4fa9e391c94be6e697733e769500"
S = "${WORKDIR}/git"
inherit python_maturin cargo-update-recipe-crates

View File

@ -12,7 +12,6 @@ SRC_URI = "git://git.yoctoproject.org/guessing-game.git;protocol=https;branch=ma
PV = "0.2.0"
SRCREV = "40cf004c2772ffa20ea803fa3be1528a75be3e98"
S = "${WORKDIR}/git"
inherit python_maturin cargo-update-recipe-crates

View File

@ -8,7 +8,6 @@ SRC_URI = " \
"
SRCREV = "fc53c457f69aa5221ec1f8619a007e8150db5e60"
S = "${WORKDIR}/git"
DEPENDS = "rust-c-lib-example"

View File

@ -8,7 +8,6 @@ SRC_URI = " \
"
SRCREV = "fc53c457f69aa5221ec1f8619a007e8150db5e60"
S = "${WORKDIR}/git"
inherit cargo_c

View File

@ -23,7 +23,7 @@ JIT:powerpc64 = ""
RDEPENDS:${PN} = "bash"
SRC_URI = "git://github.com/draios/sysdig.git;branch=dev;protocol=https;name=sysdig \
git://github.com/falcosecurity/libs;protocol=https;branch=master;name=falco;subdir=git/falcosecurity-libs \
git://github.com/falcosecurity/libs;protocol=https;branch=master;name=falco;subdir=${BB_GIT_DEFAULT_DESTSUFFIX}/falcosecurity-libs \
file://0055-Add-cstdint-for-uintXX_t-types.patch;patchdir=./falcosecurity-libs \
file://0099-cmake-Pass-PROBE_NAME-via-CFLAGS.patch \
"
@ -32,7 +32,6 @@ SRCREV_falco = "caa0e4d0044fdaaebab086592a97f0c7f32aeaa9"
SRCREV_FORMAT = "sysdig_falco"
S = "${WORKDIR}/git"
EXTRA_OECMAKE = "\
-DBUILD_DRIVER=OFF \

View File

@ -15,7 +15,6 @@ SRC_URI = "git://git.yoctoproject.org/dbus-wait;branch=master"
UPSTREAM_CHECK_COMMITS = "1"
RECIPE_NO_UPDATE_REASON = "This recipe is used to test devtool upgrade feature"
S = "${WORKDIR}/git"
EXCLUDE_FROM_WORLD = "1"

View File

@ -14,7 +14,6 @@ SRC_URI = "git://git.yoctoproject.org/dbus-wait;branch=master"
UPSTREAM_CHECK_COMMITS = "1"
RECIPE_NO_UPDATE_REASON = "This recipe is used to test devtool upgrade feature"
S = "${WORKDIR}/git"
EXCLUDE_FROM_WORLD = "1"

View File

@ -10,7 +10,6 @@ UPSTREAM_VERSION_UNKNOWN = "1"
SRC_URI = "gitsm://git.yoctoproject.org/git-submodule-test;branch=master"
SRCREV = "a2885dd7d25380d23627e7544b7bbb55014b16ee"
S = "${WORKDIR}/git"
do_test_git_as_user() {
cd ${S}

View File

@ -13,4 +13,3 @@ SRC_URI = "git://git.yoctoproject.org/git/matchbox-panel-2;branch=master;protoco
SRCREV = "f82ca3f42510fb3ef10f598b393eb373a2c34ca7"
S = "${WORKDIR}/git"

View File

@ -13,4 +13,3 @@ SRC_URI:append:gitunpack-enable-recipe = ";tag=${TAGVALUE}"
SRCREV = "f82ca3f42510fb3ef10f598b393eb373a2c34ca7"
SRCREV:gitunpack-enable-recipe = ""
S = "${WORKDIR}/git"

View File

@ -13,9 +13,6 @@
# SRC_URI:class-devupstream = "git://git.example.com/example;branch=master"
# SRCREV:class-devupstream = "abcdef"
#
# If the first entry in SRC_URI is a git: URL then S is rewritten to
# WORKDIR/git.
#
# There are a few caveats that remain to be solved:
# - You can't build native or nativesdk recipes using for example
# devupstream:native, you can only build target recipes.
@ -39,9 +36,6 @@ python devupstream_virtclass_handler () {
src_uri = d.getVar("SRC_URI:class-devupstream") or d.getVar("SRC_URI")
uri = bb.fetch2.URI(src_uri.split()[0])
if uri.scheme == "git" and not d.getVar("S:class-devupstream"):
d.setVar("S", "${WORKDIR}/git")
# Modify the PV if the recipe hasn't already overridden it
pv = d.getVar("PV")
proto_marker = "+" + uri.scheme

View File

@ -388,19 +388,19 @@ do_kernel_checkout() {
set +e
source_dir=`echo ${S} | sed 's%/$%%'`
source_workdir="${UNPACKDIR}/git"
if [ -d "${UNPACKDIR}/git/" ]; then
source_unpackdir="${UNPACKDIR}/${BB_GIT_DEFAULT_DESTSUFFIX}"
if [ -d "${source_unpackdir}" ]; then
# case: git repository
# if S is WORKDIR/git, then we shouldn't be moving or deleting the tree.
if [ "${source_dir}" != "${source_workdir}" ]; then
if [ -d "${source_workdir}/.git" ]; then
# if S is UNPACKDIR/BB_GIT_DEFAULT_DESTSUFFIX, then we shouldn't be moving or deleting the tree.
if [ "${source_dir}" != "${source_unpackdir}" ]; then
if [ -d "${source_unpackdir}/.git" ]; then
# regular git repository with .git
rm -rf ${S}
mv ${UNPACKDIR}/git ${S}
mv ${source_unpackdir} ${S}
else
# create source for bare cloned git repository
git clone ${WORKDIR}/git ${S}
rm -rf ${UNPACKDIR}/git
git clone ${source_unpackdir} ${S}
rm -rf ${source_unpackdir}
fi
fi
cd ${S}

View File

@ -408,6 +408,7 @@ STAMPCLEAN = "${STAMPS_DIR}/${MULTIMACH_TARGET_SYS}/${PN}/*-*"
BASE_WORKDIR ?= "${TMPDIR}/work"
WORKDIR = "${BASE_WORKDIR}/${MULTIMACH_TARGET_SYS}/${PN}/${PV}"
UNPACKDIR ??= "${WORKDIR}/sources-unpack"
BB_GIT_DEFAULT_DESTSUFFIX = "${BP}"
T = "${WORKDIR}/temp"
D = "${WORKDIR}/image"
S = "${WORKDIR}/${BP}"

View File

@ -75,10 +75,11 @@ def get_source_date_epoch_from_known_files(d, sourcedir):
return source_date_epoch
def find_git_folder(d, sourcedir):
# First guess: UNPACKDIR/git
# First guess: UNPACKDIR/BB_GIT_DEFAULT_DESTSUFFIX
# This is the default git fetcher unpack path
unpackdir = d.getVar('UNPACKDIR')
gitpath = os.path.join(unpackdir, "git/.git")
default_destsuffix = d.getVar('BB_GIT_DEFAULT_DESTSUFFIX')
gitpath = os.path.join(unpackdir, default_destsuffix, ".git")
if os.path.isdir(gitpath):
return gitpath

View File

@ -469,7 +469,7 @@ class DevtoolAddTests(DevtoolBase):
checkvars = {}
checkvars['LICENSE'] = 'GPL-2.0-only'
checkvars['LIC_FILES_CHKSUM'] = 'file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263'
checkvars['S'] = '${WORKDIR}/git'
checkvars['S'] = None
checkvars['PV'] = '0.1+git'
checkvars['SRC_URI'] = 'git://git.yoctoproject.org/git/dbus-wait;protocol=https;branch=master'
checkvars['SRCREV'] = srcrev
@ -609,7 +609,7 @@ class DevtoolAddTests(DevtoolBase):
recipefile = get_bb_var('FILE', testrecipe)
self.assertIn('_git.bb', recipefile, 'Recipe file incorrectly named')
checkvars = {}
checkvars['S'] = '${WORKDIR}/git'
checkvars['S'] = None
checkvars['PV'] = '1.0+git'
checkvars['SRC_URI'] = url_branch
checkvars['SRCREV'] = '${AUTOREV}'
@ -628,7 +628,7 @@ class DevtoolAddTests(DevtoolBase):
recipefile = get_bb_var('FILE', testrecipe)
self.assertIn('_git.bb', recipefile, 'Recipe file incorrectly named')
checkvars = {}
checkvars['S'] = '${WORKDIR}/git'
checkvars['S'] = None
checkvars['PV'] = '1.5+git'
checkvars['SRC_URI'] = url_branch
checkvars['SRCREV'] = checkrev
@ -1627,9 +1627,9 @@ class DevtoolUpdateTests(DevtoolBase):
# Check preconditions
testrecipe = 'dos2unix'
self.append_config('ERROR_QA:remove:pn-dos2unix = "patch-status"\n')
bb_vars = get_bb_vars(['SRC_URI', 'S', 'WORKDIR', 'FILE'], testrecipe)
bb_vars = get_bb_vars(['SRC_URI', 'S', 'WORKDIR', 'FILE', 'BB_GIT_DEFAULT_DESTSUFFIX'], testrecipe)
self.assertIn('git://', bb_vars['SRC_URI'], 'This test expects the %s recipe to be a git recipe' % testrecipe)
workdir_git = '%s/git/' % bb_vars['WORKDIR']
workdir_git = '%s/%s/' % (bb_vars['WORKDIR'], bb_vars['BB_GIT_DEFAULT_DESTSUFFIX'])
if not bb_vars['S'].startswith(workdir_git):
self.fail('This test expects the %s recipe to be building from a subdirectory of the git repo' % testrecipe)
subdir = bb_vars['S'].split(workdir_git, 1)[1]

View File

@ -385,7 +385,7 @@ class RecipetoolCreateTests(RecipetoolBase):
checkvars = {}
checkvars['LICENSE'] = 'LGPL-2.1-only'
checkvars['LIC_FILES_CHKSUM'] = 'file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34'
checkvars['S'] = '${WORKDIR}/git'
checkvars['S'] = None
checkvars['PV'] = '1.11+git'
checkvars['SRC_URI'] = srcuri + ';branch=master'
checkvars['DEPENDS'] = set(['libcheck', 'libjpeg-turbo', 'libpng', 'libx11', 'libxext', 'pango'])

View File

@ -13,7 +13,6 @@ COMPATIBLE_HOST = "(i.86|x86_64|arm|aarch64).*-linux"
SRC_URI = "git://github.com/rhinstaller/efibootmgr.git;protocol=https;branch=main"
SRCREV = "c3f9f0534e32158f62c43564036878b93b9e0fd6"
S = "${WORKDIR}/git"
inherit pkgconfig

View File

@ -12,7 +12,6 @@ SRC_URI = "git://github.com/rhinstaller/efivar.git;branch=main;protocol=https \
"
SRCREV = "c47820c37ac26286559ec004de07d48d05f3308c"
S = "${WORKDIR}/git"
inherit pkgconfig

View File

@ -20,7 +20,6 @@ SRC_URI = "git://github.com/ncroxon/gnu-efi;protocol=https;branch=master \
"
SRCREV = "00cdfa66e923ab2f6683bb52cab0d0d1a9083b16"
S = "${WORKDIR}/git"
# llvm-objcopy fails
# arm-poky-linux-gnueabi-llvm-objcopy: error: 't8.so': section '.dynstr' cannot be removed because it is referenced by the section '.dynamic'

View File

@ -12,7 +12,6 @@ SRCREV = "bd613dd92113f683052acfb23d9dc8ba60029e0a"
SRC_URI = "git://github.com/riscv/opensbi.git;branch=master;protocol=https \
file://0001-Makefile-Add-flag-for-reprodubility-compiler-flags.patch \
"
S = "${WORKDIR}/git"
TARGET_DBGSRC_DIR = "/share/opensbi/*/generic/firmware/"

View File

@ -13,7 +13,6 @@ SECTION = "libs"
SRC_URI = "git://github.com/sbabic/libubootenv;protocol=https;branch=master"
SRCREV = "5507339628b5caf244e1ff9d58cb3fa534b16beb"
S = "${WORKDIR}/git"
inherit cmake lib_package

View File

@ -16,7 +16,6 @@ SRCREV = "34820924edbc4ec7803eb89d9852f4b870fa760a"
SRC_URI = "git://source.denx.de/u-boot/u-boot.git;protocol=https;branch=master;tag=v${PV}"
S = "${WORKDIR}/git"
B = "${WORKDIR}/build"
inherit pkgconfig

View File

@ -13,7 +13,6 @@ SRC_URI = "git://github.com/lathiat/nss-mdns;branch=master;protocol=https \
SRCREV = "4b3cfe818bf72d99a02b8ca8b8813cb2d6b40633"
S = "${WORKDIR}/git"
inherit autotools pkgconfig

View File

@ -18,7 +18,6 @@ SRC_URI = "git://github.com/connectivity/connman-gnome.git;branch=master;protoco
file://0001-Port-to-Gtk3.patch \
"
S = "${WORKDIR}/git"
inherit autotools-brokensep gtk-icon-cache pkgconfig features_check
ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"

View File

@ -18,7 +18,6 @@ SRC_URI = "git://github.com/NetworkConfiguration/dhcpcd;protocol=https;branch=ma
"
SRCREV = "93df2b254caf9639f9ffb66e0fe2b584eeba6220"
S = "${WORKDIR}/git"
# Doesn't use automake so we can't do out-of-tree builds
inherit pkgconfig autotools-brokensep systemd useradd

View File

@ -10,7 +10,6 @@ SRCREV = "5152db2cbfeb5582e9c27c5ea1dba2cd9e10759b"
SRC_URI = "git://github.com/libuv/libuv.git;branch=v1.x;protocol=https;tag=v${PV}"
UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)"
S = "${WORKDIR}/git"
inherit autotools

View File

@ -10,8 +10,6 @@ PE = "1"
SRC_URI = "git://gitlab.gnome.org/GNOME/mobile-broadband-provider-info.git;protocol=https;branch=main"
SRCREV = "55ba955d53305df96123534488fd160ea882b4dd"
S = "${WORKDIR}/git"
inherit meson
DEPENDS += "libxslt-native"

View File

@ -17,7 +17,6 @@ SRC_URI = "git://git.kernel.org/pub/scm/network/nfc/neard.git;protocol=https;bra
SRCREV = "a1dc8a75cba999728e154a0f811ab9dd50c809f7"
S = "${WORKDIR}/git"
inherit autotools pkgconfig systemd update-rc.d

View File

@ -17,7 +17,6 @@ SRC_URI = "git://salsa.debian.org/debian/resolvconf.git;protocol=https;branch=un
SRCREV = "ab766fa31f7939f6d879123236b4275320b7ff64"
S = "${WORKDIR}/git"
# the package is taken from snapshots.debian.org; that source is static and goes stale
# so we check the latest upstream from a directory that does get updated

View File

@ -7,7 +7,6 @@ LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=bca0186b14e6b05e338e729f106db727"
SRC_URI = "git://gitlab.freedesktop.org/slirp/libslirp.git;protocol=https;branch=master"
SRCREV = "9c744e1e52aa0d9646ed91d789d588696292c21e"
S = "${WORKDIR}/git"
DEPENDS = "glib-2.0"

View File

@ -13,6 +13,5 @@ PV = "0.1+git"
SRC_URI = "git://git.yoctoproject.org/${BPN};branch=master;protocol=https"
UPSTREAM_CHECK_COMMITS = "1"
S = "${WORKDIR}/git"
inherit autotools pkgconfig

View File

@ -12,7 +12,6 @@ SRCREV = "0bde52df588e8969879a2cae51c3a4774ec62472"
SRC_URI = "git://github.com/pullmoll/musl-fts.git;branch=master;protocol=https"
S = "${WORKDIR}/git"
inherit autotools pkgconfig
#

View File

@ -20,7 +20,7 @@ inherit native
FILESEXTRAPATHS =. "${FILE_DIRNAME}/${PN}:${FILE_DIRNAME}/glibc:"
SRC_URI = "${GLIBC_GIT_URI};branch=${SRCBRANCH};name=glibc \
git://github.com/kraj/localedef;branch=master;name=localedef;destsuffix=git/localedef;protocol=https \
git://github.com/kraj/localedef;branch=master;name=localedef;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/localedef;protocol=https \
\
file://0001-localedef-Add-hardlink-resolver-from-util-linux.patch \
file://0002-localedef-fix-ups-hardlink-to-make-it-compile.patch \
@ -37,7 +37,6 @@ SRC_URI = "${GLIBC_GIT_URI};branch=${SRCBRANCH};name=glibc \
#
SRCREV_FORMAT = "glibc_localedef"
S = "${WORKDIR}/git"
EXTRA_OECONF = "--with-glibc=${S}"

View File

@ -56,7 +56,6 @@ SRC_URI = "${GLIBC_GIT_URI};branch=${SRCBRANCH};name=glibc \
file://0001-stdlib-Add-single-threaded-fast-path-to-rand.patch \
file://0001-Propagate-ffile-prefix-map-from-CFLAGS-to-ASFLAGS.patch \
"
S = "${WORKDIR}/git"
B = "${WORKDIR}/build-${TARGET_SYS}"
PACKAGES_DYNAMIC = ""

View File

@ -18,7 +18,6 @@ SRC_URI = "git://salsa.debian.org/debian/ifupdown.git;protocol=https;branch=mast
"
SRCREV = "7d44f9ce6717a4a496fd46f28c52e12dbf5bafdd"
S = "${WORKDIR}/git"
inherit ptest update-alternatives

View File

@ -27,7 +27,7 @@ inherit core-image setuptools3 features_check
REQUIRED_DISTRO_FEATURES += "xattr"
SRCREV ?= "b1b3318eff36d4d9b2d3a935dee607c4f012f992"
SRC_URI = "git://git.yoctoproject.org/poky;branch=master \
SRC_URI = "git://git.yoctoproject.org/poky;branch=master;destsuffix=poky \
file://Yocto_Build_Appliance.vmx \
file://Yocto_Build_Appliance.vmxf \
file://README_VirtualBox_Guest_Additions.txt \
@ -44,10 +44,10 @@ IMAGE_CMD:ext4:append () {
fakeroot do_populate_poky_src () {
# Because fetch2's git's unpack uses -s cloneflag, the unpacked git repo
# will become invalid in the target.
rm -rf ${UNPACKDIR}/git/.git
rm -f ${UNPACKDIR}/git/.gitignore
rm -rf ${UNPACKDIR}/poky/.git
rm -f ${UNPACKDIR}/poky/.gitignore
cp -R ${UNPACKDIR}/git ${IMAGE_ROOTFS}/home/builder/poky
cp -R ${UNPACKDIR}/poky ${IMAGE_ROOTFS}/home/builder/poky
mkdir -p ${IMAGE_ROOTFS}/home/builder/poky/build/conf
mkdir -p ${IMAGE_ROOTFS}/home/builder/poky/build/downloads

View File

@ -20,7 +20,6 @@ SRCREV = "78486a4a2a305170b66ce4d907bedadbaed10daf"
SRC_URI = "git://salsa.debian.org/debian/init-system-helpers.git;protocol=https;branch=master"
UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(\d+(\.\d+)+))(?!_exp)"
S = "${WORKDIR}/git"
do_configure[noexec] = "1"
do_compile[noexec] = "1"

View File

@ -16,7 +16,6 @@ SRCBRANCH ?= "master"
PROVIDES = "virtual/crypt"
S = "${WORKDIR}/git"
BUILD_CPPFLAGS = "-I${STAGING_INCDIR_NATIVE}"
TARGET_CPPFLAGS = "-I${STAGING_DIR_TARGET}${includedir} -Wno-error"

View File

@ -16,7 +16,6 @@ SRC_URI:append:powerpc = "\
PV = "1.1.0"
SRCREV = "b7bfe0b08c52fdc72e0c1d9d4dcb2129f1642bd6"
S = "${WORKDIR}/git"
inherit pkgconfig linuxloader siteinfo

View File

@ -18,7 +18,6 @@ SRC_URI = " \
PV = "0+git"
S = "${WORKDIR}/git"
# libc-test 'make' or 'make run' command is designed to build and run tests. It
# reports both build and test failures. The commands should be run on target.

View File

@ -12,7 +12,6 @@ SRCREV = "a0323579ac50b9a9d4033754d089f1fed0f59a00"
SRC_URI = "git://github.com/kaniini/libucontext;branch=master;protocol=https \
"
S = "${WORKDIR}/git"
COMPATIBLE_HOST = ".*-musl.*"

View File

@ -12,7 +12,6 @@ SRC_URI = "git://git.adelielinux.org/adelie/musl-locales;protocol=https;branch=m
PV = "1.0+git"
SRCREV = "5663f5bfd30bf9e1e0ba3fc5fe2da6725969f30e"
S = "${WORKDIR}/git"
DEPENDS = "virtual/libintl gettext-native"

View File

@ -16,7 +16,6 @@ UPSTREAM_CHECK_COMMITS = "1"
inherit autotools pkgconfig
S = "${WORKDIR}/git"
COMPATIBLE_HOST = ".*-musl.*"

View File

@ -17,7 +17,6 @@ UPSTREAM_CHECK_COMMITS = "1"
inherit autotools
S = "${WORKDIR}/git"
PACKAGES =+ "${PN}-iconv"

View File

@ -16,7 +16,6 @@ SRC_URI = "git://git.musl-libc.org/musl;branch=master \
file://0001-Update-syscalls-for-r32-rv64-from-kernel-6.4-through.patch \
"
S = "${WORKDIR}/git"
PROVIDES += "virtual/libc virtual/libiconv virtual/libintl virtual/crypt"

View File

@ -7,7 +7,6 @@ SRC_URI += "file://0001-tic-hang.patch \
"
# commit id corresponds to the revision in package version
SRCREV = "1c55d64d9d3e00399a21f04e9cac1e472ab5f70a"
S = "${WORKDIR}/git"
EXTRA_OECONF += "--with-abi-version=5"
UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+_\d+)$"

View File

@ -22,7 +22,6 @@ SRCREV = "5e5e51f1dc56a99eb4648c28e00d73b6ea44a8b0"
INHIBIT_DEFAULT_DEPS = "1"
DEPENDS = "virtual/cross-cc"
S = "${WORKDIR}/git"
B = "${WORKDIR}/build"
## disable stdlib

View File

@ -55,7 +55,6 @@ inherit deploy
PARALLEL_MAKE = ""
S = "${WORKDIR}/git"
DEPENDS = "nasm-native acpica-native ovmf-native util-linux-native"

View File

@ -17,5 +17,4 @@ PV = "${BASEVER}+git"
SRC_URI = "git://github.com/picolibc/picolibc.git;protocol=https;branch=main"
SRCREV = "764ef4e401a8f4c6a86ab723533841f072885a5b"
S = "${WORKDIR}/git"
B = "${WORKDIR}/build"

View File

@ -62,7 +62,6 @@ python __anonymous() {
d.appendVar("RDEPENDS:%s" % pn, " %s" % ep)
}
S = "${WORKDIR}/git"
inherit autotools pkgconfig update-rc.d update-alternatives systemd

View File

@ -9,7 +9,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=715a99d2dd552e6188e74d4ed2914d5a"
SRC_URI = "git://git.sr.ht/~kennylevinsen/seatd;protocol=https;branch=master \
file://init"
SRCREV = "566ffeb032af42865dc1210e48cec08368059bb9"
S = "${WORKDIR}/git"
inherit meson pkgconfig systemd update-rc.d useradd

View File

@ -15,7 +15,6 @@ SRC_URI = "git://github.com/linux-ras/sysfsutils.git;protocol=https;branch=maste
SRCREV = "da2f1f8500c0af6663a56ce2bff07f67e60a92e0"
S = "${WORKDIR}/git"
inherit autotools

View File

@ -19,6 +19,5 @@ SRCREV = "00a12c234e2506f5cab683460199575f13c454db"
SRCBRANCH = "v257-stable"
SRC_URI = "git://github.com/systemd/systemd.git;protocol=https;branch=${SRCBRANCH};tag=v${PV}"
S = "${WORKDIR}/git"
CVE_PRODUCT = "systemd"

View File

@ -11,7 +11,6 @@ SRCREV = "793c037ded98cd001075cdb55a9c58e122380256"
CVE_PRODUCT = "s390-tools"
S = "${WORKDIR}/git"
EXTRA_OEMAKE = "\
V=1 \

View File

@ -12,7 +12,6 @@ PV .= "+git"
UPSTREAM_CHECK_COMMITS = "1"
S = "${WORKDIR}/git"
inherit allarch

View File

@ -8,7 +8,6 @@ inherit rust cargo cargo-update-recipe-crates
SRC_URI += "git://github.com/rust-lang/rust-bindgen.git;protocol=https;branch=main"
SRCREV = "af7fd38d5e80514406fb6a8bba2d407d252c30b9"
S = "${WORKDIR}/git"
require ${BPN}-crates.inc

View File

@ -44,4 +44,3 @@ SRC_URI = "\
file://0019-CVE-2025-5244.patch \
file://0019-CVE-2025-3198.patch \
"
S = "${WORKDIR}/git"

View File

@ -98,7 +98,6 @@ SRC_URI = "git://github.com/xrmx/bootchart.git;branch=master;protocol=https \
file://0002-Makefile-Add-n-to-gzip.patch \
"
S = "${WORKDIR}/git"
SRCREV = "868a2afab9da34f32c007d773b77253c93104636"

View File

@ -19,7 +19,6 @@ SRC_URI = "git://github.com/kdave/btrfs-progs.git;branch=master;protocol=https;t
file://0001-Add-a-possibility-to-specify-where-python-modules-ar.patch \
"
SRCREV = "5ad147c9ec00e657393c85b195c9bcc0f4c35a54"
S = "${WORKDIR}/git"
PACKAGECONFIG ??= " \
programs \

View File

@ -11,7 +11,6 @@ SRC_URI = "git://github.com/rpm-software-management/createrepo_c;branch=master;p
SRCREV = "8c6e6f88df86d1e34ca26d3835d77a2816326414"
S = "${WORKDIR}/git"
DEPENDS = "expat curl glib-2.0 libxml2 openssl bzip2 zlib file sqlite3 xz rpm"
DEPENDS:append:class-native = " file-replacement-native"

View File

@ -21,7 +21,6 @@ SRC_URI = "git://github.com/distcc/distcc.git;branch=master;protocol=https \
file://distcc.service \
"
SRCREV = "50d821efe99cae82c05be0a4ab3b4035ef0d3883"
S = "${WORKDIR}/git"
UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)"
inherit autotools pkgconfig update-rc.d useradd systemd

View File

@ -23,7 +23,6 @@ SRC_URI:append:class-native = " file://0001-dnf-write-the-log-lock-to-root.patch
SRCREV = "da9a7066be8e1628d9453428d33685225cd9c90d"
UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+)"
S = "${WORKDIR}/git"
inherit cmake gettext bash-completion setuptools3-base systemd

View File

@ -19,4 +19,3 @@ SRC_URI:append:class-native = " file://0001-build.c-ignore-return-of-1-from-tar-
SRCREV = "ee7e9118d0a9581cb00c5ce02dccd561b3096387"
S = "${WORKDIR}/git"

View File

@ -20,7 +20,6 @@ SECTION = "base"
DEPENDS = "util-linux attr autoconf-archive-native"
SRC_URI = "git://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git;branch=master;protocol=https"
S = "${WORKDIR}/git"
inherit autotools gettext texinfo pkgconfig multilib_header update-alternatives ptest

View File

@ -10,7 +10,6 @@ SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git;b
UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>(\d+(\.\d+)+))"
S = "${WORKDIR}/git"
DEPENDS = "util-linux-libuuid"

View File

@ -10,6 +10,5 @@ LIC_FILES_CHKSUM = " \
SRC_URI = "git://github.com/fastfloat/fast_float.git;protocol=https;branch=main"
SRCREV = "50a80a73ab2ab256ba1c3bf86923ddd8b4202bc7"
S = "${WORKDIR}/git"
inherit cmake

View File

@ -17,7 +17,6 @@ SRC_URI = "git://github.com/file/file.git;branch=master;protocol=https \
"
SRCREV = "c5aa4f7f8d5063fb3c37ad57bf54bb67ec641a09"
S = "${WORKDIR}/git"
inherit autotools update-alternatives

View File

@ -8,7 +8,6 @@ SRC_URI = "git://github.com/fmtlib/fmt;branch=master;protocol=https;tag=${PV}\
file://0001-Workaround-an-ABI-issue-in-spdlog.patch"
SRCREV = "40626af88bd7df9a5fb80be7b25ac85b122d6c21"
S = "${WORKDIR}/git"
inherit cmake

View File

@ -14,7 +14,6 @@ PV = "20240823+git"
SRC_URI = "git://git.savannah.gnu.org/git/config.git;protocol=https;branch=master \
file://gnu-configize.in"
S = "${WORKDIR}/git"
UPSTREAM_CHECK_COMMITS = "1"
CLEANBROKEN = "1"

View File

@ -10,7 +10,6 @@ SRC_URI = "git://github.com/rpm-software-management/libcomps.git;branch=master;p
SRCREV = "2e973ce22698dd64f472180e3a689755268fb06b"
S = "${WORKDIR}/git"
inherit cmake setuptools3-base

View File

@ -16,7 +16,6 @@ SRC_URI = "git://github.com/rpm-software-management/libdnf;branch=dnf-4-master;p
SRCREV = "91a0bf9aada36a722855051526f012e0b5ab1af9"
UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(?!4\.90)\d+(\.\d+)+)"
S = "${WORKDIR}/git"
DEPENDS = "glib-2.0 libsolv libcheck librepo rpm gtk-doc libmodulemd json-c swig-native util-linux"

View File

@ -8,7 +8,6 @@ SRC_URI = "git://github.com/fedora-modularity/libmodulemd;protocol=https;branch=
SRCREV = "e7f179eeeb6eee1403f090fc43a3c80bb08b5bfd"
S = "${WORKDIR}/git"
inherit meson gobject-introspection pkgconfig manpages

View File

@ -12,7 +12,6 @@ SRC_URI = "git://github.com/rpm-software-management/librepo.git;branch=master;pr
SRCREV = "7955987e33ba98dddb3fc2c63bb6dc892e3505fa"
S = "${WORKDIR}/git"
DEPENDS = "curl glib-2.0 openssl attr gpgme libxml2"

View File

@ -15,7 +15,6 @@ UPSTREAM_CHECK_COMMITS = "1"
DEPENDS = "python3-sphinx-native"
EXTRA_OEMAKE = "C="
S = "${WORKDIR}/git"
CFLAGS:append:powerpc64 = " -D__SANE_USERSPACE_TYPES__"
CFLAGS:append:mipsarchn64 = " -D__SANE_USERSPACE_TYPES__"

View File

@ -19,7 +19,6 @@ SRC_URI = "git://git.infradead.org/mtd-utils.git;branch=master \
file://0004-ubifs-utils-extract_files-Include-linux-limits.h.patch \
file://0001-Improve-check-for-GCC-compiler-version.patch"
S = "${WORKDIR}/git"
# xattr support creates an additional compile-time dependency on acl because
# the sys/acl.h header is needed. libacl is not needed and thus enabling xattr

View File

@ -11,7 +11,6 @@ SRCREV = "2daa09ba270b0a43e1929d29b073348aa985dfaa"
SRC_URI = "git://github.com/ninja-build/ninja.git;branch=release;protocol=https"
UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>.*)"
S = "${WORKDIR}/git"
do_configure[noexec] = "1"

View File

@ -12,7 +12,6 @@ SRC_URI = "git://git.yoctoproject.org/opkg-utils;protocol=https;branch=master \
"
SRCREV = "68a969f0e867ace0d94faf8ebe7c7bb67f59d386"
S = "${WORKDIR}/git"
TARGET_CC_ARCH += "${LDFLAGS}"

View File

@ -11,7 +11,6 @@ SRC_URI = "git://github.com/NixOS/patchelf;protocol=https;branch=master \
"
SRCREV = "99c24238981b7b1084313aca8f5c493bb46f302c"
S = "${WORKDIR}/git"
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"

View File

@ -18,7 +18,6 @@ SRC_URI = "git://gitlab.freedesktop.org/pkg-config/pkg-config.git;branch=master;
file://0001-Do-not-use-bool-as-a-field-name.patch \
"
S = "${WORKDIR}/git"
inherit autotools

View File

@ -5,15 +5,14 @@ SRC_URI = "git://git.yoctoproject.org/pseudo;branch=master;protocol=https \
file://fallback-group \
"
SRC_URI:append:class-native = " \
http://downloads.yoctoproject.org/mirror/sources/pseudo-prebuilt-2.33.tar.xz;subdir=git/prebuilt;name=prebuilt \
http://downloads.yoctoproject.org/mirror/sources/pseudo-prebuilt-2.33.tar.xz;subdir=${BB_GIT_DEFAULT_DESTSUFFIX}/prebuilt;name=prebuilt \
file://older-glibc-symbols.patch"
SRC_URI:append:class-nativesdk = " \
http://downloads.yoctoproject.org/mirror/sources/pseudo-prebuilt-2.33.tar.xz;subdir=git/prebuilt;name=prebuilt \
http://downloads.yoctoproject.org/mirror/sources/pseudo-prebuilt-2.33.tar.xz;subdir=${BB_GIT_DEFAULT_DESTSUFFIX}/prebuilt;name=prebuilt \
file://older-glibc-symbols.patch"
SRC_URI[prebuilt.sha256sum] = "ed9f456856e9d86359f169f46a70ad7be4190d6040282b84c8d97b99072485aa"
SRCREV = "2c43381180f9cfef4c0a8bb0c1658a86c3fcc876"
S = "${WORKDIR}/git"
PV = "1.9.0+git"
# largefile and 64bit time_t support adds these macros via compiler flags globally

View File

@ -8,7 +8,6 @@ SRCREV = "3b74bdce35f2814eb2b65db39a133d5c849ddea7"
inherit python_setuptools_build_meta ptest-python-pytest
S = "${WORKDIR}/git"
RDEPENDS:${PN}-ptest += " \
python3-pretend \

View File

@ -15,7 +15,6 @@ LIC_FILES_CHKSUM = "file://pylibfdt/libfdt.i;beginline=1;endline=6;md5=afda088c9
SRCREV = "2d10aa2afe35527728db30b35ec491ecb6959e5c"
S = "${WORKDIR}/git"
PYPA_WHEEL = "${S}/dist/libfdt-1.6.2*.whl"

View File

@ -8,7 +8,6 @@ inherit setuptools3 ptest-python-pytest
SRCREV = "4b3b1e2e568a88d4f1897d694d684f23d9e270c4"
SRC_URI = "git://github.com/erocarrera/pefile;branch=master;protocol=https \
file://run-ptest"
S = "${WORKDIR}/git"
BBCLASSEXTEND = "native nativesdk"

View File

@ -8,7 +8,6 @@ SRC_URI = "git://gitlab.com/rossburton/python-unittest-automake-output;protocol=
SRCREV = "aebdfb188e368c690ea55cf6c9c9ffa1a52def65"
S = "${WORKDIR}/git"
inherit python_flit_core

View File

@ -15,7 +15,6 @@ SRCREV = "b262d0e4619c406a2708856ed312091d21c5bf39"
MIRRORS += "git://gerrit.googlesource.com/git-repo.git git://github.com/GerritCodeReview/git-repo.git"
S = "${WORKDIR}/git"
do_configure:prepend() {
sed -Ei "s/REPO_REV\s*=\s*('|\")stable('|\")/REPO_REV = '${SRCREV}'/g" ${S}/repo

View File

@ -16,7 +16,6 @@ SRC_URI = " \
SRCREV = "032b418a6db842f0eab330eb5909e4604e888728"
UPSTREAM_CHECK_COMMITS = "1"
S = "${UNPACKDIR}/git"
do_compile () {
# Remove most policy variants, leave DEFAULT.pol

View File

@ -19,7 +19,6 @@ SRC_URI = "git://github.com/rpm-software-management/rpm-sequoia.git;protocol=htt
SRCREV = "0667e04ae7fb8cf0490919978d69883d16400e41"
S = "${UNPACKDIR}/git"
require ${BPN}-crates.inc

View File

@ -44,7 +44,6 @@ SRC_URI = "git://github.com/rpm-software-management/rpm;branch=rpm-4.20.x;protoc
PE = "1"
SRCREV = "c8dc5ea575a2e9c1488036d12f4b75f6a5a49120"
S = "${WORKDIR}/git"
DEPENDS = "lua libgcrypt file popt xz bzip2 elfutils python3 sqlite3 zstd"
DEPENDS:append:class-native = " file-replacement-native bzip2-replacement-native"

View File

@ -12,7 +12,6 @@ SRCREV = "2e87d42ed089dc31990d83eeb07437b9d085d6d1"
UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(\d+(\.\d+)+))"
S = "${WORKDIR}/git"
EXTRA_OEMAKE = "${PACKAGECONFIG_CONFARGS}"

View File

@ -24,7 +24,6 @@ SRC_URI:append:libc-musl = " \
SRCREV = "8ab9680a1bd5eb8fe7a7dcc44897af7ee41e56e7"
S = "${WORKDIR}/git"
DEPENDS = "systemd libxslt-native xmlto-native docbook-xml-dtd4-native docbook-xsl-stylesheets-native intltool"

View File

@ -18,7 +18,7 @@ SRC_URI = "git://gitlab.eclipse.org/eclipse/tcf/tcf.agent.git;protocol=https;bra
DEPENDS = "util-linux openssl"
RDEPENDS:${PN} = "bash"
S = "${WORKDIR}/git/agent"
S = "${UNPACKDIR}/${BP}/agent"
inherit update-rc.d systemd

View File

@ -9,7 +9,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=c1c621cd2786a3a1344a60a0d608c910"
DEPENDS = "bison-native flex-native libtirpc"
S = "${WORKDIR}/git"
SRC_URI = "git://github.com/unfs3/unfs3.git;protocol=https;branch=master;tag=${BP}"
SRCREV = "ec1660ba33c80d5c67131e163e68834c1a10e243"
UPSTREAM_CHECK_GITTAGREGEX = "unfs3\-(?P<pver>\d+(\.\d+)+)"

View File

@ -8,7 +8,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552"
SRCREV = "74862a684907ada3d4ed2ce0f8111adf626e1456"
SRC_URI = "git://pagure.io/xmlto.git;protocol=https;branch=master"
S = "${WORKDIR}/git"
inherit autotools

View File

@ -19,7 +19,6 @@ DEPENDS = "m4-native flex-native bison-native"
SRC_URI = "git://github.com/acpica/acpica;protocol=https;branch=master"
SRCREV = "e80cbd7b52de20aa8c75bfba9845e9cb61f2e681"
S = "${WORKDIR}/git"
inherit update-alternatives

View File

@ -14,7 +14,6 @@ SRCREV = "21e33efe96ba9a51d99d1150691dae750afd6ed1"
DEPENDS = "libxml2-native libxslt-native docbook-xml-dtd4-native docbook-xsl-stylesheets-native"
S = "${WORKDIR}/git"
# Tell xmllint where to find the DocBook XML catalogue, because right now it
# opens /etc/xml/catalog on the host. Depends on auto-catalogs.patch

View File

@ -10,7 +10,6 @@ PV = "0.1+git"
SRC_URI = "git://github.com/ahcbb6/baremetal-helloqemu.git;protocol=https;branch=master"
UPSTREAM_VERSION_UNKNOWN = "1"
S = "${WORKDIR}/git"
# The following variables should be set to accomodate each application
BAREMETAL_BINNAME ?= "hello_baremetal_${MACHINE}"

View File

@ -14,15 +14,15 @@ LICENSE:libbz2 = "bzip2-1.0.6"
LICENSE:${PN}-ptest = "bzip2-1.0.6 & GPL-3.0-or-later & Apache-2.0 & MS-PL & BSD-3-Clause & Zlib"
LIC_FILES_CHKSUM = "file://LICENSE;beginline=4;endline=37;md5=600af43c50f1fcb82e32f19b32df4664 \
file://${UNPACKDIR}/git/commons-compress/LICENSE.txt;md5=86d3f3a95c324c9479bd8986968f4327 \
file://${UNPACKDIR}/git/dotnetzip/License.txt;md5=9cb56871eed4e748c3bc7e8ff352a54f \
file://${UNPACKDIR}/git/dotnetzip/License.zlib.txt;md5=cc421ccd22eeb2e5db6b79e6de0a029f \
file://${UNPACKDIR}/git/go/LICENSE;md5=5d4950ecb7b26d2c5e4e7b4e0dd74707 \
file://${UNPACKDIR}/git/lbzip2/COPYING;md5=d32239bcb673463ab874e80d47fae504 \
file://${UNPACKDIR}/bzip2-tests/commons-compress/LICENSE.txt;md5=86d3f3a95c324c9479bd8986968f4327 \
file://${UNPACKDIR}/bzip2-tests/dotnetzip/License.txt;md5=9cb56871eed4e748c3bc7e8ff352a54f \
file://${UNPACKDIR}/bzip2-tests/dotnetzip/License.zlib.txt;md5=cc421ccd22eeb2e5db6b79e6de0a029f \
file://${UNPACKDIR}/bzip2-tests/go/LICENSE;md5=5d4950ecb7b26d2c5e4e7b4e0dd74707 \
file://${UNPACKDIR}/bzip2-tests/lbzip2/COPYING;md5=d32239bcb673463ab874e80d47fae504 \
"
SRC_URI = "https://sourceware.org/pub/${BPN}/${BPN}-${PV}.tar.gz \
git://sourceware.org/git/bzip2-tests.git;name=bzip2-tests;branch=master;protocol=https \
git://sourceware.org/git/bzip2-tests.git;name=bzip2-tests;branch=master;protocol=https;destsuffix=bzip2-tests/ \
file://configure.ac;subdir=${BP} \
file://Makefile.am;subdir=${BP} \
file://run-ptest \
@ -52,13 +52,13 @@ do_configure:prepend () {
do_install_ptest () {
install -d ${D}${PTEST_PATH}/bzip2-tests
cp -r ${UNPACKDIR}/git/commons-compress ${D}${PTEST_PATH}/bzip2-tests/commons-compress
cp -r ${UNPACKDIR}/git/dotnetzip ${D}${PTEST_PATH}/bzip2-tests/dotnetzip
cp -r ${UNPACKDIR}/git/go ${D}${PTEST_PATH}/bzip2-tests/go
cp -r ${UNPACKDIR}/git/lbzip2 ${D}${PTEST_PATH}/bzip2-tests/lbzip2
cp -r ${UNPACKDIR}/git/pyflate ${D}${PTEST_PATH}/bzip2-tests/pyflate
cp ${UNPACKDIR}/git/README ${D}${PTEST_PATH}/bzip2-tests/
cp ${UNPACKDIR}/git/run-tests.sh ${D}${PTEST_PATH}/bzip2-tests/
cp -r ${UNPACKDIR}/bzip2-tests/commons-compress ${D}${PTEST_PATH}/bzip2-tests/commons-compress
cp -r ${UNPACKDIR}/bzip2-tests/dotnetzip ${D}${PTEST_PATH}/bzip2-tests/dotnetzip
cp -r ${UNPACKDIR}/bzip2-tests/go ${D}${PTEST_PATH}/bzip2-tests/go
cp -r ${UNPACKDIR}/bzip2-tests/lbzip2 ${D}${PTEST_PATH}/bzip2-tests/lbzip2
cp -r ${UNPACKDIR}/bzip2-tests/pyflate ${D}${PTEST_PATH}/bzip2-tests/pyflate
cp ${UNPACKDIR}/bzip2-tests/README ${D}${PTEST_PATH}/bzip2-tests/
cp ${UNPACKDIR}/bzip2-tests/run-tests.sh ${D}${PTEST_PATH}/bzip2-tests/
sed -i -e "s|^Makefile:|_Makefile:|" ${D}${PTEST_PATH}/Makefile
}

View File

@ -13,7 +13,7 @@ SRC_URI = "git://github.com/cracklib/cracklib;protocol=https;branch=main \
"
SRCREV = "e73d5db1789d198b5f9ec44b68b9c775c3e6c042"
S = "${WORKDIR}/git/src"
S = "${UNPACKDIR}/${BP}/src"
inherit autotools gettext

View File

@ -12,7 +12,6 @@ SRC_URI = "git://github.com/iputils/iputils;branch=master;protocol=https \
"
SRCREV = "6e1cb146547eb6fbb127ffc8397a9241be0d33c2"
S = "${WORKDIR}/git"
UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>20\d+)"

Some files were not shown because too many files have changed in this diff Show More