diff options
| -rw-r--r-- | meta-filesystems/recipes-utils/xfsprogs/files/link_needed_libs.patch | 45 | ||||
| -rw-r--r-- | meta-filesystems/recipes-utils/xfsprogs/xfsprogs_4.10.0.bb (renamed from meta-filesystems/recipes-utils/xfsprogs/xfsprogs_4.8.0.bb) | 9 |
2 files changed, 40 insertions, 14 deletions
diff --git a/meta-filesystems/recipes-utils/xfsprogs/files/link_needed_libs.patch b/meta-filesystems/recipes-utils/xfsprogs/files/link_needed_libs.patch index 18b95c1c3f..1de634ed78 100644 --- a/meta-filesystems/recipes-utils/xfsprogs/files/link_needed_libs.patch +++ b/meta-filesystems/recipes-utils/xfsprogs/files/link_needed_libs.patch | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | Index: xfsprogs-4.8.0/libxcmd/Makefile | 1 | Index: xfsprogs-4.10.0/libxcmd/Makefile |
| 2 | =================================================================== | 2 | =================================================================== |
| 3 | --- xfsprogs-4.8.0.orig/libxcmd/Makefile | 3 | --- xfsprogs-4.10.0.orig/libxcmd/Makefile |
| 4 | +++ xfsprogs-4.8.0/libxcmd/Makefile | 4 | +++ xfsprogs-4.10.0/libxcmd/Makefile |
| 5 | @@ -30,10 +30,21 @@ LCFLAGS += -DENABLE_EDITLINE | 5 | @@ -30,10 +30,21 @@ LCFLAGS += -DENABLE_EDITLINE |
| 6 | LTLIBS += $(LIBEDITLINE) $(LIBTERMCAP) | 6 | LTLIBS += $(LIBEDITLINE) $(LIBTERMCAP) |
| 7 | endif | 7 | endif |
| @@ -25,10 +25,10 @@ Index: xfsprogs-4.8.0/libxcmd/Makefile | |||
| 25 | + $(INSTALL_LTLIB_DEV) | 25 | + $(INSTALL_LTLIB_DEV) |
| 26 | 26 | ||
| 27 | -include .ltdep | 27 | -include .ltdep |
| 28 | Index: xfsprogs-4.8.0/libxfs/Makefile | 28 | Index: xfsprogs-4.10.0/libxfs/Makefile |
| 29 | =================================================================== | 29 | =================================================================== |
| 30 | --- xfsprogs-4.8.0.orig/libxfs/Makefile | 30 | --- xfsprogs-4.10.0.orig/libxfs/Makefile |
| 31 | +++ xfsprogs-4.8.0/libxfs/Makefile | 31 | +++ xfsprogs-4.10.0/libxfs/Makefile |
| 32 | @@ -137,6 +137,7 @@ include $(BUILDRULES) | 32 | @@ -137,6 +137,7 @@ include $(BUILDRULES) |
| 33 | 33 | ||
| 34 | install: default | 34 | install: default |
| @@ -37,10 +37,10 @@ Index: xfsprogs-4.8.0/libxfs/Makefile | |||
| 37 | 37 | ||
| 38 | install-headers: $(addsuffix -hdrs, $(PKGHFILES)) | 38 | install-headers: $(addsuffix -hdrs, $(PKGHFILES)) |
| 39 | 39 | ||
| 40 | Index: xfsprogs-4.8.0/libxlog/Makefile | 40 | Index: xfsprogs-4.10.0/libxlog/Makefile |
| 41 | =================================================================== | 41 | =================================================================== |
| 42 | --- xfsprogs-4.8.0.orig/libxlog/Makefile | 42 | --- xfsprogs-4.10.0.orig/libxlog/Makefile |
| 43 | +++ xfsprogs-4.8.0/libxlog/Makefile | 43 | +++ xfsprogs-4.10.0/libxlog/Makefile |
| 44 | @@ -19,6 +19,10 @@ default: ltdepend $(LTLIBRARY) | 44 | @@ -19,6 +19,10 @@ default: ltdepend $(LTLIBRARY) |
| 45 | 45 | ||
| 46 | include $(BUILDRULES) | 46 | include $(BUILDRULES) |
| @@ -53,3 +53,30 @@ Index: xfsprogs-4.8.0/libxlog/Makefile | |||
| 53 | + $(INSTALL_LTLIB_DEV) | 53 | + $(INSTALL_LTLIB_DEV) |
| 54 | 54 | ||
| 55 | -include .ltdep | 55 | -include .ltdep |
| 56 | Index: xfsprogs-4.10.0/io/Makefile | ||
| 57 | =================================================================== | ||
| 58 | --- xfsprogs-4.10.0.orig/io/Makefile | ||
| 59 | +++ xfsprogs-4.10.0/io/Makefile | ||
| 60 | @@ -13,7 +13,7 @@ | ||
| 61 | getrusage.c imap.c link.c mmap.c open.c parent.c pread.c prealloc.c \ | ||
| 62 | pwrite.c reflink.c seek.c shutdown.c sync.c truncate.c utimes.c | ||
| 63 | |||
| 64 | -LLDLIBS = $(LIBXCMD) $(LIBHANDLE) $(LIBPTHREAD) | ||
| 65 | +LLDLIBS = $(LIBXCMD) $(LIBHANDLE) $(LIBUUID) $(LIBPTHREAD) | ||
| 66 | LTDEPENDENCIES = $(LIBXCMD) $(LIBHANDLE) | ||
| 67 | LLDFLAGS = -static-libtool-libs | ||
| 68 | |||
| 69 | Index: xfsprogs-4.10.0/quota/Makefile | ||
| 70 | =================================================================== | ||
| 71 | --- xfsprogs-4.10.0.orig/quota/Makefile | ||
| 72 | +++ xfsprogs-4.10.0/quotq/Makefile | ||
| 73 | @@ -14,7 +14,7 @@ | ||
| 74 | PCFILES = darwin.c freebsd.c irix.c linux.c | ||
| 75 | LSRCFILES = $(shell echo $(PCFILES) | sed -e "s/$(PKG_PLATFORM).c//g") | ||
| 76 | |||
| 77 | -LLDLIBS = $(LIBXCMD) | ||
| 78 | +LLDLIBS = $(LIBXCMD) $(LIBUUID) | ||
| 79 | LTDEPENDENCIES = $(LIBXCMD) | ||
| 80 | LLDFLAGS = -static | ||
| 81 | |||
| 82 | |||
diff --git a/meta-filesystems/recipes-utils/xfsprogs/xfsprogs_4.8.0.bb b/meta-filesystems/recipes-utils/xfsprogs/xfsprogs_4.10.0.bb index b4c50a2f2a..f7e10cdfba 100644 --- a/meta-filesystems/recipes-utils/xfsprogs/xfsprogs_4.8.0.bb +++ b/meta-filesystems/recipes-utils/xfsprogs/xfsprogs_4.10.0.bb | |||
| @@ -3,18 +3,19 @@ HOMEPAGE = "http://oss.sgi.com/projects/xfs" | |||
| 3 | SECTION = "base" | 3 | SECTION = "base" |
| 4 | LICENSE = "GPLv2 & LGPLv2.1" | 4 | LICENSE = "GPLv2 & LGPLv2.1" |
| 5 | LICENSE_libhandle = "LGPLv2.1" | 5 | LICENSE_libhandle = "LGPLv2.1" |
| 6 | LIC_FILES_CHKSUM = "file://doc/COPYING;md5=dbdb5f4329b7e7145de650e9ecd4ac2a" | 6 | LIC_FILES_CHKSUM = "file://doc/COPYING;md5=102f7fec3d53c7c8f0b7baf9bf9d76a8" |
| 7 | DEPENDS = "util-linux util-linux-native" | 7 | DEPENDS = "util-linux util-linux-native" |
| 8 | SRC_URI = "https://www.kernel.org/pub/linux/utils/fs/xfs/xfsprogs/${BP}.tar.xz \ | 8 | SRC_URI = "https://www.kernel.org/pub/linux/utils/fs/xfs/xfsprogs/${BP}.tar.xz \ |
| 9 | file://link_needed_libs.patch \ | 9 | file://link_needed_libs.patch \ |
| 10 | " | 10 | " |
| 11 | SRC_URI[md5sum] = "4f047bc9a28b48a95c6db0ad5ce4dbcb" | 11 | SRC_URI[md5sum] = "ddbb04493addf014db07a7e2b96b2804" |
| 12 | SRC_URI[sha256sum] = "82ce9cb3a55f4e208e8fe3471ff0aff0602b8300f3e50bdf05cc7e11549686f9" | 12 | SRC_URI[sha256sum] = "d8cb9ab2c686699d37914354ce3992b4aff3677093cbce06ad18bf798da8a8a7" |
| 13 | 13 | ||
| 14 | inherit autotools-brokensep | 14 | inherit autotools-brokensep |
| 15 | 15 | ||
| 16 | PACKAGES =+ "${PN}-fsck ${PN}-mkfs ${PN}-repair libhandle" | 16 | PACKAGES =+ "${PN}-fsck ${PN}-mkfs ${PN}-repair libhandle" |
| 17 | 17 | ||
| 18 | DEPENDS += "util-linux" | ||
| 18 | 19 | ||
| 19 | RDEPENDS_${PN} = "${PN}-fsck ${PN}-mkfs ${PN}-repair" | 20 | RDEPENDS_${PN} = "${PN}-fsck ${PN}-mkfs ${PN}-repair" |
| 20 | 21 | ||
| @@ -54,5 +55,3 @@ do_configure_prepend () { | |||
| 54 | do_install_append() { | 55 | do_install_append() { |
| 55 | oe_runmake 'DESTDIR=${D}' install install-dev | 56 | oe_runmake 'DESTDIR=${D}' install install-dev |
| 56 | } | 57 | } |
| 57 | |||
| 58 | PNBLACKLIST[xfsprogs] ?= "Fails to build with RSS http://errors.yoctoproject.org/Errors/Details/130663/" | ||
