61 Commits

Author SHA1 Message Date
mengyingkun
92c919907d LoongArch: Force initrd load address 64KiB alignment
Signed-off-by: mengyingkun <mengyingkun@loongson.cn>
(cherry picked from commit 49bab1d9ae8b2a13648c414a8cc31b113873e17c)
2023-03-21 14:25:39 +08:00
Qiumiao Zhang
0a37a1ef49 Fix missing declaration of strchrnul in rpm-sort
Signed-off-by: Qiumiao Zhang <zhangqiumiao1@huawei.com>
(cherry picked from commit 2f4cce557532c26c2cc6310f0286bb7a082ba5a8)
2023-03-11 16:43:28 +08:00
mengyingkun
7f375fd04f LoongArch: Add support for new efi screen info GUID
Signed-off-by: mengyingkun <mengyingkun@loongson.cn>
(cherry picked from commit 722a77ccf7c3d61301d934b3347b8938ba54d033)
2023-03-10 14:19:18 +08:00
mengyingkun
aac1da67f5 loongarch: Add support for v4.0 interface
Signed-off-by: mengyingkun <mengyingkun@loongson.cn>
(cherry picked from commit 048b61123f321de2f517f3a0aebc6c65f38f66f6)
2023-02-13 17:14:45 +08:00
mengyingkun
c29e5cec08 loongarch: Add EFI frame buffer support
Signed-off-by: mengyingkun <mengyingkun@loongson.cn>
(cherry picked from commit f4711e7975394ab53bc6691b8ec0c4ee41c3fd95)
2023-02-08 10:27:00 +08:00
Qiumiao Zhang
992ad95fca backport some patches from upstream
Signed-off-by: Qiumiao Zhang <zhangqiumiao1@huawei.com>
(cherry picked from commit 3e10ca701e80f20fbf573377a138992d34ee4d68)
2023-02-07 09:36:47 +08:00
mengyingkun
b548958034 LoongArch: modify the location where initrd is loaded into memory
(cherry picked from commit cad0e769c463c78e5fd9cdb8321a81adcf30ea59)
2023-02-06 11:32:15 +08:00
Qiumiao Zhang
a99b16c57a disable some unsupported filesystems
Signed-off-by: Qiumiao Zhang <zhangqiumiao1@huawei.com>
(cherry picked from commit 928a9962cfce3b17c554c6fe136859a4354bcca3)
2023-02-02 15:08:03 +08:00
mengyingkun
b30906733a Add LoongArch support
Signed-off-by: mengyingkun <mengyingkun@loongson.cn>
(cherry picked from commit e9acecfb21878c4ffa6baf3e9ed914ff3b0edede)
2023-01-13 11:02:19 +08:00
Qiumiao Zhang
180f7e295d modify the permissions of the files which under /usr/lib/systemd/system directory in grub2-tools to 644
Signed-off-by: Qiumiao Zhang <zhangqiumiao1@huawei.com>
(cherry picked from commit bab0667802b1463ab9caefb0e0f9250b2a2d16de)
2022-12-19 10:04:31 +08:00
Qiumiao Zhang
7d55722f63 enable -fPIE compilation options
Signed-off-by: Qiumiao Zhang <zhangqiumiao1@huawei.com>
(cherry picked from commit ecd9bbc8c2e077dca2b53a2a65f94f0281c4b85c)
2022-12-13 16:36:39 +08:00
zhangqiumiao
e72e4d297c fix CVE-2022-2601 and CVE-2022-3775
Signed-off-by: zhangqiumiao <zhangqiumiao1@huawei.com>
(cherry picked from commit 0eeb9d64d1375f1855789e7307b75378aaf0131f)
2022-11-18 14:41:05 +08:00
chenhaixing
d5554f9a9d add the source file of config_for_secure
(cherry picked from commit 0581c6fd5b71da492416a32b0ae171e42a95f568)
2022-11-16 10:31:52 +08:00
Qiumiao Zhang
fbf533a749 backport some patches from upstream
Signed-off-by: Qiumiao Zhang <zhangqiumiao1@huawei.com>
(cherry picked from commit cf4cdab72f0c328c29aa28ba4e5f22c8a5df2477)
2022-10-24 10:07:11 +08:00
wanglu210
079b40b6e1 backport patches from upstream 2022-08-30 19:46:33 +08:00
zhangqiumiao
0381eda69d fix compressed kernel verification failed
(cherry picked from commit 552b2e73ce02cbbb2fd5fc1c6e55fc8cbca062e7)
2022-07-29 10:48:30 +08:00
Qiumiao Zhang
6128eb4f91 add tpm in efi_modules of aarch64
(cherry picked from commit 5d6515ca47b7c87ef466409d065eee0057ba203c)
2022-06-29 17:04:31 +08:00
sun_hai_10
78c071e584 fix CVE-2021-3697 CVE-2022-28735 CVE-2022-28736 CVE-2022-28734 CVE-2022-28733 CVE-2021-3695 CVE-2021-3696
(cherry picked from commit b7658c3bed02672cb927576a609eee3d3e44c893)
2022-06-25 16:55:45 +08:00
sunh
fbc50e423e fix-null-pointer-dereference-when-paring-ICMP6_ROUTE_ADVERTISE messages
(cherry picked from commit ca2e356735821b85cdee855dae8a17ef633fc085)
2022-06-25 16:13:05 +08:00
Qiumiao Zhang
a82622ff0d modify the file permissions of grub-boot-indeterminate.service and 10-grub2-logind-service.conf to 644 2022-04-24 19:16:10 +08:00
吕晓倩
d67cdcb09f update grub.macros for riscv
(cherry picked from commit 40fba7bed91782960116a906a636bd433b61bd25)
2022-04-22 10:15:49 +08:00
zhangqiumiao
d97f925042 fix grub2 password setting does not take effect 2022-04-14 16:21:15 +08:00
Qiumiao Zhang
ee1698c650 enable sbat and don't verify kernels twice 2022-03-25 16:09:31 +08:00
Qiumiao Zhang
1b21eb86cf remove 08_fallback_counting.in apply grubby and disable emu arch
(cherry picked from commit 237808c8a4ddbc4604911fd239bb46f8ec9a37de)
2022-03-24 15:38:11 +08:00
t.feng
9db1d6c5d1 fix setupmode variable not exit in some machine 2022-03-22 22:30:15 +08:00
zhangqiumiao
8e795509c9 update to version 2.06 2022-03-22 17:36:06 +08:00
zhangqiumiao
d5e445ba3c use product_family macro(if defined) to set efi_vendor 2022-03-21 15:13:18 +08:00
zhangqiumiao
d8be91e9c6 modify some file permissions 2022-03-18 15:17:15 +08:00
xihaochen
17a445ed58 Fix CVE-2021-3981
(cherry picked from commit 3c38566f8b71e0c6d9bff0f208c6dee16b58769e)
2022-03-17 14:53:58 +08:00
yanan-rock
3f1947bb45 Fix arm64 kernel image not aligned on 64k boundary
* backport-arm64-Fix-EFI-loader-kernel-image-allocation.patch
  * backport-Arm-check-for-the-PE-magic-for-the-compiled-arch.patch

