summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOleksandr Kravchuk <open.source@oleksandr-kravchuk.com>2019-09-16 01:42:28 +0200
committerKhem Raj <raj.khem@gmail.com>2019-09-16 07:10:03 -0700
commit70d5ab03180e56c227fa4ef7f2f40503d9832a7c (patch)
tree2d6cb9aee9da63023f74215065dadafb615b73ca
parentde75c63254e2c2e4fd12ab9d4530c3e3cf6ba203 (diff)
downloadmeta-openembedded-70d5ab03180e56c227fa4ef7f2f40503d9832a7c.tar.gz
libbytesize: update to 2.1
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-support/libbytesize/files/0001-fix-out-of-tree-build-failure.patch37
-rw-r--r--meta-oe/recipes-support/libbytesize/libbytesize_2.1.bb (renamed from meta-oe/recipes-support/libbytesize/libbytesize_2.0.bb)6
2 files changed, 2 insertions, 41 deletions
diff --git a/meta-oe/recipes-support/libbytesize/files/0001-fix-out-of-tree-build-failure.patch b/meta-oe/recipes-support/libbytesize/files/0001-fix-out-of-tree-build-failure.patch
deleted file mode 100644
index 3f42c25d7e..0000000000
--- a/meta-oe/recipes-support/libbytesize/files/0001-fix-out-of-tree-build-failure.patch
+++ /dev/null
@@ -1,37 +0,0 @@
1From 55802fd187b844f0c114c1657b18482bfc80ec51 Mon Sep 17 00:00:00 2001
2From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Tue, 2 Jul 2019 02:52:31 +0000
4Subject: [PATCH] fix out of tree build failure
5
6Since commit [116da95 Add the '--version' option to bs_calc.py] applied,
7while build out of tree, there is a install failure
8...
9|install -m0755 ../../git/tools/bs_calc.py /usr/bin/bscalc
10|install: cannot stat '../../git/tools/bs_calc.py': No such file or directory
11...
12
13The generated bs_calc.py locates in builddir rather than srcdir
14
15Upstream-Status: Submitted [https://github.com/storaged-project/libbytesize/pull/59]
16
17Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
18---
19 tools/Makefile.am | 2 +-
20 1 file changed, 1 insertion(+), 1 deletion(-)
21
22diff --git a/tools/Makefile.am b/tools/Makefile.am
23index 08223a8..ae22fed 100644
24--- a/tools/Makefile.am
25+++ b/tools/Makefile.am
26@@ -5,7 +5,7 @@ dist_man1_MANS = bscalc.man
27
28 install-exec-local:
29 install -d ${DESTDIR}${bindir}
30- install -m0755 ${srcdir}/bs_calc.py ${DESTDIR}${bindir}/bscalc
31+ install -m0755 ${builddir}/bs_calc.py ${DESTDIR}${bindir}/bscalc
32
33 uninstall-local:
34 rm ${DESTDIR}${bindir}/bscalc
35--
362.17.1
37
diff --git a/meta-oe/recipes-support/libbytesize/libbytesize_2.0.bb b/meta-oe/recipes-support/libbytesize/libbytesize_2.1.bb
index 74f1800d18..07bf1faaeb 100644
--- a/meta-oe/recipes-support/libbytesize/libbytesize_2.0.bb
+++ b/meta-oe/recipes-support/libbytesize/libbytesize_2.1.bb
@@ -9,10 +9,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=c07cb499d259452f324bb90c3067d85c"
9S = "${WORKDIR}/git" 9S = "${WORKDIR}/git"
10B = "${S}" 10B = "${S}"
11 11
12SRCREV = "92c00638a6f846df5c40dbb690f9fcf998ad6df2" 12SRCREV = "9ecc1042109528051983261ffd491d45e7c471e1"
13SRC_URI = "git://github.com/rhinstaller/libbytesize;branch=master \ 13SRC_URI = "git://github.com/rhinstaller/libbytesize;branch=master"
14 file://0001-fix-out-of-tree-build-failure.patch \
15"
16 14
17inherit gettext autotools python3native 15inherit gettext autotools python3native
18 16