diff --git a/0001-add-loongarch-support-for-anaconda.patch b/0001-add-loongarch-support-for-anaconda.patch index d6130a135544a6e61033ab57d2852fdba58810a9..852ecc7aabdda9712a40a22e9daf78854cb4e488 100644 --- a/0001-add-loongarch-support-for-anaconda.patch +++ b/0001-add-loongarch-support-for-anaconda.patch @@ -66,11 +66,11 @@ index 1b47e24..99efde6 100644 + boot_disk = partition.disk + boot_part_num = str(partition.parted_partition.number) + -+ rc = util.execInSysroot("cp", ["-a", "/boot/efi/EFI/openEuler/" + self._efi_binary, "/boot/efi/EFI/BOOT/" + "BOOTLOONGARCH64.EFI"]) ++ rc = util.execInSysroot("cp", ["-a", "/boot/efi/EFI/*/" + self._efi_binary, "/boot/efi/EFI/BOOT/" + "BOOTLOONGARCH64.EFI"]) + if rc: + raise BootLoaderError("Failed to set new efi boot target. This is most " + "likely a kernel or firmware bug.") -+ rc = util.execInSysroot("cp", ["-a", "/boot/efi/EFI/openEuler/" + self._efi_binary, "/boot/efi/EFI/BOOT/" + "BOOTLOONGARCH.EFI"]) ++ rc = util.execInSysroot("cp", ["-a", "/boot/efi/EFI/*/" + self._efi_binary, "/boot/efi/EFI/BOOT/" + "BOOTLOONGARCH.EFI"]) + if rc: + raise BootLoaderError("Failed to set new efi boot target for new BIOS. This is most " + "likely a kernel or firmware bug.") diff --git a/anaconda.spec b/anaconda.spec index 077a0fdc88f8488e869999e18194c7103fff43e0..f5ddd159318cf7e57f3cebb3f6a2151eb44f1de1 100644 --- a/anaconda.spec +++ b/anaconda.spec @@ -1,7 +1,7 @@ %define _empty_manifest_terminate_build 0 Name: anaconda Version: 36.16.5 -Release: 24 +Release: 25 Summary: Graphical system installer License: GPLv2+ and MIT URL: http://fedoraproject.org/wiki/Anaconda @@ -14,9 +14,7 @@ Source4: disable-disk-encryption.patch %ifarch sw_64 Patch6001: anaconda-33.19.sw.patch %endif -%ifarch loongarch64 Patch6002: 0001-add-loongarch-support-for-anaconda.patch -%endif Patch9000: add-passwd-policy.patch Patch9001: bugfix-GUI-nfs-unknown-error.patch @@ -303,6 +301,12 @@ update-desktop-database &> /dev/null || : %{_prefix}/libexec/anaconda/dd_* %changelog +* Tue Oct 10 2023 Jia Chao 36.16.5-25 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC: efi install stage for loongarch suit for other distro + * Thu Sep 07 2023 sunhai - 36.16.5-24 - Type:bugfix - ID:NA