Commit Graph
494081 Commits
Author SHA1 Message Date
nikstur 0bdba6c99b nixos/qemu-vm: use persistent block device names
This change removes the bespoke logic around identifying block devices.
Instead of trying to find the right device by iterating over
`qemu.drives` and guessing the right partition number (e.g.
/dev/vda{1,2}), devices are now identified by persistent names provided
by udev in /dev/disk/by-*.

Before this change, the root device was formatted on demand in the
initrd. However, this makes it impossible to use filesystem identifiers
to identify devices. Now, the formatting step is performed before the VM
is started. Because some tests, however, rely on this behaviour, a
utility function to replace this behaviour in added in
/nixos/tests/common/auto-format-root-device.nix.

Devices that contain neither a partition table nor a filesystem are
identified by their hardware serial number which is injecetd via QEMU
(and is thus persistent and predictable). PCI paths are not a reliably
way to identify devices because their availability and numbering depends
on the QEMU machine type.

This change makes the module more robust against changes in QEMU and the
kernel (non-persistent device naming) and by decoupling abstractions
(i.e. rootDevice, bootPartition, and bootLoaderDevice) enables further
improvement down the line.
2023-06-16 19:36:03 +02:00
Weijia WangandGitHub aa337560aa Merge pull request #237372 from r-ryantm/auto-update/freeipmi
freeipmi: 1.6.10 -> 1.6.11
2023-06-13 00:33:03 +03:00
Weijia WangandGitHub 2238d40b9b Merge pull request #237383 from r-ryantm/auto-update/ocamlPackages.odoc
ocamlPackages.odoc: 2.1.1 -> 2.2.0
2023-06-13 00:31:48 +03:00
Weijia WangandGitHub 9e1c5fd098 Merge pull request #237353 from r-ryantm/auto-update/python310Packages.pyvmomi
python310Packages.pyvmomi: 8.0.1.0 -> 8.0.1.0.1
2023-06-13 00:28:25 +03:00
Weijia WangandGitHub 12e2a54460 Merge pull request #237344 from r-ryantm/auto-update/sqlcmd
sqlcmd: 1.0.0 -> 1.1.0
2023-06-13 00:27:50 +03:00
Weijia WangandGitHub 7b0f3375d6 Merge pull request #237342 from r-ryantm/auto-update/readarr
readarr: 0.1.4.1596 -> 0.1.8.1889
2023-06-13 00:25:09 +03:00
Weijia WangandGitHub f56f7be2e3 Merge pull request #237417 from figsoda/funzzy
funzzy: 1.0.0 -> 1.0.1
2023-06-13 00:20:52 +03:00
Weijia WangandGitHub 810af5ee69 Merge pull request #237368 from wegank/xorriso-darwin
xorriso: fix build on darwin
2023-06-13 00:11:36 +03:00
Weijia WangandGitHub 9e16196265 Merge pull request #237375 from figsoda/jql
jql: 6.0.8 -> 6.0.9
2023-06-13 00:09:39 +03:00
Weijia WangandGitHub 3930c26d77 Merge pull request #237377 from r-ryantm/auto-update/realvnc-vnc-viewer
realvnc-vnc-viewer: 7.5.0 -> 7.5.1
2023-06-13 00:09:05 +03:00
Weijia WangandGitHub 9665faa267 Merge pull request #237384 from r-ryantm/auto-update/python310Packages.cloudflare
python310Packages.cloudflare: 2.11.2 -> 2.11.6
2023-06-13 00:06:42 +03:00
Weijia WangandGitHub 7b91aa4318 Merge pull request #237390 from r-ryantm/auto-update/python310Packages.jug
python310Packages.jug: 2.2.2 -> 2.2.3
2023-06-13 00:01:36 +03:00
Weijia WangandGitHub 7f1d702c95 Merge pull request #237400 from r-ryantm/auto-update/osv-scanner
osv-scanner: 1.3.3 -> 1.3.4
2023-06-13 00:00:09 +03:00
Weijia WangandGitHub 2e3117c0e0 Merge pull request #237409 from r-ryantm/auto-update/snd
snd: 23.3 -> 23.4
2023-06-12 23:58:52 +03:00
Weijia WangandGitHub d262588200 Merge pull request #237413 from r-ryantm/auto-update/computecpp-unwrapped
computecpp-unwrapped: 2.3.0 -> 2.11.0
2023-06-12 23:46:43 +03:00
Weijia WangandGitHub cfd3d79d12 Merge pull request #237407 from r-ryantm/auto-update/basex
basex: 10.4 -> 10.6
2023-06-12 23:42:39 +03:00
Martin WeineltandGitHub 104455784c Merge pull request #219791 from emilylange/nixos-caddy
nixos/caddy: change `acmeCA` default to `null`, omit empty `bind` directive
2023-06-12 22:40:54 +02:00
Weijia WangandGitHub fa3731b3fd Merge pull request #237411 from azahi/werf-12240
werf: 1.2.239 -> 1.2.240
2023-06-12 23:40:45 +03:00
happysaladaandYt 2573f74d06 nodePackages: update to latest 2023-06-12 16:37:06 -04:00
Weijia WangandGitHub 344b73c5e9 Merge pull request #237402 from malob/update-signalbackup-tools
signalbackup-tools: 20230607 -> 20230612-1
2023-06-12 23:35:05 +03:00
figsodaandGitHub d7cd0facda Merge pull request #237369 from r-ryantm/auto-update/nfpm
nfpm: 2.29.0 -> 2.30.1
2023-06-12 16:34:54 -04:00
figsodaandGitHub d8a6aa11d5 Merge pull request #237391 from r-ryantm/auto-update/albert
albert: 0.20.13 -> 0.20.14
2023-06-12 16:33:58 -04:00
Weijia WangandGitHub 7e2b2de343 Merge pull request #237403 from r-ryantm/auto-update/opera
opera: 99.0.4788.31 -> 99.0.4788.65
2023-06-12 23:32:15 +03:00
Weijia WangandGitHub 9d10adec24 Merge pull request #237415 from amesgen/gsl-platforms
gsl: allow to build on all platforms
2023-06-12 23:30:40 +03:00
Weijia WangandGitHub fdbab50f2f Merge pull request #237405 from figsoda/infra
infra: fix license
2023-06-12 23:28:35 +03:00
Weijia WangandGitHub d3abe4a3a9 Merge pull request #237416 from sikmir/notepad-next
notepad-next: enable on darwin
2023-06-12 23:26:15 +03:00
Valentin GagarinandGitHub dc1a594b3e Merge pull request #237237 from pennae/epubstub 2023-06-12 22:24:38 +02:00
Kirill RadzikhovskyyandYt 80a3b4b7de android-studio: fix launching firefox from inside buildFHSUserEnv 2023-06-12 16:01:27 -04:00
Nikolay Korotkiy 332fedbe9b notepad-next: enable on darwin 2023-06-12 23:36:43 +04:00
figsoda 5be27f190e funzzy: 1.0.0 -> 1.0.1
Diff: https://github.com/cristianoliveira/funzzy/compare/v1.0.0...v1.0.1

