mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 12:29:55 +00:00
kmod: Upgrade to latest git
Update to version 18 with an additional patch from the git repo to address an issue. (From OE-Core rev: 5a16da19eda60992e094b38ebb185875529b3b4c) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
4971febcdf
commit
5effba2788
@@ -16,9 +16,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \
|
|||||||
"
|
"
|
||||||
inherit autotools gtk-doc ptest
|
inherit autotools gtk-doc ptest
|
||||||
|
|
||||||
SRCREV = "49d8e0b59052999de577ab732b719cfbeb89504d"
|
SRCREV = "ae58de0fcb4a6528dd365e23d383bbe2eaf2d566"
|
||||||
# Lookout for PV bump too when SRCREV is changed
|
# Lookout for PV bump too when SRCREV is changed
|
||||||
PV = "17+git${SRCPV}"
|
PV = "18+git${SRCPV}"
|
||||||
|
|
||||||
SRC_URI = "git://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git \
|
SRC_URI = "git://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git \
|
||||||
file://depmod-search.conf \
|
file://depmod-search.conf \
|
||||||
@@ -26,6 +26,7 @@ SRC_URI = "git://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git \
|
|||||||
file://ptest.patch \
|
file://ptest.patch \
|
||||||
file://avoid_parallel_tests.patch \
|
file://avoid_parallel_tests.patch \
|
||||||
file://fix-O_CLOEXEC.patch \
|
file://fix-O_CLOEXEC.patch \
|
||||||
|
file://0001-Add-missing-O_CLOEXEC-in-kmod_module_get_size.patch \
|
||||||
"
|
"
|
||||||
|
|
||||||
S = "${WORKDIR}/git"
|
S = "${WORKDIR}/git"
|
||||||
|
|||||||
+27
@@ -0,0 +1,27 @@
|
|||||||
|
From 74c26943f1228870022d116a1fda25be3a55a38e Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?Cristian=20Rodr=C3=ADguez?= <crrodriguez@opensuse.org>
|
||||||
|
Date: Wed, 18 Jun 2014 20:51:00 -0400
|
||||||
|
Subject: [PATCH] Add missing O_CLOEXEC in kmod_module_get_size()
|
||||||
|
|
||||||
|
Upstream-Status: Backport
|
||||||
|
Signed-off-by: Saul Wold <sgw@linux.intel.com>
|
||||||
|
---
|
||||||
|
libkmod/libkmod-module.c | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/libkmod/libkmod-module.c b/libkmod/libkmod-module.c
|
||||||
|
index e3cc5a7..b81b451 100644
|
||||||
|
--- a/libkmod/libkmod-module.c
|
||||||
|
+++ b/libkmod/libkmod-module.c
|
||||||
|
@@ -1783,7 +1783,7 @@ KMOD_EXPORT long kmod_module_get_size(const struct kmod_module *mod)
|
||||||
|
* loaded.
|
||||||
|
*/
|
||||||
|
snprintf(line, sizeof(line), "/sys/module/%s", mod->name);
|
||||||
|
- dfd = open(line, O_RDONLY);
|
||||||
|
+ dfd = open(line, O_RDONLY|O_CLOEXEC);
|
||||||
|
if (dfd < 0)
|
||||||
|
return -errno;
|
||||||
|
|
||||||
|
--
|
||||||
|
1.8.3.1
|
||||||
|
|
||||||
Reference in New Issue
Block a user