diff options
| author | Dorinda <dorindabassey@gmail.com> | 2021-01-27 01:10:45 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-01-30 10:45:55 +0000 |
| commit | 4dd9b84991cd7c5a5ed5035a3df4ba2f287539d6 (patch) | |
| tree | 1e453cc5038c0b00766c41fc26628aa4e33dd109 /meta | |
| parent | c900b345aae1542848df78a160914c5606d88f6d (diff) | |
| download | poky-4dd9b84991cd7c5a5ed5035a3df4ba2f287539d6.tar.gz | |
elfutils: add support for ipk
debuginfod scanner 0.182 could only support/scan RPM and .debs, add
support to scan .ipk as well (they're effectively debs).
[YOCTO #13807]
(From OE-Core rev: d9913c3d7da01d5bbe84728e9cb7701669362e2b)
Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
| -rw-r--r-- | meta/recipes-devtools/elfutils/elfutils_0.182.bb | 1 | ||||
| -rw-r--r-- | meta/recipes-devtools/elfutils/files/0001-add-support-for-ipkg-to-debuginfod.cxx.patch | 32 |
2 files changed, 33 insertions, 0 deletions
diff --git a/meta/recipes-devtools/elfutils/elfutils_0.182.bb b/meta/recipes-devtools/elfutils/elfutils_0.182.bb index 5f63662aff..8ce8ed6788 100644 --- a/meta/recipes-devtools/elfutils/elfutils_0.182.bb +++ b/meta/recipes-devtools/elfutils/elfutils_0.182.bb | |||
| @@ -22,6 +22,7 @@ SRC_URI = "https://sourceware.org/elfutils/ftp/${PV}/${BP}.tar.bz2 \ | |||
| 22 | file://run-ptest \ | 22 | file://run-ptest \ |
| 23 | file://ptest.patch \ | 23 | file://ptest.patch \ |
| 24 | file://0001-tests-Makefile.am-compile-test_nlist-with-standard-C.patch \ | 24 | file://0001-tests-Makefile.am-compile-test_nlist-with-standard-C.patch \ |
| 25 | file://0001-add-support-for-ipkg-to-debuginfod.cxx.patch \ | ||
| 25 | " | 26 | " |
| 26 | SRC_URI_append_libc-musl = " \ | 27 | SRC_URI_append_libc-musl = " \ |
| 27 | file://0001-musl-obstack-fts.patch \ | 28 | file://0001-musl-obstack-fts.patch \ |
diff --git a/meta/recipes-devtools/elfutils/files/0001-add-support-for-ipkg-to-debuginfod.cxx.patch b/meta/recipes-devtools/elfutils/files/0001-add-support-for-ipkg-to-debuginfod.cxx.patch new file mode 100644 index 0000000000..f15eacbe72 --- /dev/null +++ b/meta/recipes-devtools/elfutils/files/0001-add-support-for-ipkg-to-debuginfod.cxx.patch | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | From b647d1df55c20772a9cc7ce96fcf323c500481bf Mon Sep 17 00:00:00 2001 | ||
| 2 | From: dorindabassey <dorindabassey@gmail.com> | ||
| 3 | Date: Sat, 19 Dec 2020 01:11:46 +0100 | ||
| 4 | Subject: [PATCH] add support for ipkg to debuginfod.cxx | ||
| 5 | |||
| 6 | added support for ipkg to the debuginfod scanner. 0.182 only supports RPM and scan .debs, with this patch, debuginfod scanner would be able to scan .ipk | ||
| 7 | |||
| 8 | Upstream-status: Submitted [https://sourceware.org/pipermail/elfutils-devel/2020q4/003357.html] | ||
| 9 | |||
| 10 | Signed-off-by: dorindabassey <dorindabassey@gmail.com> | ||
| 11 | --- | ||
| 12 | debuginfod/debuginfod.cxx | 2 ++ | ||
| 13 | 1 file changed, 2 insertions(+) | ||
| 14 | |||
| 15 | diff --git a/debuginfod/debuginfod.cxx b/debuginfod/debuginfod.cxx | ||
| 16 | index 5621030..cc78c93 100644 | ||
| 17 | --- a/debuginfod/debuginfod.cxx | ||
| 18 | +++ b/debuginfod/debuginfod.cxx | ||
| 19 | @@ -442,11 +442,13 @@ parse_opt (int key, char *arg, | ||
| 20 | { | ||
| 21 | scan_archives[".deb"]="dpkg-deb --fsys-tarfile"; | ||
| 22 | scan_archives[".ddeb"]="dpkg-deb --fsys-tarfile"; | ||
| 23 | + scan_archives[".ipk"]="dpkg-deb --fsys-tarfile"; | ||
| 24 | } | ||
| 25 | else | ||
| 26 | { | ||
| 27 | scan_archives[".deb"]="(bsdtar -O -x -f - data.tar.xz)<"; | ||
| 28 | scan_archives[".ddeb"]="(bsdtar -O -x -f - data.tar.xz)<"; | ||
| 29 | + scan_archives[".ipk"]="(bsdtar -O -x -f - data.tar.xz)<"; | ||
| 30 | } | ||
| 31 | // .udeb too? | ||
| 32 | break; | ||