Signed-off-by: yanan-rock <yanan@huawei.com>
(cherry picked from commit 213914bf725818c72c2e685d5f3a39b64fea9a85)
2022-02-28 10:29:16 +08:00
Qiumiao Zhang
1662fcf050 disable grub-boot-success.service
(cherry picked from commit 2143d7b66c70fdea921c1f24765cac492e0b4c7a)
2022-02-26 11:47:47 +08:00
t_feng
6578494bf8 Fix bad test on GRUB_DISABLE_SUBMENU
(cherry picked from commit c0df15485f553df601a8943e709bb55a3fe53927)
2021-11-16 10:45:57 +08:00
Qiumiao Zhang
cc2810fa0d verifiers: Fix calling uninitialized function pointer
(cherry picked from commit 93710e0776eec2c73f5d7df08a81e6ea5f29c57f)
2021-09-28 09:23:32 +08:00
eaglegai
32016094ad modify git config parameters 2021-08-02 17:45:34 +08:00
yanan-rock
59bbe76f5d grub2:add grub2-mount to grub2-tools-minimal subpackage
Signed-off-by: yanan-rock <yanan@huawei.com>
(cherry picked from commit 0718bb82b4859152281196067743db25615773c7)
2021-05-26 09:31:21 +08:00
zhangqiumiao
907d7d1bcf delete the Symbolic Link of grubenv in grub2-efi-x64 and grub-efi-aa64 packages
(cherry picked from commit 36fb5429623ab49dd7c93e9b6e703f21fdc58a71)
(cherry picked from commit 5220c91fd207a5f13a11df1c46d49f15a4f6f44d)
2021-05-26 09:31:21 +08:00
yanan-rock
c643ad21f7 grub2:add grub2-mount to grub2-tools-minimal subpackage
Signed-off-by: yanan-rock <yanan@huawei.com>
(cherry picked from commit f2fa212e55fa8d03a2ee675f6624ed7978220b05)
2021-05-26 09:31:21 +08:00
zhangqiumiao
36fb542962 delete the Symbolic Link of grubenv in grub2-efi-x64 and grub-efi-aa64 packages 2021-05-18 14:52:00 +08:00
zhangqiumiao
6510c9a652 backport some patches from upstream community and fix incorrect author names in patches 2021-03-30 10:15:23 +08:00
zhangqiumiao
4b249e2087 backport the patches that upstream community released on March 2, 2021 2021-03-29 17:16:57 +08:00
renmingshuai
43a27a661c add efi_vendor for vendor 2021-03-29 09:50:55 +08:00
compile_success
87f9ce079c fix postun error
(cherry picked from commit 9cd68dcfed630df4ed64f5afd017bb9c9995b14c)
2021-03-21 18:20:10 +08:00
Qiumiao Zhang
55cbe9dd35 fix the failure of grub2-efi-x64/grub2-efi-aa64 package on the /boot partition of VFAT file system 2021-03-18 09:46:41 +08:00
shirely16
67a196e077 fix CVE-2020-27779-and-CVE-2020-14372
(cherry picked from commit dc4c6f5053acddc771b57cab9dccc8183043d940)
2021-03-17 17:33:34 +08:00
yangl777
581b26921d fix CVE 2021-03-12 17:47:18 +08:00
t_feng
de29b962df tftp-roll-over-block-counter-to-prevent-timeouts-with-data-packets 2021-02-27 16:58:31 +08:00
Qiumiao Zhang
296dcbc495 fix kernel not found because grub.cfg using BLS format 2021-02-22 16:29:37 +08:00
zhangqiumiao
d6b50995dc remove duplicate rpm-devel in BuildRequires 2020-11-16 16:15:27 +08:00
zhangqiumiao
370bd8dd84 remove 08_fallback_counting.in apply grubby 2020-11-14 14:36:18 +08:00
zhangqiumiao
eaa978ad49 remove grub2-emu and grub2-emu-lite in grub2-tools 2020-10-29 19:43:44 +08:00