yali rebuild linux-6.12.x

This commit is contained in:
Rmys
2025-06-08 19:27:08 +03:00
parent 50c7133d68
commit 5b3080fdba
2 changed files with 21 additions and 0 deletions
@@ -0,0 +1,13 @@
diff -Nuar a/yali/storage/bootloader.py b/yali/storage/bootloader.py
--- a/yali/storage/bootloader.py 2025-06-07 19:41:37.692732956 +0300
+++ b/yali/storage/bootloader.py 2025-06-07 19:29:59.500461561 +0300
@@ -441,7 +441,8 @@
else:
yali.util.chroot(
#"grub2-install --recheck %s" % stage1Devices[0].path)
- "grub2-install --force %s" % stage1Devices[0].path)
+ # --target=i386-pc kernel-6.12.x
+ "grub2-install --force %s --target=i386-pc" % stage1Devices[0].path)
if os.path.exists("/usr/bin/mkinitcpio"):
kver = os.uname()[2]