Changelog: https://github.com/cristianoliveira/funzzy/releases/tag/v1.0.1
2023-06-12 15:33:36 -04:00
amesgen e74d8f74f8 gsl: allow to build on all platforms 2023-06-12 21:25:21 +02:00
maxineandGitHub f51499490b Merge pull request #237347 from marsam/update-terraform
terraform: 1.4.6 -> 1.5.0
2023-06-12 21:23:17 +02:00
R. Ryantm 41559ec4a0 computecpp-unwrapped: 2.3.0 -> 2.11.0 2023-06-12 19:07:41 +00:00
Azat Bahawi 988243af0f werf: 1.2.239 -> 1.2.240 2023-06-12 22:03:50 +03:00
Martin WeineltandGitHub eb6e16e3c5 Merge pull request #236875 from mweinelt/wyoming_piper_whisper
wyoming-piper: init at 0.0.3, wyoming-faster-whisper: ini at 0.0.3
2023-06-12 21:02:18 +02:00
Malo Bourgon 33730f9edf signalbackup-tools: 20230607 -> 20230612-1
Diff: https://github.com/bepaald/signalbackup-tools/compare/20230607...20230612-1
2023-06-12 11:51:52 -07:00
R. Ryantm 44ffb7247b snd: 23.3 -> 23.4 2023-06-12 18:50:19 +00:00
R. Ryantm 7fd448e9f9 basex: 10.4 -> 10.6 2023-06-12 18:07:50 +00:00
figsoda 3a368ed045 infra: fix license 2023-06-12 14:07:12 -04:00
Kira BruneauandGitHub 0eeebd64de Merge pull request #236183 from kira-bruneau/composable_kernel
composable_kernel: revert split output workaround
2023-06-12 14:01:06 -04:00
R. Ryantm cddc346b13 opera: 99.0.4788.31 -> 99.0.4788.65 2023-06-12 17:59:41 +00:00
figsodaandGitHub 443629518c Merge pull request #237388 from r-ryantm/auto-update/mdbook-toc
mdbook-toc: 0.9.0 -> 0.12.0
2023-06-12 13:39:01 -04:00
Rafael Fernández LópezandMatthieu Coudron fbb732aebc wamr: use finalAttrs pattern 2023-06-12 19:33:28 +02:00
R. Ryantm 76a48e3a45 osv-scanner: 1.3.3 -> 1.3.4 2023-06-12 17:30:38 +00:00
figsodaandGitHub 2827e4727d Merge pull request #237351 from figsoda/fclones 2023-06-12 13:30:23 -04:00
Will FancherandGitHub 5709754a1d Merge pull request #237336 from zi3m5f/fix-systemd-nspawn-machineid-option
systemd-nspawn: fix spelling of MachineID option and add module test
2023-06-12 13:12:59 -04:00
EmilyandGitHub 9f5808d983 Merge pull request #237023 from networkException/update-ungoogled-chromium
ungoogled-chromium: 114.0.5735.90 -> 114.0.5735.106
2023-06-12 19:10:50 +02:00
Fabian AffolterandGitHub b1eb75fc05 Merge pull request #237310 from fabaff/bitarray-bump
python311Packages.bitarray: 2.7.4 -> 2.7.5
2023-06-12 18:59:42 +02:00
R. Ryantm e299fd503b albert: 0.20.13 -> 0.20.14 2023-06-12 16:58:45 +00:00
R. Ryantm 41c1ca3071 python310Packages.jug: 2.2.2 -> 2.2.3 2023-06-12 16:56:02 +00:00