From 2523dc846434d6d8b911435cdd7ef813ad917fcf Mon Sep 17 00:00:00 2001 From: huskarTang Date: Wed, 28 Dec 2022 21:43:36 +0800 Subject: [PATCH] format patch names --- lzo_snappy.patch => 0000-lzo_snappy.patch | 0 ....patch => 0005-add-SDEI-stack-resolution.patch | 0 ...truct-cpu-member-changes-for-kernels-5.1.patch | 0 crash-7.3.0-sw.patch => 0007-crash-7.3.0-sw.patch | 0 ...races-of-KASAN-kernel-dumpfile-truncated.patch | 0 crash.spec | 15 +++++++++------ 6 files changed, 9 insertions(+), 6 deletions(-) rename lzo_snappy.patch => 0000-lzo_snappy.patch (100%) rename add-SDEI-stack-resolution.patch => 0005-add-SDEI-stack-resolution.patch (100%) rename Handle-task_struct-cpu-member-changes-for-kernels-5..patch => 0006-Handle-task_struct-cpu-member-changes-for-kernels-5.1.patch (100%) rename crash-7.3.0-sw.patch => 0007-crash-7.3.0-sw.patch (100%) rename arm64-fix-backtraces-of-KASAN-kernel-dumpfile-truncated.patch => 0008-arm64-fix-backtraces-of-KASAN-kernel-dumpfile-truncated.patch (100%) diff --git a/lzo_snappy.patch b/0000-lzo_snappy.patch similarity index 100% rename from lzo_snappy.patch rename to 0000-lzo_snappy.patch diff --git a/add-SDEI-stack-resolution.patch b/0005-add-SDEI-stack-resolution.patch similarity index 100% rename from add-SDEI-stack-resolution.patch rename to 0005-add-SDEI-stack-resolution.patch diff --git a/Handle-task_struct-cpu-member-changes-for-kernels-5..patch b/0006-Handle-task_struct-cpu-member-changes-for-kernels-5.1.patch similarity index 100% rename from Handle-task_struct-cpu-member-changes-for-kernels-5..patch rename to 0006-Handle-task_struct-cpu-member-changes-for-kernels-5.1.patch diff --git a/crash-7.3.0-sw.patch b/0007-crash-7.3.0-sw.patch similarity index 100% rename from crash-7.3.0-sw.patch rename to 0007-crash-7.3.0-sw.patch diff --git a/arm64-fix-backtraces-of-KASAN-kernel-dumpfile-truncated.patch b/0008-arm64-fix-backtraces-of-KASAN-kernel-dumpfile-truncated.patch similarity index 100% rename from arm64-fix-backtraces-of-KASAN-kernel-dumpfile-truncated.patch rename to 0008-arm64-fix-backtraces-of-KASAN-kernel-dumpfile-truncated.patch diff --git a/crash.spec b/crash.spec index a8ec567..42c0db5 100644 --- a/crash.spec +++ b/crash.spec @@ -1,23 +1,23 @@ Name: crash Version: 7.3.0 -Release: 7 +Release: 8 Summary: Linux kernel crash utility. License: GPLv3 URL: https://crash-utility.github.io Source0: https://github.com/crash-utility/crash/archive/%{version}.tar.gz Source1: http://ftp.gnu.org/gnu/gdb/gdb-7.6.tar.gz -Patch1: lzo_snappy.patch +Patch1: 0000-lzo_snappy.patch Patch2: 0001-arm64-rename-ARM64_PAGE_OFFSET_ACTUAL-to-ARM64_FLIP_.patch Patch3: 0002-arm64-assign-page_offset-with-VA_BITS-kernel-configu.patch Patch4: 0003-arm64-use-dedicated-bits-to-record-the-VA-space-layo.patch Patch5: 0004-arm64-implement-switchable-PTOV-VTOP-for-kernels-5.1.patch -Patch6: add-SDEI-stack-resolution.patch -Patch7: Handle-task_struct-cpu-member-changes-for-kernels-5..patch +Patch6: 0005-add-SDEI-stack-resolution.patch +Patch7: 0006-Handle-task_struct-cpu-member-changes-for-kernels-5.1.patch %ifarch sw_64 -Patch8: crash-7.3.0-sw.patch +Patch8: 0007-crash-7.3.0-sw.patch %endif -Patch9: arm64-fix-backtraces-of-KASAN-kernel-dumpfile-truncated.patch +Patch9: 0008-arm64-fix-backtraces-of-KASAN-kernel-dumpfile-truncated.patch BuildRequires: ncurses-devel zlib-devel lzo-devel snappy-devel BuildRequires: gcc gcc-c++ bison m4 @@ -83,6 +83,9 @@ install -D -m 0644 defs.h %{buildroot}%{_includedir}/%{name}/defs.h %{_mandir}/man8/crash.8* %changelog +* Wed Dec 28 2022 tanly - 7.3.0-8 +- rename pathes to keep in order + * Thu Dec 1 2022 Ding Hui - 7.3.0-7 - fix backtraces of arm64 KASAN kernel dumpfile truncated -- Gitee