SPECS: device-mapper.spec - workaround to get device-mapper-initrd...
glen
glen at pld-linux.org
Tue Oct 23 17:52:23 CEST 2007
Author: glen Date: Tue Oct 23 15:52:23 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- workaround to get device-mapper-initrd on ac system
---- Files affected:
SPECS:
device-mapper.spec (1.86 -> 1.87)
---- Diffs:
================================================================
Index: SPECS/device-mapper.spec
diff -u SPECS/device-mapper.spec:1.86 SPECS/device-mapper.spec:1.87
--- SPECS/device-mapper.spec:1.86 Mon Sep 17 17:34:48 2007
+++ SPECS/device-mapper.spec Tue Oct 23 17:52:18 2007
@@ -15,7 +15,7 @@
Summary(pl.UTF-8): Wsparcie dla mapowania urządzeń w przestrzeni użytkownika
Name: device-mapper
Version: 1.02.22
-Release: 2
+Release: 2.1
License: LGPL v2.1 (library), GPL v2 (executables)
Group: Applications/System
Source0: ftp://sources.redhat.com/pub/dm/%{name}.%{version}.tgz
@@ -158,6 +158,10 @@
--with-interface=ioctl \
--disable-nls
sed -i -e 's#rpl_malloc#malloc#g' include/configure.h
+# On AC it successfully finds canonicalize_file_name() from glibc's libc.a
+# On TH it it fails to do anything with libc.a due link errors (undefined reference to `_Unwind_Resume', undefined reference to `__gcc_personality_v0', ...)
+# really it should check func from klibc libc.a
+sed -i -e 's,#define HAVE_CANONICALIZE_FILE_NAME 1,#undef HAVE_CANONICALIZE_FILE_NAME,' include/configure.h
%{__make}
cp -a dmsetup/dmsetup.static initrd-dmsetup
@@ -277,6 +281,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.87 2007/10/23 15:52:18 glen
+- workaround to get device-mapper-initrd on ac system
+
Revision 1.86 2007/09/17 15:34:48 baggins
- rel 2
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/device-mapper.spec?r1=1.86&r2=1.87&f=u
More information about the pld-cvs-commit
mailing list