recipes: update SRC_URI branch and protocols
PATCH 1/2 recipes: update SRC_URI branch and protocols
Update SRC_URIs using git to include branch=master if no branch is set and also to use protocol=https for github urls.
Signed-off-by Yi Zhao <[email protected]>
--- recipes-security/refpolicy/refpolicy_git.inc | 2 +- recipes-security/selinux/selinux_common.inc | 2 +- recipes-security/setools/setools_4.4.0.bb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
recipes-security/refpolicy/refpolicy_git.inc +1 -1
@@ -1,6 +1,6 @@ PV = "2.20210203+git${SRCPV}" -SRC_URI = "git://github.com/SELinuxProject/refpolicy.git;protocol=git;branch=master;name=refpolicy;destsuffix=refpolicy" +SRC_URI = "git://github.com/SELinuxProject/refpolicy.git;protocol=https;branch=master;name=refpolicy;destsuffix=refpolicy" SRCREV_refpolicy ?= "1167739da1882f9c89281095d2595da5ea2d9d6b"
recipes-security/selinux/selinux_common.inc +1 -1
@@ -1,6 +1,6 @@ HOMEPAGE = "https://github.com/SELinuxProject" -SRC_URI = "git://github.com/SELinuxProject/selinux.git" +SRC_URI = "git://github.com/SELinuxProject/selinux.git;branch=master;protocol=https" SRCREV = "cf853c1a0c2328ad6c62fb2b2cc55d4926301d6b" UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+)"
recipes-security/setools/setools_4.4.0.bb +1 -1
@@ -9,7 +9,7 @@ SECTION = "base" LICENSE = "GPLv2 & LGPLv2.1" S = "${WORKDIR}/git" -SRC_URI = "git://github.com/SELinuxProject/${BPN}.git;branch=4.4 \ +SRC_URI = "git://github.com/SELinuxProject/${BPN}.git;branch=4.4;protocol=https \ file://setools4-fixes-for-cross-compiling.patch \ "
Signature · 1 line
2.25.1
PATCH 2/2 bind: remove volatile file
This file is not needed anymore as bind daemon will create them by itself.
Signed-off-by Yi Zhao <[email protected]>
--- recipes-connectivity/bind/bind_selinux.inc | 7 ------- recipes-connectivity/bind/files/volatiles.04_bind | 4 ---- 2 files changed, 11 deletions(-) delete mode 100644 recipes-connectivity/bind/files/volatiles.04_bind
recipes-connectivity/bind/bind_selinux.inc +0 -7
@@ -1,11 +1,4 @@ -FILESEXTRAPATHS:prepend := "${THISDIR}/files:" - -SRC_URI += "file://volatiles.04_bind" - do_install:append() { - install -d ${D}${sysconfdir}/default/volatiles - install -m 0644 ${WORKDIR}/volatiles.04_bind ${D}${sysconfdir}/default/volatiles/04_bind - sed -i '/^\s*\/usr\/sbin\/rndc-confgen/a\ [ -x /sbin/restorecon ] && /sbin/restorecon -F /etc/bind/rndc.key' ${D}${sysconfdir}/init.d/bind }
recipes-connectivity/bind/files/volatiles.04_bind deleted +0 -4
@@ -1,4 +0,0 @@ -# <type> <owner> <group> <mode> <path> <linksource> -d root root 0755 /var/run/named none -d root root 0755 /var/run/bind/run none -d root root 0755 /var/cache/bind none
Signature · 1 line
2.25.1