@@ -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
@@ -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
@@ -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
@@ -8,7 +8,6 @@ SRC_URI = " \
"
SRCREV = "fc53c457f69aa5221ec1f8619a007e8150db5e60"
-S = "${WORKDIR}/git"
DEPENDS = "rust-c-lib-example"
@@ -8,7 +8,6 @@ SRC_URI = " \
"
SRCREV = "fc53c457f69aa5221ec1f8619a007e8150db5e60"
-S = "${WORKDIR}/git"
inherit cargo_c
@@ -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 \
@@ -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"
@@ -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"
@@ -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}
@@ -13,4 +13,3 @@ SRC_URI = "git://git.yoctoproject.org/git/matchbox-panel-2;branch=master;protoco
SRCREV = "f82ca3f42510fb3ef10f598b393eb373a2c34ca7"
-S = "${WORKDIR}/git"
@@ -13,4 +13,3 @@ SRC_URI:append:gitunpack-enable-recipe = ";tag=${TAGVALUE}"
SRCREV = "f82ca3f42510fb3ef10f598b393eb373a2c34ca7"
SRCREV:gitunpack-enable-recipe = ""
-S = "${WORKDIR}/git"
@@ -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
@@ -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}
@@ -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}"
@@ -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
@@ -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]
@@ -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'])
@@ -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
@@ -12,7 +12,6 @@ SRC_URI = "git://github.com/rhinstaller/efivar.git;branch=main;protocol=https \
"
SRCREV = "c47820c37ac26286559ec004de07d48d05f3308c"
-S = "${WORKDIR}/git"
inherit pkgconfig
@@ -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'
@@ -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/"
@@ -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
@@ -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
@@ -13,7 +13,6 @@ SRC_URI = "git://github.com/lathiat/nss-mdns;branch=master;protocol=https \
SRCREV = "4b3cfe818bf72d99a02b8ca8b8813cb2d6b40633"
-S = "${WORKDIR}/git"
inherit autotools pkgconfig
@@ -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}"
@@ -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
@@ -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
@@ -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"
@@ -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
@@ -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
@@ -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"
@@ -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
@@ -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
#
@@ -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}"
@@ -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 = ""
@@ -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
@@ -27,7 +27,7 @@ inherit core-image setuptools3 features_check
REQUIRED_DISTRO_FEATURES += "xattr"
SRCREV ?= "52b5f6a95de7228a12a9156a4aaa932daf54456f"
-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
@@ -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"
@@ -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"
@@ -16,7 +16,6 @@ SRC_URI:append:powerpc = "\
PV = "1.1.0"
SRCREV = "b7bfe0b08c52fdc72e0c1d9d4dcb2129f1642bd6"
-S = "${WORKDIR}/git"
inherit pkgconfig linuxloader siteinfo
@@ -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.
@@ -12,7 +12,6 @@ SRCREV = "a0323579ac50b9a9d4033754d089f1fed0f59a00"
SRC_URI = "git://github.com/kaniini/libucontext;branch=master;protocol=https \
"
-S = "${WORKDIR}/git"
COMPATIBLE_HOST = ".*-musl.*"
@@ -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"
@@ -16,7 +16,6 @@ UPSTREAM_CHECK_COMMITS = "1"
inherit autotools pkgconfig
-S = "${WORKDIR}/git"
COMPATIBLE_HOST = ".*-musl.*"
@@ -17,7 +17,6 @@ UPSTREAM_CHECK_COMMITS = "1"
inherit autotools
-S = "${WORKDIR}/git"
PACKAGES =+ "${PN}-iconv"
@@ -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"
@@ -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+)$"
@@ -22,7 +22,6 @@ SRCREV = "5e5e51f1dc56a99eb4648c28e00d73b6ea44a8b0"
INHIBIT_DEFAULT_DEPS = "1"
DEPENDS = "virtual/cross-cc"
-S = "${WORKDIR}/git"
B = "${WORKDIR}/build"
## disable stdlib
@@ -51,7 +51,6 @@ inherit deploy
PARALLEL_MAKE = ""
-S = "${WORKDIR}/git"
DEPENDS = "nasm-native acpica-native ovmf-native util-linux-native"
@@ -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"
@@ -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
@@ -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
@@ -15,7 +15,6 @@ SRC_URI = "git://github.com/linux-ras/sysfsutils.git;protocol=https;branch=maste
SRCREV = "da2f1f8500c0af6663a56ce2bff07f67e60a92e0"
-S = "${WORKDIR}/git"
inherit autotools
@@ -19,6 +19,5 @@ SRCREV = "1c93ed4c72a4513d9cefcd1f89d11a9dc828d06c"
SRCBRANCH = "v257-stable"
SRC_URI = "git://github.com/systemd/systemd.git;protocol=https;branch=${SRCBRANCH};tag=v${PV}"
-S = "${WORKDIR}/git"
CVE_PRODUCT = "systemd"
@@ -11,7 +11,6 @@ SRCREV = "793c037ded98cd001075cdb55a9c58e122380256"
CVE_PRODUCT = "s390-tools"
-S = "${WORKDIR}/git"
EXTRA_OEMAKE = "\
V=1 \
@@ -12,7 +12,6 @@ PV .= "+git"
UPSTREAM_CHECK_COMMITS = "1"
-S = "${WORKDIR}/git"
inherit allarch
@@ -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
@@ -44,4 +44,3 @@ SRC_URI = "\
file://0019-CVE-2025-5244.patch \
file://0019-CVE-2025-3198.patch \
"
-S = "${WORKDIR}/git"
@@ -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"
@@ -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 \
@@ -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"
@@ -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
@@ -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
@@ -19,4 +19,3 @@ SRC_URI:append:class-native = " file://0001-build.c-ignore-return-of-1-from-tar-
SRCREV = "ee7e9118d0a9581cb00c5ce02dccd561b3096387"
-S = "${WORKDIR}/git"
@@ -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
@@ -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"
@@ -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
@@ -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
@@ -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
@@ -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"
@@ -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
@@ -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"
@@ -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
@@ -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"
@@ -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__"
@@ -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
@@ -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"
@@ -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}"
@@ -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"
@@ -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
@@ -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
@@ -8,7 +8,6 @@ SRCREV = "3b74bdce35f2814eb2b65db39a133d5c849ddea7"
inherit python_setuptools_build_meta ptest-python-pytest
-S = "${WORKDIR}/git"
RDEPENDS:${PN}-ptest += " \
python3-pretend \
@@ -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"
@@ -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"
@@ -8,7 +8,6 @@ SRC_URI = "git://gitlab.com/rossburton/python-unittest-automake-output;protocol=
SRCREV = "aebdfb188e368c690ea55cf6c9c9ffa1a52def65"
-S = "${WORKDIR}/git"
inherit python_flit_core
@@ -15,7 +15,6 @@ SRCREV = "08815ad3eb245872700201e03c47cb504d1dc3f9"
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
@@ -16,7 +16,6 @@ SRC_URI = " \
SRCREV = "032b418a6db842f0eab330eb5909e4604e888728"
UPSTREAM_CHECK_COMMITS = "1"
-S = "${UNPACKDIR}/git"
do_compile () {
# Remove most policy variants, leave DEFAULT.pol
@@ -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
@@ -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"
@@ -12,7 +12,6 @@ SRCREV = "2e87d42ed089dc31990d83eeb07437b9d085d6d1"
UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(\d+(\.\d+)+))"
-S = "${WORKDIR}/git"
EXTRA_OEMAKE = "${PACKAGECONFIG_CONFARGS}"
@@ -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"
@@ -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
@@ -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+)+)"
@@ -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
@@ -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
@@ -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
@@ -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}"
@@ -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
}
@@ -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
@@ -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+)"
@@ -11,7 +11,6 @@ SRC_URI = "git://pagure.io/libaio.git;protocol=https;branch=master \
file://system-linkage.patch \
"
SRCREV = "1b18bfafc6a2f7b9fa2c6be77a95afed8b7be448"
-S = "${WORKDIR}/git"
EXTRA_OEMAKE =+ "prefix=${prefix} includedir=${includedir} libdir=${libdir}"
@@ -15,7 +15,6 @@ CVE_PRODUCT = "libnsl_project:libnsl"
SRC_URI = "git://github.com/thkukuk/libnsl;branch=master;protocol=https"
SRCREV = "d4b22e54b5e6637a69b26eab5faad2a326c9b182"
-S = "${WORKDIR}/git"
inherit autotools pkgconfig gettext
@@ -20,7 +20,6 @@ SRCREV = "cd0d391af9535b56e612ed227c1b89be269f3d59"
SRC_URI = "git://github.com/thkukuk/libnss_nis;branch=master;protocol=https \
"
-S = "${WORKDIR}/git"
inherit autotools pkgconfig
@@ -16,7 +16,6 @@ SRCREV = "95f64952e3270deb6be30ae4b786cae5c114c807"
UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+)"
-S = "${WORKDIR}/git"
inherit cmake
@@ -10,7 +10,6 @@ SRC_URI = "git://github.com/lsof-org/lsof;branch=master;protocol=https \
file://remove-host-information.patch"
SRCREV = "bbf320ce586a848f880bca7b758d50ae4c712624"
-S = "${WORKDIR}/git"
inherit update-alternatives autotools pkgconfig manpages
PACKAGECONFIG[manpages] = ""
@@ -33,7 +33,6 @@ SRC_URI = "git://github.com/linux-test-project/ltp.git;branch=master;protocol=ht
file://0001-cve-2015-3290-Disable-AVX-for-x86_64.patch \
"
-S = "${WORKDIR}/git"
inherit autotools-brokensep pkgconfig
@@ -20,7 +20,6 @@ SRC_URI = "git://git.kernel.org/pub/scm/utils/mdadm/mdadm.git;protocol=https;bra
"
SRCREV = "8e56efac9afd7080bb42bae4b77cdad5f345633a"
-S = "${WORKDIR}/git"
inherit ptest systemd
@@ -13,7 +13,6 @@ SRC_URI = "git://git.code.sf.net/p/net-tools/code;protocol=https;branch=master \
file://Add_missing_headers.patch \
"
-S = "${WORKDIR}/git"
inherit gettext
@@ -17,7 +17,6 @@ SRC_URI = "git://gitlab.com/procps-ng/procps.git;protocol=https;branch=master \
"
SRCREV = "f46b2f7929cdfe2913ed0a7f585b09d6adbf994e"
-S = "${WORKDIR}/git"
# Upstream has a custom autogen.sh which invokes po/update-potfiles as they
# don't ship a po/POTFILES.in (which is silly). Without that file gettext
@@ -15,7 +15,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3"
SRC_URI = "git://gitlab.com/psmisc/psmisc.git;protocol=https;branch=master \
"
SRCREV = "9091d6dbcce3d8fb87adf9249a2eb346d25a562c"
-S = "${WORKDIR}/git"
inherit autotools gettext
@@ -23,7 +23,6 @@ SRC_URI = "git://github.com/thkukuk/${BPN};branch=master;protocol=https \
file://0001-Use-cross-compiled-rpcgen.patch \
"
-S = "${WORKDIR}/git"
inherit autotools gettext
@@ -10,7 +10,6 @@ SRC_URI = "git://git.sr.ht/~sircmpwn/scdoc;protocol=https;branch=master \
file://0001-Makefile-drop-static.patch "
SRCREV = "0528bcb993cac6c412acd3ae2e09539e994c0a59"
-S = "${WORKDIR}/git"
do_install() {
oe_runmake 'DESTDIR=${D}' install
@@ -8,7 +8,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
SRC_URI = "git://github.com/ColinIanKing/stress-ng.git;protocol=https;branch=master;tag=V${PV} \
"
SRCREV = "d4eef982dc98fe915aa82303c0a24070d0a51b00"
-S = "${WORKDIR}/git"
DEPENDS = "coreutils-native libbsd"
@@ -16,7 +16,6 @@ SRC_URI = "git://github.com/troglobit/sysklogd.git;branch=master;protocol=https;
SRCREV = "5fb314cb9060afa3bd4eed2f0be3200f02f729e9"
-S = "${WORKDIR}/git"
EXTRA_OECONF = "--with-systemd=${systemd_system_unitdir} --without-logger"
@@ -13,7 +13,6 @@ SRC_URI = "git://github.com/sysstat/sysstat.git;protocol=https;branch=master \
LIC_FILES_CHKSUM = "file://COPYING;md5=a23a74b3f4caf9616230789d94217acb"
SRCREV = "dac10e13c70d1102aa3beea10135a3ed60520c36"
-S = "${WORKDIR}/git"
DEPENDS += "base-passwd"
@@ -16,7 +16,6 @@ SRC_URI = "git://github.com/openSUSE/xinetd.git;protocol=https;branch=master \
SRCREV = "6a4af7786630ce48747d9687e2f18f45ea6684c4"
-S = "${WORKDIR}/git"
# https://github.com/xinetd-org/xinetd/pull/10 is merged into this git tree revision
CVE_STATUS[CVE-2013-4342] = "fixed-version: Fixed directly in git tree revision"
@@ -17,7 +17,6 @@ UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)"
CVE_PRODUCT = "zstandard"
-S = "${WORKDIR}/git"
PACKAGECONFIG ??= ""
PACKAGECONFIG[lz4] = "HAVE_LZ4=1,HAVE_LZ4=0,lz4"
@@ -12,7 +12,6 @@ SRC_URI = "git://gitlab.gnome.org/GNOME/gi-docgen.git;protocol=https;branch=main
SRCREV = "9ab2ab8fa3f4a04f5d2cc24b0c8e91e73bc57b51"
-S = "${WORKDIR}/git"
inherit python_setuptools_build_meta
@@ -11,7 +11,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
SRC_URI = "git://gitlab.gnome.org/GNOME/libhandy.git;protocol=https;branch=libhandy-1-8"
SRCREV = "9b0071408ce86a3ef843806fddd723a85f6f2416"
-S = "${WORKDIR}/git"
UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+\.(\d*[02468])+(\.\d+))"
GIR_MESON_ENABLE_FLAG = 'enabled'
@@ -8,7 +8,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=3000208d539ec061b899bce1d9ce9404"
SRC_URI = "git://github.com/flatpak/${BPN}.git;protocol=https;branch=main"
SRCREV = "8f5dc8d192f6e31dafe69e35219e3b707bde71ce"
-S = "${WORKDIR}/git"
inherit meson gi-docgen gobject-introspection vala features_check pkgconfig
GIDOCGEN_MESON_OPTION = 'docs'
@@ -9,7 +9,6 @@ SRC_URI = " \
file://run-ptest \
"
SRCREV = "addcce32a3bd6a09303f052bd59fb758621d30fb"
-S = "${WORKDIR}/git"
DEPENDS = "glib-2.0 xz zstd"
@@ -19,7 +19,6 @@ PE = "1"
# The tags versions should always be sdk-x.y.z, as this is what
# upstream considers a release.
UPSTREAM_CHECK_GITTAGREGEX = "sdk-(?P<pver>\d+(\.\d+)+)"
-S = "${WORKDIR}/git"
inherit cmake python3native
@@ -15,7 +15,6 @@ SRC_URI = "git://gitlab.freedesktop.org/drm/igt-gpu-tools.git;protocol=https;bra
file://0001-lib-igt_aux.c-address-procps-4.0.5-compatibility.patch \
"
-S = "${WORKDIR}/git"
DEPENDS += "libdrm libpciaccess cairo udev glib-2.0 procps libunwind kmod openssl elfutils alsa-lib json-c bison-native"
RDEPENDS:${PN} += "bash perl"
@@ -16,7 +16,6 @@ SRC_URI = "git://gitlab.freedesktop.org/mesa/kmscube;branch=master;protocol=http
UPSTREAM_CHECK_COMMITS = "1"
-S = "${WORKDIR}/git"
BASEPV = "0.0.1"
PV = "${BASEPV}+git"
@@ -11,7 +11,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=58ef4c80d401e07bd9ee8b6b58cf464b"
SRC_URI = "git://github.com/anholt/libepoxy;branch=master;protocol=https"
SRCREV = "c84bc9459357a40e46e2fec0408d04fbdde2c973"
-S = "${WORKDIR}/git"
inherit meson pkgconfig features_check github-releases
@@ -15,7 +15,6 @@ PV = "0.3+git"
SRC_URI = "git://git.yoctoproject.org/${BPN};branch=master;protocol=https"
-S = "${WORKDIR}/git"
inherit autotools pkgconfig gettext features_check
@@ -16,7 +16,6 @@ DEPENDS = "virtual/libx11 libxext"
SRCREV = "04b214a0d5cf8285e196d90bf2332626b12c74ef"
SRC_URI = "git://git.yoctoproject.org/${BPN};branch=master;protocol=https;tag=${PV}"
-S = "${WORKDIR}/git"
inherit autotools pkgconfig features_check
# depends on virtual/libx11
@@ -16,7 +16,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b148fc8adf19dc9aec17cf9cd29a9a5e"
SRC_URI = "git://github.com/intel/libva-utils.git;branch=v2.22-branch;protocol=https"
SRCREV = "1a13ae13382b7b548f3a7e8035e1d7df66662c0a"
-S = "${WORKDIR}/git"
UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(\d+(\.\d+)+))$"
@@ -14,7 +14,6 @@ SRCREV = "ce8c1053270d960a7235ab5c3435f707541810a4"
SRC_URI = "git://git.yoctoproject.org/matchbox-window-manager;branch=master;protocol=https \
file://kbdconfig"
-S = "${WORKDIR}/git"
inherit autotools pkgconfig features_check
# depends on virtual/libx11
@@ -20,7 +20,6 @@ SRCREV = "a0a27e528f643dfeb785350a1213bfff09681950"
# (when PV goes above 1.0 remove the trailing r)
PV = "1.0+gitr"
-S = "${WORKDIR}/git"
X11_DEPS = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'virtual/libx11 libxrender libglu', '', d)}"
X11_RDEPS = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'mesa-demos', '', d)}"
@@ -12,7 +12,6 @@ SRC_URI = "git://github.com/google/shaderc.git;protocol=https;branch=main;tag=v$
file://0002-libshaderc_util-fix-glslang-header-file-location.patch \
"
UPSTREAM_CHECK_GITTAGREGEX = "^v(?P<pver>\d+(\.\d+)+)$"
-S = "${WORKDIR}/git"
inherit cmake python3native pkgconfig
@@ -13,7 +13,6 @@ PE = "1"
# The tags versions should always be sdk-x.y.z, as this is what
# upstream considers a release.
UPSTREAM_CHECK_GITTAGREGEX = "sdk-(?P<pver>\d+(\.\d+)+)"
-S = "${WORKDIR}/git"
inherit cmake
@@ -14,7 +14,6 @@ SRCREV_spirv = "6dd8f2a1681a27f16c53d932d2765920f312aeb2"
UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)"
-S = "${WORKDIR}/git"
DEPENDS = "clang spirv-tools spirv-headers"
@@ -17,7 +17,6 @@ PE = "1"
# The tags versions should always be sdk-x.y.z, as this is what
# upstream considers a release.
UPSTREAM_CHECK_GITTAGREGEX = "sdk-(?P<pver>\d+(\.\d+)+)"
-S = "${WORKDIR}/git"
inherit cmake
@@ -15,7 +15,6 @@ SRC_URI = "git://gitlab.freedesktop.org/virgl/virglrenderer.git;branch=main;prot
file://0001-vrend-Fix-int-conversion-fatal-build-error-with-GCC-.patch \
"
-S = "${WORKDIR}/git"
inherit meson pkgconfig features_check
@@ -13,7 +13,6 @@ SRC_URI = "git://github.com/KhronosGroup/Vulkan-Headers.git;branch=main;protocol
SRCREV = "409c16be502e39fe70dd6fe2d9ad4842ef2c9a53"
-S = "${WORKDIR}/git"
inherit cmake
@@ -12,7 +12,6 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=7dbefed23242760aa3475ee42801c5ac"
SRC_URI = "git://github.com/KhronosGroup/Vulkan-Loader.git;branch=vulkan-sdk-1.4.313;protocol=https"
SRCREV = "fb78607414e154c7a5c01b23177ba719c8a44909"
-S = "${WORKDIR}/git"
REQUIRED_DISTRO_FEATURES = "vulkan"
@@ -13,7 +13,6 @@ UPSTREAM_CHECK_COMMITS = "1"
SRCREV = "d27205d14d01ea7d33efc8ba2862478612370182"
UPSTREAM_CHECK_GITTAGREGEX = "These are not the releases you're looking for"
-S = "${WORKDIR}/git"
REQUIRED_DISTRO_FEATURES = 'vulkan'
@@ -9,7 +9,6 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3b83ef96387f14655fc854ddc3c6bd57"
SRC_URI = "git://github.com/KhronosGroup/Vulkan-Tools.git;branch=vulkan-sdk-1.4.313;protocol=https"
SRCREV = "ad2f0170f9466fadd96e3fdd65fad02cd3a3739b"
-S = "${WORKDIR}/git"
inherit cmake features_check pkgconfig
ANY_OF_DISTRO_FEATURES = "x11 wayland"
@@ -12,7 +12,6 @@ LIC_FILES_CHKSUM = "file://LICENSE.md;md5=4ca2d6799091aaa98a8520f1b793939b"
SRC_URI = "git://github.com/KhronosGroup/Vulkan-Utility-Libraries.git;branch=vulkan-sdk-1.4.313;protocol=https"
SRCREV = "4e246c56ec5afb5ad66b9b04374d39ac04675c8e"
-S = "${WORKDIR}/git"
REQUIRED_DISTRO_FEATURES = "vulkan"
@@ -11,7 +11,6 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b1a17d548e004bfbbfaa0c40988b6b31"
SRC_URI = "git://github.com/KhronosGroup/Vulkan-ValidationLayers.git;branch=vulkan-sdk-1.4.313;protocol=https"
SRCREV = "50b87dd4be883b63c10e3c4f7b9c5aac0c82efd3"
-S = "${WORKDIR}/git"
REQUIRED_DISTRO_FEATURES = "vulkan"
@@ -12,7 +12,6 @@ LIC_FILES_CHKSUM = "file://LICENSE.md;md5=fb3d6e8051a71edca1e54bc38d35e5af"
SRC_URI = "git://github.com/zeux/volk.git;branch=master;protocol=https"
SRCREV = "43c29e655cb8117fd9cfb65ad9cefe2d40965102"
-S = "${WORKDIR}/git"
REQUIRED_DISTRO_FEATURES = "vulkan"
@@ -12,7 +12,6 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=4c5154407c2490750dd461c50ad94797 \
SRC_URI = "git://gitlab.freedesktop.org/mesa/waffle.git;protocol=https;branch=maint-1.8 \
"
SRCREV = "49abc7cb5f73cc6852136c91da49ea3a338960e4"
-S = "${WORKDIR}/git"
inherit meson features_check lib_package bash-completion pkgconfig
@@ -16,7 +16,6 @@ SRC_URI = "git://gitlab.freedesktop.org/libinput/libinput.git;protocol=https;bra
file://run-ptest \
"
SRCREV = "4f7b4ef0e4eb5d569df36be387579858eba349bb"
-S = "${WORKDIR}/git"
UPSTREAM_CHECK_REGEX = "libinput-(?P<pver>\d+\.\d+\.(?!9\d+)\d+)"
@@ -13,7 +13,6 @@ PV = "0.1.1+git"
SRC_URI = "git://git.yoctoproject.org/${BPN};branch=master;protocol=https"
UPSTREAM_CHECK_COMMITS = "1"
-S = "${WORKDIR}/git"
inherit autotools allarch
@@ -14,7 +14,6 @@ SRC_URI = "git://gitlab.freedesktop.org/xorg/app/xinput-calibrator;protocol=http
file://Allow-xinput_calibrator_pointercal.sh-to-be-run-as-n.patch \
"
-S = "${WORKDIR}/git"
EXTRA_OECONF += "--with-gui=x11"
@@ -11,7 +11,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=8730ad58d11c7bbad9a7066d69f7808e"
SRCREV = "31486f40f8e8f8923ca0799aea84b58799754564"
PV = "2.99.917+git"
-S = "${WORKDIR}/git"
SRC_URI = "git://gitlab.freedesktop.org/xorg/driver/xf86-video-intel.git;protocol=https;branch=master"
@@ -9,7 +9,6 @@ SECTION = "x11/libs"
SRC_URI = "git://gitlab.freedesktop.org/xorg/lib/libxcvt.git;protocol=https;branch=master"
SRCREV = "dd8631c61465cc0de5e476c7a98e56528d62b163"
-S = "${WORKDIR}/git"
inherit meson
@@ -10,7 +10,6 @@ DEPENDS = "flex-native bison-native"
SRC_URI = "git://github.com/xkbcommon/libxkbcommon;protocol=https;branch=master;tag=xkbcommon-${PV}"
SRCREV = "7888474d0296dcad50c9ba4adfdfdf2be02d35e1"
-S = "${WORKDIR}/git"
inherit meson pkgconfig bash-completion
@@ -17,8 +17,6 @@ SRC_URI = "git://git.kernel.dk/blktrace.git;protocol=https;branch=master \
SRCREV = "366d30b9cdb20345c5d064af850d686da79b89eb"
-S = "${WORKDIR}/git"
-
EXTRA_OEMAKE = "\
'CC=${CC}' \
'CFLAGS=${CFLAGS}' \
@@ -13,6 +13,5 @@ SRC_URI = "git://github.com/cryptodev-linux/cryptodev-linux;branch=master;protoc
SRCREV = "135cbff90af2ba97d88f1472be595ce78721972c"
PV = "1.14"
-S = "${WORKDIR}/git"
CLEANBROKEN = "1"
@@ -15,7 +15,6 @@ SRCREV = "2d10aa2afe35527728db30b35ec491ecb6959e5c"
UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)"
-S = "${WORKDIR}/git"
inherit meson pkgconfig
@@ -17,7 +17,6 @@ PV = "0.3+git"
inherit native
SRC_URI = "git://git.yoctoproject.org/yocto-kernel-tools.git;branch=master;protocol=https"
-S = "${WORKDIR}/git"
do_configure() {
:
@@ -12,7 +12,6 @@ SRCREV = "bd47bd544c9ebc9f44bd88c2b2f2049230741058"
SRC_URI = "git://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git;branch=${BPN};protocol=https \
"
-S = "${WORKDIR}/git"
inherit meson pkgconfig
@@ -17,7 +17,6 @@ SRC_URI = "git://git.efficios.com/babeltrace.git;branch=stable-2.1;protocol=http
SRCREV = "7f2f8cd6dac497cbb466efb31219b531c62013f5"
UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>2(\.\d+)+)$"
-S = "${WORKDIR}/git"
inherit autotools pkgconfig ptest python3targetconfig
@@ -13,7 +13,6 @@ SRC_URI = "git://git.efficios.com/babeltrace.git;branch=stable-1.5;protocol=http
SRCREV = "91c00f70884887ff5c4849a8e3d47e311a22ba9d"
UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>1(\.\d+)+)$"
-S = "${WORKDIR}/git"
inherit autotools pkgconfig ptest
@@ -28,7 +28,6 @@ SRC_URI = "\
file://0001-makedumpfile-replace-hardcode-CFLAGS.patch \
"
-S = "${WORKDIR}/git"
UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+)"
@@ -11,7 +11,6 @@ SRC_URI = "git://github.com/fenrus75/powertop;protocol=https;branch=master \
"
SRCREV = "d51ad395436d4d1dcc3ca46e1519ffeb475bf651"
-S = "${WORKDIR}/git"
LDFLAGS += "-pthread"
@@ -12,7 +12,6 @@ SRCREV = "3a92ffe673c1621309a0b60892114495b651c9de"
COMPATIBLE_HOST = '(x86_64|i.86|powerpc|arm|aarch64|microblazeel|mips|riscv64).*-linux'
COMPATIBLE_HOST:libc-musl = 'null'
-S = "${WORKDIR}/git"
# systemtap can't be built without optimization, if someone tries to compile an
# entire image as -O0, break with fatal.
@@ -14,7 +14,7 @@ SRC_URI = "git://gitlab.freedesktop.org/gstreamer/gstreamer.git;protocol=https;b
SRCREV = "100c21e1faf68efe7f3830b6e9f856760697ab48"
-S = "${WORKDIR}/git/subprojects/gst-examples"
+S = "${UNPACKDIR}/${BP}/subprojects/gst-examples"
inherit meson pkgconfig features_check
@@ -16,7 +16,6 @@ SRCREV = "31e19f92f00c7003fa115047ce50978bc98c3a0d"
PV = "r3039+git"
-S = "${WORKDIR}/git"
inherit lib_package pkgconfig
@@ -4,4 +4,3 @@ PE = "1"
SRC_URI = "git://git.kernel.org/pub/scm/utils/rt-tests/rt-tests.git;branch=main;protocol=https"
-S = "${WORKDIR}/git"
@@ -19,7 +19,6 @@ PV = "0.8.18.1.11+git"
SRC_URI = "git://github.com/stevenhoneyman/l3afpad.git;branch=master;protocol=https"
SRCREV = "3cdccdc9505643e50f8208171d9eee5de11a42ff"
-S = "${WORKDIR}/git"
inherit autotools pkgconfig features_check mime-xdg
@@ -15,7 +15,6 @@ SRC_URI = "git://git.yoctoproject.org/${BPN};branch=master;protocol=https \
UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(\d+(\.\d+)+))"
PV = "0.2+git"
-S = "${WORKDIR}/git"
inherit autotools pkgconfig features_check
@@ -18,7 +18,6 @@ SRC_URI = "git://git.yoctoproject.org/${BPN}-2;branch=master;protocol=https \
EXTRA_OECONF = "--enable-startup-notification --with-dbus"
-S = "${WORKDIR}/git"
inherit autotools pkgconfig features_check
@@ -17,7 +17,6 @@ SRC_URI = "git://git.yoctoproject.org/${BPN};branch=matchbox-keyboard-0-1;protoc
file://0001-desktop-file-Hide-the-keyboard-from-app-list.patch \
file://80matchboxkeyboard.sh"
-S = "${WORKDIR}/git"
inherit autotools pkgconfig gettext gtk-immodules-cache features_check
@@ -28,7 +28,6 @@ SRC_URI = "git://git.yoctoproject.org/${BPN};protocol=https;branch=master \
EXTRA_OECONF = "--enable-startup-notification --enable-dbus"
EXTRA_OECONF += " ${@bb.utils.contains("MACHINE_FEATURES", "acpi", "--with-battery=acpi", "",d)}"
-S = "${WORKDIR}/git"
FILES:${PN} += "${libdir}/matchbox-panel/*.so \
${datadir}/matchbox-panel/brightness/*.png \
@@ -14,7 +14,6 @@ SRC_URI = "git://git.yoctoproject.org/${BPN};branch=master;protocol=https"
UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(\d+(\.\d+)+))"
PV = "0.2+git"
-S = "${WORKDIR}/git"
inherit autotools pkgconfig features_check update-alternatives
@@ -5,4 +5,3 @@ SRCREV = "df085ba9cdaeaf2956890b0e29d7ea1779bf6c78"
SRC_URI = "git://git.yoctoproject.org/matchbox-sato;branch=master;protocol=https"
UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(\d+(\.\d+)+))"
-S = "${WORKDIR}/git"
@@ -14,7 +14,6 @@ SRCREV = "7fa03051562ee81e2a5371f8b3a6d0bb6e646aa0"
PE = "2"
PV = "0.0+git"
-S = "${WORKDIR}/git"
inherit cmake features_check pkgconfig
@@ -12,7 +12,6 @@ SRC_URI = "git://git.yoctoproject.org/sato-icon-theme.git;protocol=https;branch=
SRCREV = "d23f04ecb0328f655bf195df8eb04c1b734d53a9"
UPSTREAM_CHECK_COMMITS = "1"
-S = "${WORKDIR}/git"
inherit autotools pkgconfig allarch gtk-icon-cache perlnative
@@ -14,7 +14,6 @@ SRCREV = "9250fa5a012d84ff45984e8c4345ee7635227756"
SRC_URI = "git://git.yoctoproject.org/screenshot;branch=master;protocol=https"
UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(\d+(\.\d+)+))"
-S = "${WORKDIR}/git"
inherit autotools pkgconfig features_check
@@ -15,7 +15,6 @@ SRC_URI = "git://git.yoctoproject.org/xsettings-daemon;branch=master;protocol=ht
"
UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(\d+(\.\d+)+))"
-S = "${WORKDIR}/git"
inherit autotools pkgconfig gconf features_check
@@ -12,7 +12,6 @@ SRC_URI = "git://github.com/ericonr/argp-standalone;branch=master;protocol=https
file://out_of_tree_build.patch \
"
SRCREV = "e5fe9ad9e83e6765cf8fa787f903d4c6792338b5"
-S = "${WORKDIR}/git"
inherit autotools
@@ -11,7 +11,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263"
SRC_URI = "git://github.com/yoctoproject/${BPN};branch=main;protocol=https"
SRCREV = "618a7316102f6f81faa60537503012a419eafa06"
-S = "${WORKDIR}/git"
# TODO: remove when we upgrade to a release past 3.9.0
PV .= "+git"
@@ -14,7 +14,6 @@ UPSTREAM_CHECK_GITTAGREGEX = "boost-(?P<pver>(\d+(\.\d+)+))"
inherit native
-S = "${WORKDIR}/git"
do_compile() {
./bootstrap.sh
@@ -15,7 +15,6 @@ SRCREV = "528fac5c7448989f33c54599ae6e4c2b84d41e21"
inherit autotools update-alternatives
-S = "${WORKDIR}/git"
# Disable po4a (translated manpages) sub-directory, as that requires po4a to build
do_configure:prepend() {
@@ -13,7 +13,7 @@ UPSTREAM_CHECK_GITTAGREGEX = "dos2unix-(?P<pver>(\d+(\.\d+)+))"
SRCREV = "c16a0b31a64c7eb6b2d76960e5144732b57f2993"
-S = "${WORKDIR}/git/dos2unix"
+S = "${UNPACKDIR}/${BP}/dos2unix"
inherit gettext perlnative
@@ -16,7 +16,6 @@ SRCREV = "e346cd4ed2e2102c9b195b614f3c642d23f5f6e7"
DEPENDS = "glib-2.0"
-S = "${WORKDIR}/git"
inherit autotools pkgconfig
@@ -10,7 +10,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=1556547711e8246992b999edd9445a57"
SRC_URI = "git://github.com/vcrhonek/${BPN}.git;branch=master;protocol=https;tag=v${PV}"
SRCREV = "95c1de6c4a0d40415867b29c0791480fb8ad3cdb"
-S = "${WORKDIR}/git"
inherit allarch
@@ -15,7 +15,6 @@ SRCREV = "5be4d112d420706eacd913a3ebd85549fe9eeae4"
# are inhibited by allarch
DEPENDS = "gettext-native"
-S = "${WORKDIR}/git"
inherit allarch autotools
@@ -11,7 +11,6 @@ SRC_URI = "git://github.com/stevegrubb/libcap-ng.git;protocol=https;branch=maste
file://0001-Fix-python-path-when-invoking-py-compile-54.patch \
"
SRCREV = "f5d39702622208b3ada064d7b2eaeaf1454c9bd3"
-S = "${WORKDIR}/git"
inherit lib_package autotools
@@ -11,6 +11,5 @@ DEPENDS = "hwdata-native"
SRC_URI = "git://gitlab.freedesktop.org/emersion/libdisplay-info.git;branch=main;protocol=https"
SRCREV = "66b802d05b374cd8f388dc6ad1e7ae4f08cb3300"
-S = "${WORKDIR}/git"
inherit meson pkgconfig lib_package
@@ -10,7 +10,6 @@ SRC_URI = "git://github.com/libgit2/libgit2.git;branch=main;protocol=https \
"
SRCREV = "338e6fb681369ff0537719095e22ce9dc602dbf0"
-S = "${WORKDIR}/git"
inherit cmake
@@ -11,7 +11,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=e01027c4ad1fe5a4768f8488c945d491 \
"
SRC_URI = "git://github.com/smuellerDD/jitterentropy-library.git;branch=master;protocol=https;tag=v${PV}"
SRCREV = "c90ff465dcdb6a6949542c72a26a8ab496daa8cb"
-S = "${WORKDIR}/git"
do_configure[noexec] = "1"
@@ -15,7 +15,6 @@ DEPENDS = "glib-2.0"
SRC_URI = "git://github.com/libproxy/libproxy;protocol=https;branch=main"
SRCREV = "77e2a2b88a319974cf099c8eaaaa03030bc4c0d4"
-S = "${WORKDIR}/git"
inherit meson pkgconfig gobject-introspection vala gi-docgen
GIDOCGEN_MESON_OPTION = 'docs'
@@ -13,7 +13,6 @@ SRC_URI = "git://github.com/seccomp/libseccomp.git;branch=release-2.6;protocol=h
file://run-ptest \
"
-S = "${WORKDIR}/git"
inherit autotools-brokensep pkgconfig ptest features_check
@@ -17,7 +17,6 @@ SRC_URI = "git://github.com/lz4/lz4.git;branch=release;protocol=https \
file://run-ptest"
UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>.*)"
-S = "${WORKDIR}/git"
inherit ptest
@@ -19,7 +19,6 @@ SRC_URI = "git://github.com/numactl/numactl;branch=master;protocol=https \
file://0001-define-run-test-target.patch \
"
-S = "${WORKDIR}/git"
LDFLAGS:append:riscv64 = " -latomic"
LDFLAGS:append:riscv32 = " -latomic"
@@ -13,7 +13,6 @@ DEPENDS:append = "${@' glib-2.0' if d.getVar('GTKDOC_ENABLED') == 'True' else ''
SRC_URI = "gitsm://github.com/p11-glue/p11-kit;branch=master;protocol=https \
"
SRCREV = "0dd113361057e477f40ff4d8788f3e7e400af5f9"
-S = "${WORKDIR}/git"
PACKAGECONFIG ??= ""
PACKAGECONFIG[manpages] = "-Dman=true,-Dman=false,libxslt-native"
@@ -12,7 +12,6 @@ SRCREV = "c99e8c2737ff802f110612cc2d90c60233c33255"
SRC_URI = "git://git.yoctoproject.org/ptest-runner2;branch=master;protocol=https \
"
-S = "${WORKDIR}/git"
FILES:${PN} = "${bindir}/ptest-runner ${bindir}/ptest-runner-collect-system-data"
@@ -13,7 +13,6 @@ SRC_URI = "git://github.com/nhorman/rng-tools.git;branch=master;protocol=https \
"
SRCREV = "bd00c08b0c3c6a880b0988befe97fd35b315468c"
-S = "${WORKDIR}/git"
inherit autotools update-rc.d systemd pkgconfig
@@ -10,6 +10,5 @@ SRC_URI = "git://github.com/sass/libsass.git;protocol=https;branch=master \
SRCREV = "7037f03fabeb2b18b5efa84403f5a6d7a990f460"
-S = "${WORKDIR}/git"
BBCLASSEXTEND = "native"
@@ -11,7 +11,6 @@ SRC_URI = "git://github.com/sass/sassc.git;protocol=https;branch=master \
file://0001-Remove-sassc_version.h-from-source-directory.patch"
SRCREV = "66f0ef37e7f0ad3a65d2f481eff09d09408f42d0"
-S = "${WORKDIR}/git"
CVE_STATUS[CVE-2022-43357] = "cpe-incorrect: this is CVE for libsass, not sassc wrapper"
@@ -13,7 +13,6 @@ SRC_URI = "git://gitlab.freedesktop.org/xdg/shared-mime-info.git;protocol=https;
file://0002-Handle-build-with-older-versions-of-GCC.patch"
SRCREV = "9a6d6b8e963935f145f3a1ef446552de6996dada"
-S = "${WORKDIR}/git"
inherit meson pkgconfig gettext python3native mime
@@ -9,7 +9,6 @@ SRC_URI = "gitsm://github.com/nemtrif/utfcpp;protocol=https;branch=master"
SRCREV = "b26a5f718f4f370af1852a0d5c6ae8fa031ba7d0"
-S = "${WORKDIR}/git"
inherit cmake
@@ -26,7 +26,6 @@ UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+\.\d+)\.0"
# Ignore that the upstream version .z in x.y.z is always newer
UPSTREAM_VERSION_UNKNOWN = "1"
-S = "${WORKDIR}/git"
VIMDIR = "vim${@d.getVar('PV').split('.')[0]}${@d.getVar('PV').split('.')[1]}"
@@ -12,7 +12,6 @@ UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)"
SRCREV = "e626a72bc2321cd320e953a0ccf1584cad60f363"
-S = "${WORKDIR}/git"
CFLAGS += "${@bb.utils.contains('SELECTED_OPTIMIZATION', '-Og', '-DXXH_NO_INLINE_HINTS', '', d)}"
@@ -336,9 +336,9 @@ def appendsrc(args, files, rd, extralines=None):
src_destdir = os.path.dirname(srcfile)
if not args.use_workdir:
if rd.getVar('S') == rd.getVar('STAGING_KERNEL_DIR'):
- srcdir = os.path.join(workdir, 'git')
+ srcdir = os.path.join(workdir, rd.getVar('BB_GIT_DEFAULT_DESTSUFFIX'))
if not bb.data.inherits_class('kernel-yocto', rd):
- logger.warning('S == STAGING_KERNEL_DIR and non-kernel-yocto, unable to determine path to srcdir, defaulting to ${WORKDIR}/git')
+ logger.warning('S == STAGING_KERNEL_DIR and non-kernel-yocto, unable to determine path to srcdir, defaulting to ${WORKDIR}/${BB_GIT_DEFAULT_DESTSUFFIX}')
src_destdir = os.path.join(os.path.relpath(srcdir, workdir), src_destdir)
src_destdir = os.path.normpath(src_destdir)
@@ -637,7 +637,6 @@ def create_recipe(args):
if len(splitline) > 1:
if splitline[0] == 'origin' and scriptutils.is_src_url(splitline[1]):
srcuri = reformat_git_uri(splitline[1]) + ';branch=master'
- srcsubdir = 'git'
break
if args.src_subdir:
@@ -839,7 +838,7 @@ def create_recipe(args):
line = line.replace(realpv, '${PV}')
if pn:
line = line.replace(pn, '${BPN}')
- if line == 'S = "${WORKDIR}/${BPN}-${PV}"':
+ if line == 'S = "${WORKDIR}/${BPN}-${PV}"' or 'tmp-recipetool-' in line:
skipblank = True
continue
elif line.startswith('SRC_URI = '):