mirror of
https://git.yoctoproject.org/poky
synced 2026-06-21 22:53:48 +02:00
Following up on commit 139102a73d41 ("recipes: Default to https git protocol where possible"),
> The recommendation from server maintainers is that the https protocol
> is both faster and more reliable than the dedicated git protocol at this point.
> Switch to it where possible.
Use ";protocol=https" for the parent git submodule and, also, update the
SRCREV to point to a commit where submodules are reference through a
https:// URL instead of a git:// one.
Update the expected output of the archiver test.
(cherry picked from commit 5c78db972f1b97ce67c8c461a2d389b9248793db)
(From OE-Core rev: d839f4908ae6fb54c85bea5b658c23bfa9dc34da)
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Paul Barker <paul@pbarker.dev>
27 lines
735 B
BlitzBasic
27 lines
735 B
BlitzBasic
SUMMARY = "Test recipe for fetching git submodules"
|
|
HOMEPAGE = "http://git.yoctoproject.org/cgit/cgit.cgi/git-submodule-test/"
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
|
|
|
|
INHIBIT_DEFAULT_DEPS = "1"
|
|
|
|
UPSTREAM_VERSION_UNKNOWN = "1"
|
|
|
|
SRC_URI = "gitsm://git.yoctoproject.org/git-submodule-test;branch=master;protocol=https"
|
|
SRCREV = "f280847494763cdcf71197557a81ba7d8a6bce42"
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
do_test_git_as_user() {
|
|
cd ${S}
|
|
git status
|
|
}
|
|
addtask test_git_as_user after do_unpack
|
|
|
|
fakeroot do_test_git_as_root() {
|
|
cd ${S}
|
|
git status
|
|
}
|
|
do_test_git_as_root[depends] += "virtual/fakeroot-native:do_populate_sysroot"
|
|
addtask test_git_as_root after do_unpack
|