diff options
author | Mark Hatle <mark.hatle@windriver.com> | 2013-05-31 15:24:37 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-06-04 15:55:46 +0100 |
commit | cd906fa2a8e1668136597d44af139a502f5b52a5 (patch) | |
tree | 2303ace1a9cf7ccc5c3e03f9dcb5f953b40361b5 /meta/recipes-core/util-linux/util-linux_2.23.bb | |
parent | a0219d879aceb707cac1df14b1b960453681227c (diff) | |
download | poky-cd906fa2a8e1668136597d44af139a502f5b52a5.tar.gz |
util-linux: Add support for older hosts
Older hosts don't support some of the features required by
the latet util-linux. Add workarounds or revert changes to older
versions to make it work.
(From OE-Core rev: da5b23e45c7e4dea2f3802ff5af5c81b08aba201)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
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/util-linux_2.23.bb')
-rw-r--r-- | meta/recipes-core/util-linux/util-linux_2.23.bb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-core/util-linux/util-linux_2.23.bb b/meta/recipes-core/util-linux/util-linux_2.23.bb index 5d9a8dc009..b85df21d00 100644 --- a/meta/recipes-core/util-linux/util-linux_2.23.bb +++ b/meta/recipes-core/util-linux/util-linux_2.23.bb | |||
@@ -2,6 +2,11 @@ MAJOR_VERSION = "2.23" | |||
2 | PR = "r0" | 2 | PR = "r0" |
3 | require util-linux.inc | 3 | require util-linux.inc |
4 | 4 | ||
5 | # To support older hosts, we need to patch and/or revert | ||
6 | # some upstream changes. Only do this for native packages. | ||
7 | OLDHOST = "" | ||
8 | OLDHOST_class-native = "file://util-linux-native.patch" | ||
9 | |||
5 | SRC_URI += "file://util-linux-ng-replace-siginterrupt.patch \ | 10 | SRC_URI += "file://util-linux-ng-replace-siginterrupt.patch \ |
6 | file://util-linux-ng-2.16-mount_lock_path.patch \ | 11 | file://util-linux-ng-2.16-mount_lock_path.patch \ |
7 | file://uclibc-__progname-conflict.patch \ | 12 | file://uclibc-__progname-conflict.patch \ |
@@ -9,6 +14,7 @@ SRC_URI += "file://util-linux-ng-replace-siginterrupt.patch \ | |||
9 | file://fix-configure.patch \ | 14 | file://fix-configure.patch \ |
10 | file://0001-lib-loopdev-fix-loopcxt_check_size-to-work-with-blkd.patch \ | 15 | file://0001-lib-loopdev-fix-loopcxt_check_size-to-work-with-blkd.patch \ |
11 | file://0001-losetup-use-warn_size-for-regular-files-only.patch \ | 16 | file://0001-losetup-use-warn_size-for-regular-files-only.patch \ |
17 | ${OLDHOST} \ | ||
12 | " | 18 | " |
13 | 19 | ||
14 | SRC_URI[md5sum] = "7bd10387f1aa00efaa4b07dfa13215bc" | 20 | SRC_URI[md5sum] = "7bd10387f1aa00efaa4b07dfa13215bc" |