From 9e632576c90ef58e582387b4fcf9579bc3210df0 Mon Sep 17 00:00:00 2001 From: Pavel Cahyna Date: Sun, 15 Jan 2023 08:50:57 +0100 Subject: [PATCH] Apply upstream PR #2873 Fix initrd regeneration on s390x Resolves: rhbz2131362 --- rear-bz2130945.patch | 20 ++++++++++++++++++++ rear.spec | 1 + 2 files changed, 21 insertions(+) create mode 100644 rear-bz2130945.patch diff --git a/rear-bz2130945.patch b/rear-bz2130945.patch new file mode 100644 index 0000000..5291d13 --- /dev/null +++ b/rear-bz2130945.patch @@ -0,0 +1,20 @@ +diff --git a/usr/share/rear/finalize/Fedora/i386/550_rebuild_initramfs.sh b/usr/share/rear/finalize/Fedora/550_rebuild_initramfs.sh +similarity index 100% +rename from usr/share/rear/finalize/Fedora/i386/550_rebuild_initramfs.sh +rename to usr/share/rear/finalize/Fedora/550_rebuild_initramfs.sh +diff --git a/usr/share/rear/finalize/Fedora/ppc64/550_rebuild_initramfs.sh b/usr/share/rear/finalize/Fedora/ppc64/550_rebuild_initramfs.sh +deleted file mode 120000 +index 22eede59..00000000 +--- a/usr/share/rear/finalize/Fedora/ppc64/550_rebuild_initramfs.sh ++++ /dev/null +@@ -1 +0,0 @@ +-../i386/550_rebuild_initramfs.sh +\ No newline at end of file +diff --git a/usr/share/rear/finalize/Fedora/ppc64le/550_rebuild_initramfs.sh b/usr/share/rear/finalize/Fedora/ppc64le/550_rebuild_initramfs.sh +deleted file mode 120000 +index 22eede59..00000000 +--- a/usr/share/rear/finalize/Fedora/ppc64le/550_rebuild_initramfs.sh ++++ /dev/null +@@ -1 +0,0 @@ +-../i386/550_rebuild_initramfs.sh +\ No newline at end of file diff --git a/rear.spec b/rear.spec index 6a8dd42..d9a46e4 100644 --- a/rear.spec +++ b/rear.spec @@ -41,6 +41,7 @@ Patch50: rear-bz2119501.patch Patch51: rear-bz2120736.patch Patch52: rear-bz2117937.patch Patch53: rear-bz2091163.patch +Patch54: rear-bz2130945.patch # rear contains only bash scripts plus documentation so that on first glance it could be "BuildArch: noarch" # but actually it is not "noarch" because it only works on those architectures that are explicitly supported.