diff options
author | Saul Wold <sgw@linux.intel.com> | 2011-12-01 14:45:39 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-01-03 12:14:30 +0000 |
commit | 0203b2b3af5858931fc82072551a264ec4506d52 (patch) | |
tree | 28946aa775299947330f4a02a100738ee7feaa64 /meta/recipes-core/util-linux | |
parent | 60a8f94c00101eff39428ff7548f45ffe1233103 (diff) | |
download | poky-0203b2b3af5858931fc82072551a264ec4506d52.tar.gz |
util-linux: Update to 2.20.1
Add patch remove setting CC, LD and LDFLAGS on commandline
since they are passed correctly via configure. Those setting
also caused the configure information about -std=gnu99 from
being passed correctly.
Removed patch that was fixed upstream
Added scanf configuration, since this is a cross-compile target check
libuuid removed an API that e2fsprogs uuidd used (uuid__generate_*),
thus we disable it in this patch and will now provide uuidd from
util-linux.
See http://sourceforge.net/projects/e2fsprogs/forums/forum/7053/topic/4639484
(From OE-Core rev: fdaf4e791fcacb48ea430ec768ad9a6919c65ce0)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/util-linux')
-rw-r--r-- | meta/recipes-core/util-linux/util-linux-2.20.1/MCONFIG (renamed from meta/recipes-core/util-linux/util-linux-2.19.1/MCONFIG) | 0 | ||||
-rw-r--r-- | meta/recipes-core/util-linux/util-linux-2.20.1/defines.h (renamed from meta/recipes-core/util-linux/util-linux-2.19.1/defines.h) | 0 | ||||
-rw-r--r-- | meta/recipes-core/util-linux/util-linux-2.20.1/make_include (renamed from meta/recipes-core/util-linux/util-linux-2.19.1/make_include) | 0 | ||||
-rw-r--r-- | meta/recipes-core/util-linux/util-linux-2.20.1/remove-lscpu.patch (renamed from meta/recipes-core/util-linux/util-linux-2.19.1/remove-lscpu.patch) | 0 | ||||
-rw-r--r-- | meta/recipes-core/util-linux/util-linux-2.20.1/remove_sigsetmark.patch (renamed from meta/recipes-core/util-linux/util-linux-2.19.1/remove_sigsetmark.patch) | 0 | ||||
-rw-r--r-- | meta/recipes-core/util-linux/util-linux-2.20.1/swapargs.h (renamed from meta/recipes-core/util-linux/util-linux-2.19.1/swapargs.h) | 0 | ||||
-rw-r--r-- | meta/recipes-core/util-linux/util-linux-2.20.1/uclibc-__progname-conflict.patch (renamed from meta/recipes-core/util-linux/util-linux-2.19.1/uclibc-__progname-conflict.patch) | 0 | ||||
-rw-r--r-- | meta/recipes-core/util-linux/util-linux-2.20.1/uclibc-compile.patch (renamed from meta/recipes-core/util-linux/util-linux-2.19.1/uclibc-compile.patch) | 0 | ||||
-rw-r--r-- | meta/recipes-core/util-linux/util-linux-2.20.1/util-linux-ng-2.16-mount_lock_path.patch (renamed from meta/recipes-core/util-linux/util-linux-2.19.1/util-linux-ng-2.16-mount_lock_path.patch) | 0 | ||||
-rw-r--r-- | meta/recipes-core/util-linux/util-linux-2.20.1/util-linux-ng-replace-siginterrupt.patch (renamed from meta/recipes-core/util-linux/util-linux-2.19.1/util-linux-ng-replace-siginterrupt.patch) | 0 | ||||
-rw-r--r-- | meta/recipes-core/util-linux/util-linux.inc | 6 | ||||
-rw-r--r-- | meta/recipes-core/util-linux/util-linux_2.20.1.bb (renamed from meta/recipes-core/util-linux/util-linux_2.19.1.bb) | 11 |
12 files changed, 7 insertions, 10 deletions
diff --git a/meta/recipes-core/util-linux/util-linux-2.19.1/MCONFIG b/meta/recipes-core/util-linux/util-linux-2.20.1/MCONFIG index 3fea2c02d7..3fea2c02d7 100644 --- a/meta/recipes-core/util-linux/util-linux-2.19.1/MCONFIG +++ b/meta/recipes-core/util-linux/util-linux-2.20.1/MCONFIG | |||
diff --git a/meta/recipes-core/util-linux/util-linux-2.19.1/defines.h b/meta/recipes-core/util-linux/util-linux-2.20.1/defines.h index 6ce6b86df5..6ce6b86df5 100644 --- a/meta/recipes-core/util-linux/util-linux-2.19.1/defines.h +++ b/meta/recipes-core/util-linux/util-linux-2.20.1/defines.h | |||
diff --git a/meta/recipes-core/util-linux/util-linux-2.19.1/make_include b/meta/recipes-core/util-linux/util-linux-2.20.1/make_include index e6abcd91f7..e6abcd91f7 100644 --- a/meta/recipes-core/util-linux/util-linux-2.19.1/make_include +++ b/meta/recipes-core/util-linux/util-linux-2.20.1/make_include | |||
diff --git a/meta/recipes-core/util-linux/util-linux-2.19.1/remove-lscpu.patch b/meta/recipes-core/util-linux/util-linux-2.20.1/remove-lscpu.patch index afa50f46b8..afa50f46b8 100644 --- a/meta/recipes-core/util-linux/util-linux-2.19.1/remove-lscpu.patch +++ b/meta/recipes-core/util-linux/util-linux-2.20.1/remove-lscpu.patch | |||
diff --git a/meta/recipes-core/util-linux/util-linux-2.19.1/remove_sigsetmark.patch b/meta/recipes-core/util-linux/util-linux-2.20.1/remove_sigsetmark.patch index 02e4d16ff7..02e4d16ff7 100644 --- a/meta/recipes-core/util-linux/util-linux-2.19.1/remove_sigsetmark.patch +++ b/meta/recipes-core/util-linux/util-linux-2.20.1/remove_sigsetmark.patch | |||
diff --git a/meta/recipes-core/util-linux/util-linux-2.19.1/swapargs.h b/meta/recipes-core/util-linux/util-linux-2.20.1/swapargs.h index e960eef05f..e960eef05f 100644 --- a/meta/recipes-core/util-linux/util-linux-2.19.1/swapargs.h +++ b/meta/recipes-core/util-linux/util-linux-2.20.1/swapargs.h | |||
diff --git a/meta/recipes-core/util-linux/util-linux-2.19.1/uclibc-__progname-conflict.patch b/meta/recipes-core/util-linux/util-linux-2.20.1/uclibc-__progname-conflict.patch index 45826b180a..45826b180a 100644 --- a/meta/recipes-core/util-linux/util-linux-2.19.1/uclibc-__progname-conflict.patch +++ b/meta/recipes-core/util-linux/util-linux-2.20.1/uclibc-__progname-conflict.patch | |||
diff --git a/meta/recipes-core/util-linux/util-linux-2.19.1/uclibc-compile.patch b/meta/recipes-core/util-linux/util-linux-2.20.1/uclibc-compile.patch index 75774d8200..75774d8200 100644 --- a/meta/recipes-core/util-linux/util-linux-2.19.1/uclibc-compile.patch +++ b/meta/recipes-core/util-linux/util-linux-2.20.1/uclibc-compile.patch | |||
diff --git a/meta/recipes-core/util-linux/util-linux-2.19.1/util-linux-ng-2.16-mount_lock_path.patch b/meta/recipes-core/util-linux/util-linux-2.20.1/util-linux-ng-2.16-mount_lock_path.patch index 5773d7ea1b..5773d7ea1b 100644 --- a/meta/recipes-core/util-linux/util-linux-2.19.1/util-linux-ng-2.16-mount_lock_path.patch +++ b/meta/recipes-core/util-linux/util-linux-2.20.1/util-linux-ng-2.16-mount_lock_path.patch | |||
diff --git a/meta/recipes-core/util-linux/util-linux-2.19.1/util-linux-ng-replace-siginterrupt.patch b/meta/recipes-core/util-linux/util-linux-2.20.1/util-linux-ng-replace-siginterrupt.patch index c5c0affcb8..c5c0affcb8 100644 --- a/meta/recipes-core/util-linux/util-linux-2.19.1/util-linux-ng-replace-siginterrupt.patch +++ b/meta/recipes-core/util-linux/util-linux-2.20.1/util-linux-ng-replace-siginterrupt.patch | |||
diff --git a/meta/recipes-core/util-linux/util-linux.inc b/meta/recipes-core/util-linux/util-linux.inc index acc4a39c49..5445f4f7cd 100644 --- a/meta/recipes-core/util-linux/util-linux.inc +++ b/meta/recipes-core/util-linux/util-linux.inc | |||
@@ -18,7 +18,7 @@ DEPENDS = "zlib ncurses" | |||
18 | DEPENDS_virtclass-native = " lzo-native" | 18 | DEPENDS_virtclass-native = " lzo-native" |
19 | 19 | ||
20 | 20 | ||
21 | SRC_URI = "${KERNELORG_MIRROR}/linux/utils/util-linux-ng/v${MAJOR_VERSION}/util-linux-${PV}.tar.bz2 \ | 21 | SRC_URI = "ftp://ftp.infradead.org/pub/util-linux/v${MAJOR_VERSION}/util-linux-${PV}.tar.bz2 \ |
22 | file://MCONFIG \ | 22 | file://MCONFIG \ |
23 | file://swapargs.h \ | 23 | file://swapargs.h \ |
24 | file://defines.h \ | 24 | file://defines.h \ |
@@ -78,9 +78,7 @@ do_compile () { | |||
78 | install ${WORKDIR}/make_include ${S}/make_include | 78 | install ${WORKDIR}/make_include ${S}/make_include |
79 | install ${WORKDIR}/swapargs.h ${S}/mount/swapargs.h | 79 | install ${WORKDIR}/swapargs.h ${S}/mount/swapargs.h |
80 | install ${WORKDIR}/defines.h ${S}/defines.h | 80 | install ${WORKDIR}/defines.h ${S}/defines.h |
81 | oe_runmake ARCH=${TARGET_ARCH} CPU= CPUOPT= \ | 81 | oe_runmake ARCH=${TARGET_ARCH} CPU= CPUOPT= 'OPT=${CFLAGS}' |
82 | 'OPT=${CFLAGS}' 'CC=${CC}' 'LD=${LD}' \ | ||
83 | 'LDFLAGS=${LDFLAGS}' | ||
84 | } | 82 | } |
85 | 83 | ||
86 | checklink() { | 84 | checklink() { |
diff --git a/meta/recipes-core/util-linux/util-linux_2.19.1.bb b/meta/recipes-core/util-linux/util-linux_2.20.1.bb index 82040eff78..a569131eab 100644 --- a/meta/recipes-core/util-linux/util-linux_2.19.1.bb +++ b/meta/recipes-core/util-linux/util-linux_2.20.1.bb | |||
@@ -1,5 +1,5 @@ | |||
1 | MAJOR_VERSION = "2.19" | 1 | MAJOR_VERSION = "2.20" |
2 | PR = "r12" | 2 | PR = "r0" |
3 | require util-linux.inc | 3 | require util-linux.inc |
4 | 4 | ||
5 | # note that `lscpu' is under GPLv3+ | 5 | # note that `lscpu' is under GPLv3+ |
@@ -8,11 +8,10 @@ LICENSE_util-linux-lscpu = "GPLv3+" | |||
8 | SRC_URI += "file://util-linux-ng-replace-siginterrupt.patch \ | 8 | SRC_URI += "file://util-linux-ng-replace-siginterrupt.patch \ |
9 | file://util-linux-ng-2.16-mount_lock_path.patch \ | 9 | file://util-linux-ng-2.16-mount_lock_path.patch \ |
10 | file://uclibc-__progname-conflict.patch \ | 10 | file://uclibc-__progname-conflict.patch \ |
11 | file://remove_sigsetmark.patch \ | ||
12 | " | 11 | " |
13 | 12 | ||
14 | SRC_URI[md5sum] = "3eab06f05163dfa65479c44e5231932c" | 13 | SRC_URI[md5sum] = "079b37517fd4e002a2e6e992e8b4e361" |
15 | SRC_URI[sha256sum] = "d3eac4afcc687b3ae1ffedcab2dc12df84c7ba7045cce31386d2b7040a011c7d" | 14 | SRC_URI[sha256sum] = "d16ebcda3e64ab88ed363d9c1242cdb7ccfd5e1f56c83d0c3b0638c23793bbe0" |
16 | 15 | ||
17 | # Only lscpu part is gplv3; rest of the code is not, | 16 | # Only lscpu part is gplv3; rest of the code is not, |
18 | # so take out the lscpu parts while running non-gplv3 build. | 17 | # so take out the lscpu parts while running non-gplv3 build. |
@@ -42,7 +41,7 @@ addtask remove_lscpu before do_configure after do_patch | |||
42 | 41 | ||
43 | # fallocate is glibc 2.10, fallocate64 is glibc 2.11 | 42 | # fallocate is glibc 2.10, fallocate64 is glibc 2.11 |
44 | # we need to disable it for older versions | 43 | # we need to disable it for older versions |
45 | EXTRA_OECONF += "ac_cv_func_fallocate=no" | 44 | EXTRA_OECONF += "ac_cv_func_fallocate=no scanf_cv_type_modifier=as" |
46 | EXTRA_OECONF_virtclass-native += "--disable-fallocate --disable-use-tty-group" | 45 | EXTRA_OECONF_virtclass-native += "--disable-fallocate --disable-use-tty-group" |
47 | 46 | ||
48 | do_install_append () { | 47 | do_install_append () { |