[meta-oe][PATCH 1/2] cpufrequtils: fetch from git.kernel.org, mark PV as post-release

Alex Kiernan <[email protected]>
Newsgroups org.openembedded.lists.openembedded-devel
Message-ID <[email protected]>
SRC_URI pointed at github.com/emagii/cpufrequtils. The canonical upstream
repository is still live and its master HEAD is exactly the SRCREV pinned
here, a2f0c39d, so the source is unchanged. The kernel.org URL was already
in the recipe, commented out and malformed (unterminated quote). Both git://
and https:// serve it today, so there was no technical reason for the
mirror; https is used per the usual preference.

The pinned revision is 8 commits past the 008 release that the tarball at
kernel.org/pub/linux/utils/kernel/cpufreq/ contains - removal of the /proc
interface, Catalan translations, MAX_LINE_LEN, two x86 aperf fixes, and the
"make NLS optional" commit that introduces the NLS switch this recipe
relies on. PV gains +git so it stops claiming to be the 2010 release.

Shell function bodies are reindented to tabs. No functional change.

AI-Generated: Claude Opus 5 (Claude Code)
Signed-off-by: Alex Kiernan <[email protected]>
---
 meta-oe/recipes-bsp/cpufrequtils/cpufrequtils_008.bb | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/meta-oe/recipes-bsp/cpufrequtils/cpufrequtils_008.bb b/meta-oe/recipes-bsp/cpufrequtils/cpufrequtils_008.bb
index 9e23a4b67da7..4df67ca3eaec 100644
--- a/meta-oe/recipes-bsp/cpufrequtils/cpufrequtils_008.bb
+++ b/meta-oe/recipes-bsp/cpufrequtils/cpufrequtils_008.bb
@@ -8,9 +8,9 @@ LICENSE = "GPL-2.0-only"
 LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
 
 SRCREV = "a2f0c39d5f21596bb9f5223e895c0ff210b265d0"
-# SRC_URI = "git://git.kernel.org/pub/scm/utils/kernel/cpufreq/cpufrequtils.git
+PV .= "+git"
 
-SRC_URI = "git://github.com/emagii/cpufrequtils.git;branch=master;protocol=https \
+SRC_URI = "git://git.kernel.org/pub/scm/utils/kernel/cpufreq/cpufrequtils.git;branch=master;protocol=https \
            file://0001-dont-unset-cflags.patch \
 "
 
@@ -26,13 +26,13 @@ TARGET_CC_ARCH += "${LDFLAGS}"
 EXTRA_OEMAKE = "V=1 CROSS=${TARGET_PREFIX} STRIPCMD=echo 'CP=cp'"
 
 do_compile() {
-    oe_runmake
+	oe_runmake
 }
 
 do_install() {
-    oe_runmake -e install DESTDIR=${D}
-    rm -f ${D}${libdir}/libcpufreq.so.0 ${D}${libdir}/libcpufreq.so
-    ln -s libcpufreq.so.0.0.0 ${D}${libdir}/libcpufreq.so.0
-    ln -s libcpufreq.so.0.0.0 ${D}${libdir}/libcpufreq.so
+	oe_runmake -e install DESTDIR=${D}
+	rm -f ${D}${libdir}/libcpufreq.so.0 ${D}${libdir}/libcpufreq.so
+	ln -s libcpufreq.so.0.0.0 ${D}${libdir}/libcpufreq.so.0
+	ln -s libcpufreq.so.0.0.0 ${D}${libdir}/libcpufreq.so
 }
 

-- 
2.43.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.