| 12 Apr 2026 |
matthewcroughan | disko.imageBuilder.extraPostVM = lib.optionalString cfg.image.embedUboot ''
${lib.getExe' pkgs.coreutils "dd"} conv=notrunc,fsync if=${cfg.platformFirmware}/u-boot-rockchip.bin of=$out/${config.disko.devices.disk.disk1.imageName} bs=512 seek=64
'' + lib.optionalString cfg.image.disko.compress ''
${pkgs.zstd}/bin/zstd --compress $out/*raw
rm $out/*raw
'';
| 19:10:19 |
matthewcroughan | It ends up looking like this | 19:10:23 |
matthewcroughan | but I don't like that | 19:10:30 |
matthewcroughan | instead it'd be nice if I could just set disko.imageBuilder.compression.enable = true | 19:11:03 |
matthewcroughan | https://blog.holms.place/2022/01/22/zfs-on-sd-card-under-linux.html | 21:41:14 |
| 13 Apr 2026 |
| Tanja (she/her) removed their profile picture. | 14:19:52 |
matthewcroughan | error: Unsupported OVMF projectDscPath on armv6l | 21:32:34 |
matthewcroughan | *
error: Unsupported OVMF projectDscPath on armv6l
| 21:32:37 |
matthewcroughan | disko's image builder doesn't support armv6 | 21:32:43 |
matthewcroughan | might be my fault 🧠| 21:36:43 |
matthewcroughan | https://github.com/nix-community/disko/pull/643/changes | 21:36:45 |
matthewcroughan | Then after you fix that, you can't use disko anyway since disko needs qemu in order to build images | 22:02:28 |
matthewcroughan | spandsp-aarch64-linux> checking for ld used by armv6l-unknown-linux-gnueabihf-gcc... armv6l-unknown-linux-gnueabihf-ld
error: Cannot build '/nix/store/qjr624zrczgfj4vy6bpxiygaaf15xq6v-qemu-armv6l-unknown-linux-gnueabihf-10.2.2.drv'.
| 22:02:30 |
matthewcroughan | which doesn't work because spandsp doesn't build and work on armv6l | 22:02:39 |
matthewcroughan | looks like disko is using a fuller qemu than it needs to ? | 22:11:28 |
matthewcroughan | You can set disko.imageBuilder.qemu, but why does disko default to a qemu that has gtk and opengl support? | 22:11:48 |
matthewcroughan | Looks like the lib/make-disk-image.nix hardcodes virtio_pci, which won't work on armv6 either | 22:15:02 |
| 14 Apr 2026 |
| Lukas joined the room. | 01:49:33 |
| 16 Apr 2026 |
| Pascal Sthamer joined the room. | 07:05:43 |
| 19 Apr 2026 |
| p14 joined the room. | 17:46:23 |