summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/elfutils/files/0001-add-support-for-ipkg-to-debuginfod.cxx.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/elfutils/files/0001-add-support-for-ipkg-to-debuginfod.cxx.patch')
-rw-r--r--meta/recipes-devtools/elfutils/files/0001-add-support-for-ipkg-to-debuginfod.cxx.patch32
1 files changed, 32 insertions, 0 deletions
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 @@
1From b647d1df55c20772a9cc7ce96fcf323c500481bf Mon Sep 17 00:00:00 2001
2From: dorindabassey <dorindabassey@gmail.com>
3Date: Sat, 19 Dec 2020 01:11:46 +0100
4Subject: [PATCH] add support for ipkg to debuginfod.cxx
5
6added 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
8Upstream-status: Submitted [https://sourceware.org/pipermail/elfutils-devel/2020q4/003357.html]
9
10Signed-off-by: dorindabassey <dorindabassey@gmail.com>
11---
12 debuginfod/debuginfod.cxx | 2 ++
13 1 file changed, 2 insertions(+)
14
15diff --git a/debuginfod/debuginfod.cxx b/debuginfod/debuginfod.cxx
16index 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;