Add 0001-usr-Makefile-WARNING-fix.patch to avoid build WARNING. Signed-off-by: Li Xin <[email protected]> --- .../tgt/files/0001-usr-Makefile-WARNING-fix.patch | 31 ++++++++++++++++++++++ meta-openstack/recipes-support/tgt/tgt_git.bb | 5 ++-- 2 files changed, 34 insertions(+), 2 deletions(-) create mode 100644 meta-openstack/recipes-support/tgt/files/0001-usr-Makefile-WARNING-fix.patch
diff --git a/meta-openstack/recipes-support/tgt/files/0001-usr-Makefile-WARNING-fix.patch b/meta-openstack/recipes-support/tgt/files/0001-usr-Makefile-WARNING-fix.patch new file mode 100644 index 0000000..15f5482 --- /dev/null +++ b/meta-openstack/recipes-support/tgt/files/0001-usr-Makefile-WARNING-fix.patch @@ -0,0 +1,31 @@ +From 2a336ec5bf939d86425570617471df60140d839e Mon Sep 17 00:00:00 2001 +From: Li xin <[email protected]> +Date: Sun, 26 Jul 2015 04:23:51 +0900 +Subject: [PATCH] usr/Makefile: WARNING fix WARNING: QA Issue: tgt: + /work/i586-oe-linux/tgt/1.0.60+gitAUTOINC+ab51727a36-r0/ + packages-split/tgt/usr/sbin/tgtd contains probably-redundant RPATH /usr/lib + [useless-rpaths] + +Upstream-Status: pending + +Signed-off-by: Li Xin <[email protected]> +--- + usr/Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/usr/Makefile b/usr/Makefile +index 1fae7e7..2db109c 100644 +--- a/usr/Makefile ++++ b/usr/Makefile +@@ -63,7 +63,7 @@ TGTD_OBJS += tgtd.o mgmt.o target.o scsi.o log.o driver.o util.o work.o \ + + TGTD_DEP = $(TGTD_OBJS:.o=.d) + +-LDFLAGS = -Wl,-E,-rpath=$(libdir) ++LDFLAGS = -Wl,-E + + .PHONY:all + all: $(PROGRAMS) $(MODULES) +-- +1.8.4.2 + diff --git a/meta-openstack/recipes-support/tgt/tgt_git.bb b/meta-openstack/recipes-support/tgt/tgt_git.bb index fe34858..a5df710 100644 --- a/meta-openstack/recipes-support/tgt/tgt_git.bb +++ b/meta-openstack/recipes-support/tgt/tgt_git.bb @@ -4,12 +4,13 @@ LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://scripts/tgtd.spec;beginline=7;endline=7;md5=21c19ea7dad04648b9c2f791b6e29b4c" DEPENDS = "sg3-utils" -SRCREV = "3f779c0338fa7a97d5d0defbdb3ad06167b791d3" -PV = "1.0.37+git${SRCPV}" +SRCREV = "ab51727a361bf296b1c2036375b5e45479059921" +PV = "1.0.60+git${SRCPV}" PR = "r0" SRC_URI = "git://github.com/fujita/tgt.git \ file://0001-Correct-the-path-of-header-files-check-in-Yocto-buil.patch \ + file://0001-usr-Makefile-WARNING-fix.patch \ " SRC_URI += "file://tgtd.init" -- 1.8.4.2 -- _______________________________________________ meta-virtualization mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-virtualization
