!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

651 Members
Rust147 Servers

Load older messages


SenderMessageTime
1 Aug 2025
@emilazy:matrix.orgemilyyes, it's good12:40:13
@emilazy:matrix.orgemilypart of my goal is to make AArch64 use it by default when you use a UEFI bootloader12:40:19
@dramforever:matrix.orgdramforeverno more megabytes of holes in the image now12:40:40
@emilazy:matrix.orgemily right now we use Image which is UEFI stub but uncompressed kernel for compatibility with not-UEFI, because e.g. U-Boot can't decode the UEFI ZBOOT format to decompress a kernel by itself 12:40:41
@emilazy:matrix.orgemily so split outputs mean we build the kernel once, pack multiple image formats in different outputs, and you can get either vmlinuz.efi or zImage out based on the output you select, which bootloader modules can do 12:41:08
@emilazy:matrix.orgemilyso we get compressed kernels and UEFI-by-default without breaking anyone's boot (hopefully (probably))12:41:23
@dramforever:matrix.orgdramforevernoice12:41:34
@emilazy:matrix.orgemilythe actual solution is for someone to just implement reading the UEFI ZBOOT header in U-Boot. the actual solution is for everyone to just use UEFI12:41:51
@emilazy:matrix.orgemilybut I take what I can get12:41:54
@emilazy:matrix.orgemily(x86 doesn't use it btw)12:43:30
@dramforever:matrix.orgdramforeveryeah bzImage will be here forever12:43:54
@dramforever:matrix.orgdramforeverready to ask you to use a bootloader12:44:09
@emilazy:matrix.orgemily the reason I am not just using the actual target names is because .uefi should be bzImage or vmlinuz.efi and .legacy should be bzImage or zImage or etc. 12:44:26
@emilazy:matrix.orgemilybut that means I have to make decisions about platforms I know little about and it's annoying12:44:45
@dramforever:matrix.orgdramforeveri remember there's some nonsense in the loongarch64 make target names12:45:11
@dramforever:matrix.orgdramforeverin the most infuriating way possible12:45:29
@dramforever:matrix.orgdramforeveror was it just the file name12:45:49
@emilazy:matrix.orgemily they have vmlinux.elf 12:46:01
@emilazy:matrix.orgemily which is not vmlinux 12:46:02
@emilazy:matrix.orgemily it's irrelevant though since they're vmlinuz.efi all the way, so they're one of the arches that are my friend 12:46:17
@emilazy:matrix.orgemilyno intention of adding non-UEFI to things we didn't already support it ofr12:46:34
@emilazy:matrix.orgemily* no intention of adding non-UEFI to things we didn't already support it for12:46:35
@dramforever:matrix.orgdramforeveroh thank fuck they unfucked it (iiuc) https://github.com/NixOS/nixpkgs/pull/42683412:47:12
@emilazy:matrix.orgemilythe Linux "installation scripts" are very silly and pointless12:47:44
@emilazy:matrix.orgemily I am literally replacing them with cp 12:47:48
@emilazy:matrix.orgemilyoh this is recent12:48:14
@emilazy:matrix.orgemilyI don't understand why this says "so that we don't have to maintain some postInstall logic for LoongArch." but then deletes nothing12:48:38
@emilazy:matrix.orgemily
Use the generic script/install.sh to perform the make install operation.
This will automatically generate the initrd file and modify the grub.cfg
without manual intervention (The previous kernel image, config file and
System.map will also be generated), similar to other architectures.

imagine running a kernel make install and having it modify your bootloader configuration

12:49:16
@dramforever:matrix.orgdramforeveridk i haven't checked the actual pr12:49:57
@dramforever:matrix.orgdramforever i think linux make install is just a very concerning thing in general 12:51:10

Show newer messages


Back to Room ListRoom Version: 6