Andrew Geissler | 90fd73c | 2021-03-05 15:25:55 -0600 | [diff] [blame] | 1 | From 571416bf5b5ef319df6d9c79e46680920487e4a7 Mon Sep 17 00:00:00 2001 |
Andrew Geissler | d1e8949 | 2021-02-12 15:35:20 -0600 | [diff] [blame] | 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> |
Andrew Geissler | 90fd73c | 2021-03-05 15:25:55 -0600 | [diff] [blame] | 11 | |
Andrew Geissler | d1e8949 | 2021-02-12 15:35:20 -0600 | [diff] [blame] | 12 | --- |
| 13 | debuginfod/debuginfod.cxx | 2 ++ |
| 14 | 1 file changed, 2 insertions(+) |
| 15 | |
| 16 | diff --git a/debuginfod/debuginfod.cxx b/debuginfod/debuginfod.cxx |
Andrew Geissler | 90fd73c | 2021-03-05 15:25:55 -0600 | [diff] [blame] | 17 | index b34eacc..a8915f2 100644 |
Andrew Geissler | d1e8949 | 2021-02-12 15:35:20 -0600 | [diff] [blame] | 18 | --- a/debuginfod/debuginfod.cxx |
| 19 | +++ b/debuginfod/debuginfod.cxx |
Andrew Geissler | 90fd73c | 2021-03-05 15:25:55 -0600 | [diff] [blame] | 20 | @@ -484,11 +484,13 @@ parse_opt (int key, char *arg, |
Andrew Geissler | d1e8949 | 2021-02-12 15:35:20 -0600 | [diff] [blame] | 21 | { |
| 22 | scan_archives[".deb"]="dpkg-deb --fsys-tarfile"; |
| 23 | scan_archives[".ddeb"]="dpkg-deb --fsys-tarfile"; |
| 24 | + scan_archives[".ipk"]="dpkg-deb --fsys-tarfile"; |
| 25 | } |
| 26 | else |
| 27 | { |
| 28 | scan_archives[".deb"]="(bsdtar -O -x -f - data.tar.xz)<"; |
| 29 | scan_archives[".ddeb"]="(bsdtar -O -x -f - data.tar.xz)<"; |
| 30 | + scan_archives[".ipk"]="(bsdtar -O -x -f - data.tar.xz)<"; |
| 31 | } |
| 32 | // .udeb too? |
| 33 | break; |