From e9c9fa8355af5ebe18fc33c414ba2b5c6d7958d3 Mon Sep 17 00:00:00 2001 From: Donn Seeley Date: Tue, 25 Feb 2014 17:44:04 +0800 Subject: dpkg: fix a link problem for dpkg-native on CentOS 5.8 [ CQID: WIND00392830 ] CentOS 5.8 provides the kernel support and headers for the sync_file_range() syscall, but glibc 2.5 doesn't implement the sync_file_range() syscall stub, so we can't link dpkg-native. Add a patch that makes dpkg require a glibc version >= 2.6 in order to use sync_file_range(). Signed-off-by: Donn Seeley Signed-off-by: Lei Liu Signed-off-by: Randy MacLeod Signed-off-by: Jeff Polk Signed-off-by: Robert Yang Signed-off-by: Richard Purdie (cherry picked from commit 197dfda0d971e5e423f1b04a13fbe7ab22d2e874) Signed-off-by: Andreas Oberritter --- meta/recipes-devtools/dpkg/dpkg_1.17.4.bb | 1 + 1 file changed, 1 insertion(+) (limited to 'meta/recipes-devtools/dpkg/dpkg_1.17.4.bb') diff --git a/meta/recipes-devtools/dpkg/dpkg_1.17.4.bb b/meta/recipes-devtools/dpkg/dpkg_1.17.4.bb index b27e6f450e..5e407ba2b2 100644 --- a/meta/recipes-devtools/dpkg/dpkg_1.17.4.bb +++ b/meta/recipes-devtools/dpkg/dpkg_1.17.4.bb @@ -10,6 +10,7 @@ SRC_URI += "file://noman.patch \ file://fix-abs-redefine.patch \ file://arch_pm.patch \ file://dpkg-configure.service \ + file://glibc2.5-sync_file_range.patch \ " SRC_URI[md5sum] = "cc25086e1e3bd9512a95f14cfe9002e1" -- cgit 1.2.3-korg