From 2b1090e7a0e6cb56b55339cdcf58b4a9d35883ea Mon Sep 17 00:00:00 2001 From: Coiby Xu Date: Fri, 8 Sep 2023 15:27:26 +0800 Subject: [PATCH 01/11] [packit] 2.0.27 upstream release Upstream tag: v2.0.27 Upstream commit: 17590eed --- .packit.yaml | 16 ++++++++++++++++ README.packit | 3 +++ kexec-tools.spec | 7 +++++-- sources | 4 ++-- 4 files changed, 26 insertions(+), 4 deletions(-) create mode 100644 .packit.yaml create mode 100644 README.packit diff --git a/.packit.yaml b/.packit.yaml new file mode 100644 index 0000000..88fcda6 --- /dev/null +++ b/.packit.yaml @@ -0,0 +1,16 @@ +# See the documentation for more information: +# https://packit.dev/docs/configuration/ + +specfile_path: kexec-tools.spec + +# add or remove files that should be synced +files_to_sync: + - kexec-tools.spec + - .packit.yaml + +# name in upstream package repository or registry (e.g. in PyPI) +upstream_package_name: kexec-tools +# downstream (Fedora) RPM package name +downstream_package_name: kexec-tools + +upstream_tag_template: v{version} diff --git a/README.packit b/README.packit new file mode 100644 index 0000000..f84709d --- /dev/null +++ b/README.packit @@ -0,0 +1,3 @@ +This repository is maintained by packit. +https://packit.dev/ +The file was generated using packit 0.79.1. diff --git a/kexec-tools.spec b/kexec-tools.spec index ff8b496..71fc577 100644 --- a/kexec-tools.spec +++ b/kexec-tools.spec @@ -4,8 +4,8 @@ %global mkdf_shortver %(c=%{mkdf_ver}; echo ${c:0:7}) Name: kexec-tools -Version: 2.0.26 -Release: 8%{?dist} +Version: 2.0.27 +Release: 1%{?dist} License: GPL-2.0-only Summary: The kexec/kdump userspace component @@ -396,6 +396,9 @@ fi %endif %changelog +* Fri Sep 08 2023 Coiby Xu - 2.0.27-1 +- kexec-tools 2.0.27 (Simon Horman) + * Thu Jul 20 2023 Fedora Release Engineering - 2.0.26-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild diff --git a/sources b/sources index d684233..54a591c 100644 --- a/sources +++ b/sources @@ -1,3 +1,3 @@ -SHA512 (eppic-e8844d3.tar.gz) = d86b9f90c57e694107272d8f71b87f66a30743b9530480fb6f665026bbada4c6b0205a83e40b5383663a945681cfbfcf1ee79469fc219ddf679473c4b2290763 -SHA512 (kexec-tools-2.0.26.tar.xz) = afecb64f50a0a2e553712d7e6e4d48e0dc745e4140983a33a10cce931e6aeddaff9c4a3385fbaf7ab9ff7b3b905d932fbce1e0e37aa2c35d5c1e61277140dee9 +SHA512 (kexec-tools-2.0.27.tar.xz) = 30b5ef7c2075dfd11fd1c3c33abe6b60673400257668d60145be08a2472356c7191a0810095da0fa32e327b9806a7578c73129ac0550d26c28ea6571c88c7b3c SHA512 (makedumpfile-1.7.2.tar.gz) = 324e303dd5f507703f66e2bd5dc9d24f9f50ba797be70c05702008ba77078f61ffcc884796ddf9ab737de1d124c3a9d881ab5ce4f3f459690ec00055af25ea9e +SHA512 (eppic-e8844d3.tar.gz) = d86b9f90c57e694107272d8f71b87f66a30743b9530480fb6f665026bbada4c6b0205a83e40b5383663a945681cfbfcf1ee79469fc219ddf679473c4b2290763 From c369618b225beb3c4ac75038608c5ae08c5abeab Mon Sep 17 00:00:00 2001 From: Coiby Xu Date: Fri, 13 Oct 2023 17:49:56 +0800 Subject: [PATCH 02/11] Only try to reset crashkernel when kdump.service is enabled Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2243068 Currently, when kexec-tools is installed, the kernel will automatically have the crashkernel parameter set up. In the case where users only want the kexec reboot feature, this is not what users want as a 1G-RAM system will lose 192M memory. Considering Fedora's systemd preset policy has kdump.service disabled and RHEL' has kdump.service enabled, this patch makes kexec-tools only reset crashkernel when kdump.service is enabled. Reported-by: Chris Murphy Cc: Philipp Rudo Cc: Adam Williamson Signed-off-by: Coiby Xu Reviewed-by: Philipp Rudo --- kdumpctl | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/kdumpctl b/kdumpctl index 7e561fd..53636a1 100755 --- a/kdumpctl +++ b/kdumpctl @@ -1757,6 +1757,10 @@ reset_crashkernel_for_installed_kernel() _update_crashkernel "$_installed_kernel" } +_should_reset_crashkernel() { + [[ $(kdump_get_conf_val auto_reset_crashkernel) != no ]] && systemctl is-enabled kdump &> /dev/null +} + main() { # Determine if the dump mode is kdump or fadump @@ -1825,12 +1829,12 @@ main() reset_crashkernel "$@" ;; _reset-crashkernel-after-update) - if [[ $(kdump_get_conf_val auto_reset_crashkernel) != no ]]; then + if _should_reset_crashkernel; then reset_crashkernel_after_update fi ;; _reset-crashkernel-for-installed_kernel) - if [[ $(kdump_get_conf_val auto_reset_crashkernel) != no ]]; then + if _should_reset_crashkernel; then reset_crashkernel_for_installed_kernel "$2" fi ;; From d2d8e09bd3abcec5ecac0b04ae2a86b27892287b Mon Sep 17 00:00:00 2001 From: Coiby Xu Date: Wed, 18 Oct 2023 10:05:50 +0800 Subject: [PATCH 03/11] Release 2.0.27-2 Signed-off-by: Coiby Xu --- kexec-tools.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/kexec-tools.spec b/kexec-tools.spec index 71fc577..21e0248 100644 --- a/kexec-tools.spec +++ b/kexec-tools.spec @@ -5,7 +5,7 @@ Name: kexec-tools Version: 2.0.27 -Release: 1%{?dist} +Release: 2%{?dist} License: GPL-2.0-only Summary: The kexec/kdump userspace component @@ -396,6 +396,9 @@ fi %endif %changelog +* Wed Oct 18 2023 Coiby Xu - 2.0.27-2 +- Only try to reset crashkernel when kdump.service is enabled + * Fri Sep 08 2023 Coiby Xu - 2.0.27-1 - kexec-tools 2.0.27 (Simon Horman) From 877eea888580bc39397bbc75a9e0d7f715f6ed9a Mon Sep 17 00:00:00 2001 From: Coiby Xu Date: Wed, 15 Nov 2023 09:27:35 +0800 Subject: [PATCH 04/11] Release 2.0.27-3 Signed-off-by: Coiby Xu --- ...exclusion-of-slab-pages-on-Linux-6.2.patch | 81 ------------------- 1 file changed, 81 deletions(-) delete mode 100644 kexec-tools-2.0.26-makedumpfile-Fix-wrong-exclusion-of-slab-pages-on-Linux-6.2.patch diff --git a/kexec-tools-2.0.26-makedumpfile-Fix-wrong-exclusion-of-slab-pages-on-Linux-6.2.patch b/kexec-tools-2.0.26-makedumpfile-Fix-wrong-exclusion-of-slab-pages-on-Linux-6.2.patch deleted file mode 100644 index 5d91bc2..0000000 --- a/kexec-tools-2.0.26-makedumpfile-Fix-wrong-exclusion-of-slab-pages-on-Linux-6.2.patch +++ /dev/null @@ -1,81 +0,0 @@ -From 5f17bdd2128998a3eeeb4521d136a192222fadb6 Mon Sep 17 00:00:00 2001 -From: Kazuhito Hagio -Date: Wed, 21 Dec 2022 11:06:39 +0900 -Subject: [PATCH] [PATCH] Fix wrong exclusion of slab pages on Linux 6.2-rc1 - -* Required for kernel 6.2 - -Kernel commit 130d4df57390 ("mm/sl[au]b: rearrange struct slab fields to -allow larger rcu_head"), which is contained in Linux 6.2-rc1 and later, -made the offset of slab.slabs equal to page.mapping's one. As a result, -"makedumpfile -d 8", which should exclude user data, excludes some slab -pages wrongly because isAnon() returns true when slab.slabs is an odd -number. With such dumpfiles, crash can fail to start session with an -error like this: - - # crash vmlinux dumpfile - ... - crash: page excluded: kernel virtual address: ffff8fa047ac2fe8 type: "xa_node shift" - -Make isAnon() check that the page is not slab to fix this. - -Signed-off-by: Kazuhito Hagio ---- - makedumpfile.c | 6 +++--- - makedumpfile.h | 9 +++------ - 2 files changed, 6 insertions(+), 9 deletions(-) - -diff --git a/makedumpfile-1.7.2/makedumpfile.c b/makedumpfile-1.7.2/makedumpfile.c -index ff821eb..f403683 100644 ---- a/makedumpfile-1.7.2/makedumpfile.c -+++ b/makedumpfile-1.7.2/makedumpfile.c -@@ -6502,7 +6502,7 @@ __exclude_unnecessary_pages(unsigned long mem_map, - */ - else if ((info->dump_level & DL_EXCLUDE_CACHE) - && is_cache_page(flags) -- && !isPrivate(flags) && !isAnon(mapping)) { -+ && !isPrivate(flags) && !isAnon(mapping, flags)) { - pfn_counter = &pfn_cache; - } - /* -@@ -6510,7 +6510,7 @@ __exclude_unnecessary_pages(unsigned long mem_map, - */ - else if ((info->dump_level & DL_EXCLUDE_CACHE_PRI) - && is_cache_page(flags) -- && !isAnon(mapping)) { -+ && !isAnon(mapping, flags)) { - if (isPrivate(flags)) - pfn_counter = &pfn_cache_private; - else -@@ -6522,7 +6522,7 @@ __exclude_unnecessary_pages(unsigned long mem_map, - * - hugetlbfs pages - */ - else if ((info->dump_level & DL_EXCLUDE_USER_DATA) -- && (isAnon(mapping) || isHugetlb(compound_dtor))) { -+ && (isAnon(mapping, flags) || isHugetlb(compound_dtor))) { - pfn_counter = &pfn_user; - } - /* -diff --git a/makedumpfile-1.7.2/makedumpfile.h b/makedumpfile-1.7.2/makedumpfile.h -index 70a1a91..21dec7d 100644 ---- a/makedumpfile-1.7.2/makedumpfile.h -+++ b/makedumpfile-1.7.2/makedumpfile.h -@@ -161,12 +161,9 @@ test_bit(int nr, unsigned long addr) - #define isSwapBacked(flags) test_bit(NUMBER(PG_swapbacked), flags) - #define isHWPOISON(flags) (test_bit(NUMBER(PG_hwpoison), flags) \ - && (NUMBER(PG_hwpoison) != NOT_FOUND_NUMBER)) -- --static inline int --isAnon(unsigned long mapping) --{ -- return ((unsigned long)mapping & PAGE_MAPPING_ANON) != 0; --} -+#define isSlab(flags) test_bit(NUMBER(PG_slab), flags) -+#define isAnon(mapping, flags) (((unsigned long)mapping & PAGE_MAPPING_ANON) != 0 \ -+ && !isSlab(flags)) - - #define PTOB(X) (((unsigned long long)(X)) << PAGESHIFT()) - #define BTOP(X) (((unsigned long long)(X)) >> PAGESHIFT()) --- -2.39.0 - From 5bfe6e82cfa83173ab7bec80b1635c01688bdc36 Mon Sep 17 00:00:00 2001 From: Coiby Xu Date: Wed, 15 Nov 2023 09:31:01 +0800 Subject: [PATCH 05/11] Release 2.0.27-3 Previous commit missed kexec-tools.spec. Signed-off-by: Coiby Xu --- kexec-tools.spec | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/kexec-tools.spec b/kexec-tools.spec index 21e0248..6b0e6c7 100644 --- a/kexec-tools.spec +++ b/kexec-tools.spec @@ -1,11 +1,11 @@ %global eppic_ver e8844d3793471163ae4a56d8f95897be9e5bd554 %global eppic_shortver %(c=%{eppic_ver}; echo ${c:0:7}) -%global mkdf_ver 1.7.2 +%global mkdf_ver 1.7.4 %global mkdf_shortver %(c=%{mkdf_ver}; echo ${c:0:7}) Name: kexec-tools Version: 2.0.27 -Release: 2%{?dist} +Release: 3%{?dist} License: GPL-2.0-only Summary: The kexec/kdump userspace component @@ -108,7 +108,6 @@ Requires: systemd-udev%{?_isa} # # Patches 601 onward are generic patches # -Patch601: kexec-tools-2.0.26-makedumpfile-Fix-wrong-exclusion-of-slab-pages-on-Linux-6.2.patch %description kexec-tools provides /sbin/kexec binary that facilitates a new @@ -124,8 +123,6 @@ mkdir -p -m755 kcp tar -z -x -v -f %{SOURCE9} tar -z -x -v -f %{SOURCE19} -%patch601 -p1 - %ifarch ppc %define archdef ARCH=ppc %endif @@ -396,6 +393,9 @@ fi %endif %changelog +* Wed Nov 15 2023 Coiby Xu - 2.0.27-3 +- update to makedumpfile-1.7.4 + * Wed Oct 18 2023 Coiby Xu - 2.0.27-2 - Only try to reset crashkernel when kdump.service is enabled From 801b5385b43a0530a789350b77605feb485c02c7 Mon Sep 17 00:00:00 2001 From: Coiby Xu Date: Wed, 15 Nov 2023 09:38:11 +0800 Subject: [PATCH 06/11] Add missing makedumpfile src Signed-off-by: Coiby Xu --- sources | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources b/sources index 54a591c..a8779f3 100644 --- a/sources +++ b/sources @@ -1,3 +1,3 @@ SHA512 (kexec-tools-2.0.27.tar.xz) = 30b5ef7c2075dfd11fd1c3c33abe6b60673400257668d60145be08a2472356c7191a0810095da0fa32e327b9806a7578c73129ac0550d26c28ea6571c88c7b3c -SHA512 (makedumpfile-1.7.2.tar.gz) = 324e303dd5f507703f66e2bd5dc9d24f9f50ba797be70c05702008ba77078f61ffcc884796ddf9ab737de1d124c3a9d881ab5ce4f3f459690ec00055af25ea9e +SHA512 (makedumpfile-1.7.4.tar.gz) = 6c3455b711bd4e120173ee07fcc5ff708ae6d34eaee0f4c135eca7ee0e0475b4d391429c23cf68e848b156ee3edeab956e693a390d67ccc634c43224c7129a96 SHA512 (eppic-e8844d3.tar.gz) = d86b9f90c57e694107272d8f71b87f66a30743b9530480fb6f665026bbada4c6b0205a83e40b5383663a945681cfbfcf1ee79469fc219ddf679473c4b2290763 From aab3d8dfa85a1e4814a10edb0bae7b16b6e5caf7 Mon Sep 17 00:00:00 2001 From: Coiby Xu Date: Thu, 16 Nov 2023 10:19:19 +0800 Subject: [PATCH 07/11] Let %post scriptlet always exits with the zero exit status MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2247940 Currently, CoreOS image fails to be built. This is because since commit 00c37d8c ("spec: Drop special handling for IA64 machines"), the last command is now servicelog_notify and it fails to run in such invocation environment. Thus the %post scriptlet returns a non-zero exit code which breaks package installation, Running scriptlet: kexec-tools-2.0.27-4.fc40.ppc64le /proc/ is not mounted. This is not a supported mode of operation. Please fix your invocation environment to mount /proc/ and /sys/ properly. Proceeding anyway. Your mileage may vary. servicelog_notify: is not supported on the Unknown platform warning: %post(kexec-tools-2.0.27-4.fc40.ppc64le) scriptlet failed, exit status 1 Error in POSTIN scriptlet in rpm package kexec-tools Quoting [1], > Non-zero exit codes from scriptlets can break installs/upgrades/erases > such that no further actions will be taken for that package in a > transaction (see Ordering), which may for example prevent an old version > of a package from being erased on upgrades, ... > > All scriptlets MUST exit with the zero exit status. Because RPM in its > default configuration does not execute shell scriptlets with the -e > argument to the shell, excluding explicit exit calls (frowned upon with > a non-zero argument!), the exit status of the last command in a > scriptlet determines its exit status... > > Usually the most important bit is to apply this to the last command > executed in a scriptlet, or to add a separate command such as plain “:” > or “exit 0” as the last one in a scriptlet. Following the above suggestion, add a separate command ":" as the last one to the %post scriptlet. [1] https://docs.fedoraproject.org/en-US/packaging-guidelines/Scriptlets/ Reported-by: Colin Walters Cc: Dusty Mabe Cc: Philipp Rudo Fixes: 00c37d8c ("spec: Drop special handling for IA64 machines") Signed-off-by: Coiby Xu Reviewed-by: Philipp Rudo --- kexec-tools.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/kexec-tools.spec b/kexec-tools.spec index 6b0e6c7..6996d94 100644 --- a/kexec-tools.spec +++ b/kexec-tools.spec @@ -268,6 +268,7 @@ touch /etc/kdump.conf servicelog_notify --remove --command=/usr/lib/kdump/kdump-migrate-action.sh 2>/dev/null servicelog_notify --add --command=/usr/lib/kdump/kdump-migrate-action.sh --match='refcode="#MIGRATE" and serviceable=0' --type=EVENT --method=pairs_stdin >/dev/null %endif +: # This portion of the script is temporary. Its only here # to fix up broken boxes that require special settings From 1a8cfca8a9d1494e0c28a6e5a2c87a714778a22e Mon Sep 17 00:00:00 2001 From: Coiby Xu Date: Wed, 13 Dec 2023 15:30:43 +0800 Subject: [PATCH 08/11] Release 2.0.27-4 Signed-off-by: Coiby Xu --- kexec-tools.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/kexec-tools.spec b/kexec-tools.spec index 6996d94..abcbc99 100644 --- a/kexec-tools.spec +++ b/kexec-tools.spec @@ -5,7 +5,7 @@ Name: kexec-tools Version: 2.0.27 -Release: 3%{?dist} +Release: 4%{?dist} License: GPL-2.0-only Summary: The kexec/kdump userspace component @@ -394,6 +394,9 @@ fi %endif %changelog +* Wed Dec 13 2023 Coiby Xu - 2.0.27-4 +- Let %post scriptlet always exits with the zero exit status + * Wed Nov 15 2023 Coiby Xu - 2.0.27-3 - update to makedumpfile-1.7.4 From ce57665bf5fccc5bf76cdecafd3e9d0f7b787218 Mon Sep 17 00:00:00 2001 From: Coiby Xu Date: Tue, 6 Aug 2024 16:27:43 +0800 Subject: [PATCH 09/11] Use https for kexec-tools source url This may help resolve the following packit failure [1], 2024-08-06 08:26:12.523 base_git.py ERROR Failed to download source from http://kernel.org/pub/linux/utils/kernel/kexec/kexec-tools-2.0.29.tar.xz: ReadTimeout(ReadTimeoutError("HTTPConnectionPool(host='kernel.org', port=80): Read timed out. (read timeout=30)")) [1] https://dashboard.packit.dev/results/pull-from-upstream/9926 Signed-off-by: Coiby Xu --- kexec-tools.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kexec-tools.spec b/kexec-tools.spec index abcbc99..3fe1c5c 100644 --- a/kexec-tools.spec +++ b/kexec-tools.spec @@ -9,7 +9,7 @@ Release: 4%{?dist} License: GPL-2.0-only Summary: The kexec/kdump userspace component -Source0: http://kernel.org/pub/linux/utils/kernel/kexec/%{name}-%{version}.tar.xz +Source0: https://kernel.org/pub/linux/utils/kernel/kexec/%{name}-%{version}.tar.xz Source1: kdumpctl Source3: gen-kdump-sysconfig.sh Source4: gen-kdump-conf.sh From 0e437364725bdaa932ffd7ec884359c481d87baf Mon Sep 17 00:00:00 2001 From: Packit Date: Wed, 7 Aug 2024 01:13:04 +0000 Subject: [PATCH 10/11] Update to 2.0.29 upstream release Upstream tag: v2.0.29 Upstream commit: 992c419f Commit authored by Packit automation (https://packit.dev/) --- README.packit | 2 +- kexec-tools.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/README.packit b/README.packit index f84709d..d8f2d59 100644 --- a/README.packit +++ b/README.packit @@ -1,3 +1,3 @@ This repository is maintained by packit. https://packit.dev/ -The file was generated using packit 0.79.1. +The file was generated using packit 0.100.0.post1.dev9+gfafec1bd. diff --git a/kexec-tools.spec b/kexec-tools.spec index 3fe1c5c..d62863b 100644 --- a/kexec-tools.spec +++ b/kexec-tools.spec @@ -4,8 +4,8 @@ %global mkdf_shortver %(c=%{mkdf_ver}; echo ${c:0:7}) Name: kexec-tools -Version: 2.0.27 -Release: 4%{?dist} +Version: 2.0.29 +Release: 1%{?dist} License: GPL-2.0-only Summary: The kexec/kdump userspace component @@ -394,6 +394,9 @@ fi %endif %changelog +* Wed Aug 07 2024 Packit - 2.0.29-1 +- Update to version 2.0.29 + * Wed Dec 13 2023 Coiby Xu - 2.0.27-4 - Let %post scriptlet always exits with the zero exit status diff --git a/sources b/sources index a8779f3..85f0956 100644 --- a/sources +++ b/sources @@ -1,3 +1,3 @@ -SHA512 (kexec-tools-2.0.27.tar.xz) = 30b5ef7c2075dfd11fd1c3c33abe6b60673400257668d60145be08a2472356c7191a0810095da0fa32e327b9806a7578c73129ac0550d26c28ea6571c88c7b3c +SHA512 (kexec-tools-2.0.29.tar.xz) = 4c9e0b3df47b240f0eac2c31e8b515465f626ce043f64daa32b0b032d7132e54dada5d70875dab256345f66cf94a25dc3c160a9009ba60addd8dcb1e5205f5ca SHA512 (makedumpfile-1.7.4.tar.gz) = 6c3455b711bd4e120173ee07fcc5ff708ae6d34eaee0f4c135eca7ee0e0475b4d391429c23cf68e848b156ee3edeab956e693a390d67ccc634c43224c7129a96 SHA512 (eppic-e8844d3.tar.gz) = d86b9f90c57e694107272d8f71b87f66a30743b9530480fb6f665026bbada4c6b0205a83e40b5383663a945681cfbfcf1ee79469fc219ddf679473c4b2290763 From cc35a0317e7f0fcf2845fee5948387c8f2f6c706 Mon Sep 17 00:00:00 2001 From: Coiby Xu Date: Wed, 7 Aug 2024 11:29:35 +0800 Subject: [PATCH 11/11] Enable pull_from_upstream, koji_build and bodhi_update packit jobs We can propose a release in Fedora using packit automatically by following [1], 1. a pull request will be created automatically against dist-git when there is a new release [2] 2. a koji build will be triggered when the PR gets merged [3] 3. a new update in Fedora Bodhi will be created after a successful Koji build [4] [1] https://packit.dev/docs/fedora-releases-guide/dist-git-onboarding [2] https://packit.dev/docs/configuration/downstream/pull_from_upstream [3] https://packit.dev/docs/configuration/downstream/koji_build [4] https://packit.dev/docs/configuration/downstream/bodhi_update Signed-off-by: Coiby Xu --- .packit.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.packit.yaml b/.packit.yaml index 88fcda6..f3cbec8 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -1,6 +1,9 @@ # See the documentation for more information: # https://packit.dev/docs/configuration/ +upstream_project_url: https://github.com/horms/kexec-tools.git +packit_instances: ["prod", "stg"] + specfile_path: kexec-tools.spec # add or remove files that should be synced @@ -14,3 +17,19 @@ upstream_package_name: kexec-tools downstream_package_name: kexec-tools upstream_tag_template: v{version} + +jobs: + - job: pull_from_upstream + trigger: release + dist_git_branches: + - fedora-all + + - job: koji_build + trigger: commit + dist_git_branches: + - fedora-all + + - job: bodhi_update + trigger: commit + dist_git_branches: + - fedora-all