Commit Graph

33 Commits

Author SHA1 Message Date
Emery Hemingway 532d6eec0f Use buildPackages where appropriate 2022-05-25 11:20:32 -05:00
Emery Hemingway 2033bd8af1 Deadnix cleanup
https://github.com/astro/deadnix
2022-04-24 18:20:39 -05:00
Emery Hemingway 48966025df Add /nix/store bck to store image 2021-04-15 09:24:15 +02:00
Emery Hemingway 3d722d1d2a fixup consolidation of eris store 2021-04-15 09:22:28 +02:00
Emery Hemingway 291cde7b4a nixos: configure Nic uplinks for genode.init.children
…not just genode.core.children.
2021-04-12 20:49:24 +02:00
Emery Hemingway 56e66ea842 nixos: move /eris/* in store image to /
All the ERIS URNs are prefixed already.
2021-04-12 10:15:43 +02:00
Emery Hemingway cd1b95c1d7 nixos: rename genode.boot to genode.core
Have a "boot.…" and a "genode.boot.…" is confusing.
2021-04-09 16:39:06 +02:00
Emery Hemingway 5ebe441c52 nixos: derived partition GUIDs 2021-04-07 15:21:00 +02:00
Emery Hemingway 192e9f1b7b Use ISO9660 for the ERIS store 2021-04-07 15:21:00 +02:00
Emery Hemingway 94c73172cb Rename dhall-genode to dhall-sigil 2021-04-07 15:21:00 +02:00
Emery Hemingway a91dda99d8 nixos: add uplink option to children
Add an option to genode.core.children and genode.init.children
for specifying a Nic driver for the exclusive use of the child
for which it is added. This mechanism is to support the nic_router
but it is reusable for arbitrary children.
2021-03-17 18:55:13 +01:00
Emery Hemingway de98f23758 nixos: replace store_rom with rom_eris 2021-03-17 18:06:22 +01:00
Emery Hemingway 165cf60551 nixos-modules: consolidate common init functions
The "config.genode.init.children" option is a superset of the
"config.genode.core.children" option, so refactor both into
helper functions.
2021-03-03 15:14:21 +01:00
Emery Hemingway 98175a0f9b fixup rump and ext2 image loading 2021-03-03 15:14:21 +01:00
Emery Hemingway 7376302bcc Do not worry about the store closure in make-ext2-fs
Probably should worry about this.
2021-03-03 15:14:21 +01:00
Emery Hemingway 85a108bdb3 erisPatch nixos modules 2021-03-03 15:14:21 +01:00
Emery Hemingway 2afd2d08cc nixos: add genode.init.children.<…>.binary option
Require that all init children declared by Nix be declared with
an absolute path to the program binary.
2021-02-16 15:46:14 +01:00
Emery Hemingway cc211e763a packages: transitive depot package dependencies
The buildDepot function now takes a "depotInputs" argument that
propagates "portInputs" and "depotInputs" across packages.

Drop the stdcxx package that includes a dev output and just use
the simple depot package for now.
2021-02-16 15:46:14 +01:00
Emery Hemingway 8379dccf12 Refer to program and library ROMs by store path
Retrieve ROMs in the common case by full store path. This reduces
the need for route policies for driving relative requests into
absolute package paths.

Making library requests by absolute path required libraries to be
stored in the core image as such, and it follows that program
binaries should be handled in the same way. This makes requests
to core and to a file-system store more consistent, and makes
dependency detection more robust.
2021-02-16 15:46:14 +01:00
Emery Hemingway b77a91bc87 nixos-modules: boot packages from buildPackages.buildPackages 2021-02-06 21:41:24 +01:00
Emery Hemingway 9c23c59044 nixos: rename store_fs to fs, cleanup
The file-system containing the nix store also acts as the main
file-system.
2021-02-01 15:36:29 +01:00
Emery Hemingway 8c0c7d55c4 nixos: config.genode.boot.storeBackend is "fs" or "memory"
Make the config.genode.boot.storeBackend option a choice between
a traditional file-system or memory-backed file-system image. Fix
GRUB booting when using a file-system store.

The nova-ahci test shows that this is working.
2021-02-01 13:37:28 +01:00
Emery Hemingway 74ea4d0c12 nixos: add file-systems options 2021-01-21 12:25:08 +01:00
Emery Hemingway b15c1b6cea nixos: replace system.build.toplevel 2021-01-21 12:14:54 +01:00
Emery Hemingway a558cba7da nixos: persistent file-system storage 2021-01-12 12:56:45 +01:00
Emery Hemingway 07645a3930 nixos: boot from AHCI 2021-01-12 12:56:43 +01:00
Emery Hemingway 7c3504d2d6 nixos-modules: add nix-store USB backend
Load the store from an EXT2 file-system from USB storage.
2021-01-12 10:27:25 +01:00
Emery Hemingway 3215190568 nixos: add jitter_sponge entropy source
Share an entropy generator amount the systemd services. Would be nice to
have that virtio_rng driver.
2020-12-20 13:20:06 +01:00
Emery Hemingway f8df320507 nixos: add genode.init.coreROMs option
Explicitly specify ROMs that must route past the nix-store.
2020-11-13 15:21:04 +01:00
Emery Hemingway 19ab414671 nixos: add genode.init.children.….configFile to system closure 2020-11-13 15:03:33 +01:00
Emery Hemingway ddc65a8087 Refactor routing
Patch init to simplify routing. Update Dhall library and NixOS modules
accordingly.
2020-11-13 14:47:24 +01:00
Emery Hemingway 5b98e963c7 nixos: check config.system.build.initXml with xmllint 2020-11-08 16:10:30 +01:00
Emery Hemingway ebf3606705 Port NixOS module system
Convert the tests to use the module system from NixOS.
2020-11-01 20:29:19 +01:00