Commit Graph

97 Commits

Author SHA1 Message Date
Emery Hemingway 9e1bd74bdd Specify missing depotInputs for some depot packages 2021-04-12 20:50:27 +02:00
Emery Hemingway aebde2aeaa ahci_drv, part_block: patch for policy reconfiguration 2021-04-06 11:17:00 +02:00
Emery Hemingway de98f23758 nixos: replace store_rom with rom_eris 2021-03-17 18:06:22 +01:00
Emery Hemingway 4c0a6e94f4 Add inline documentation 2021-03-10 18:47:49 +01:00
Emery Hemingway 207da49692 vbox5: do not build from depot
The depot build is somehow broken by ERIS patching.
2021-03-03 15:14:21 +01:00
Emery Hemingway e3524c4277 erisPatchHook: patch ELF images to load ERIS URNs
Add this hook to the Genode stdenv.
2021-03-03 15:14:21 +01:00
Emery Hemingway 83c36784ff Propagate dependencies between depot packages
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-03-03 15:13:20 +01:00
Emery Hemingway ba1d50ab6b packages: consolidate genodeSources patches 2021-02-19 22:13:29 +01:00
Emery Hemingway a9b18e95c4 stdenv.cc: add proper C++ support 2021-02-18 15:35:02 +01:00
Emery Hemingway bf93a9d05e Replace deprecated stdenv.lib references 2021-02-16 15:49:54 +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 e9d784ac52 Patch: Increase session creation buffer size to 240 bytes 2021-02-16 15:46:14 +01:00
Emery Hemingway 18e59cd590 Patch: Detect destroyed argument buffers at Env::session 2021-02-10 14:22:33 +01:00
Emery Hemingway 4c73e12974 libc: add missing internal symbols 2021-02-06 21:41:39 +01:00
Emery Hemingway f16241e7e9 vfs_rump: static link dependencies 2021-02-06 14:37:44 +01:00
Emery Hemingway 7e1bb6425f vfs: patch for loading plugins by label, long tar names 2021-02-06 14:37:44 +01:00
Emery Hemingway f12d27872a Patch genode_dyn.ld to not emit PHDR segments
This is important, because otherwise binutils will refuse to strip
Genode binaries, which causes runtime closures to explode, which
causes a giant image.elf, which takes so long to load that tests
break.
2021-01-28 15:42:06 +01:00
Emery Hemingway 15f122f981 Add the rpcsvc-proto package to the libc port inputs
The libc "port" requires the rpcgen utility to generate some source
files. This was previously provided by glibc, but is missing in the
current version. The output of libc port remains constant.
2021-01-12 12:56:45 +01:00
Emery Hemingway 5e9039f88e Move Genode flake input into overlay 2021-01-12 12:56:22 +01:00
Emery Hemingway 74b4c0df69 cached_fs_rom: fix off-by-one in symlink copy_cstring 2020-12-20 13:20:06 +01:00
Emery Hemingway f7b990a6ca libc: patch to remove odd O_NOFOLLOW behavior 2020-12-20 13:20:06 +01:00
Emery Hemingway f7b2688611 packages/vfs: patch to fix session directory creation 2020-12-20 13:20:06 +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 bb08952553 packages/genodelabs: support for building ports from world repo 2020-12-20 13:20:06 +01:00
Emery Hemingway df948cc6d8 libc: patch in more missing features 2020-12-10 20:25:02 +01:00
Emery Hemingway 6a177ba62b update libc argv patch 2020-11-28 18:56:21 +01:00
Emery Hemingway 066a91bd31 Update ROM diagnostic patches 2020-11-28 18:55:45 +01:00
Emery Hemingway 77e0aa3e05 Update Genode Labs sources 2020-11-27 15:03:29 +01:00
Emery Hemingway 143c0c5551 genodePackages: symlink *.lib.so to lib*.so in depot outputs
This less about linking to lib*.so and more about the Bintools package
detecting that these actually are directories containing libraries.
2020-11-27 11:45:16 +01:00
Emery Hemingway 1348a45b8e libc: always set argv and envp to valid addresses 2020-11-27 11:45:16 +01:00
Emery Hemingway 28ed464f13 packages: list some portInputs for depot packages 2020-11-24 11:13:03 +01:00
Emery Hemingway f3071fbbcf Add all Genode Labs depot packages to target list
This is to make it possible to refer to any of the depot packages
externally via the flake. Not everything will build, but what should
build can be enumerated now. Some packages are missing a required
"portInputs" attribute, and in some cases those ports will be missing.
2020-11-17 11:36:37 +01:00
Emery Hemingway c1c5f4f852 genodeSources: patch ld to load read-only segments 2020-11-16 00:38:21 +01:00
Emery Hemingway f74b789840 nixos: lxip support in hardware.nix 2020-11-13 15:21:04 +01:00
Emery Hemingway a7ef650679 packages/genodelabs: move all those patches to a subdir 2020-11-13 15:21:04 +01:00
Emery Hemingway 7822090e58 packages: add the rest of the nic_* utilities 2020-11-13 15:21:04 +01:00
Emery Hemingway 6e37206cb3 Patch Virtio PCI net driver to log message before dying 2020-11-13 15:03:33 +01:00
Emery Hemingway 2925af0c89 Patch the x86 platform driver to assign devices by index 2020-11-13 15:03:33 +01:00
Emery Hemingway e9286cd9fa vfs_lwip: patch to reorder log messages 2020-11-13 15:03:33 +01:00
Emery Hemingway a2a152b68a tests: add Bash test
Test Bash and Coretuils from the Genode Labs ports.
2020-11-13 15:03:33 +01:00
Emery Hemingway a1f9effb3c genodeSources: patch to detect session_label failures
Throw an exception if destructive truncation is detected in Session_label.
2020-11-13 15:03:33 +01:00
Emery Hemingway e9407c3e5d core: patch to log ROM when diag is set 2020-11-13 15:03:33 +01:00
Emery Hemingway df5be1d6dc Simplify packages layout 2020-11-13 15:03:32 +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 8dd6e9c248 cached_fs_rom: path for symlink traversal 2020-11-13 14:47:23 +01:00
Emery Hemingway 2132b41ab9 init: patch to log error when configuration cannot be parsed 2020-11-08 16:10:30 +01:00
Emery Hemingway b0cd6b04fc Fix dde_bsd ports hash 2020-11-01 20:29:19 +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
Emery Hemingway a48dc08001 Return to *.lib.so library naming convention 2020-11-01 20:12:04 +01:00
Emery Hemingway 839f66e2de Prepare ports using x86_64-linux nixpkgs 2020-10-23 10:16:24 +02:00