Commit Graph

45 Commits

Author SHA1 Message Date
Ehmry - 9a12b98960 Cleanup 2022-04-24 18:20:39 -05:00
Ehmry - ad9261c0ac A bunch of unstaged stuff I found months later 2021-12-10 10:13:20 +00:00
Ehmry - 69c8b0d5a3 fixup genodeSources update 2021-04-16 16:00:16 +02:00
Ehmry - af796dd627 Update genodeSources to sculpt-21.03
Consolidate libc patch into sources patch.
2021-04-15 16:49:34 +02:00
Ehmry - 4c0a6e94f4 Add inline documentation 2021-03-10 18:47:49 +01:00
Ehmry - e3524c4277 erisPatchHook: patch ELF images to load ERIS URNs
Add this hook to the Genode stdenv.
2021-03-03 15:14:21 +01:00
Ehmry - 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
Ehmry - ba1d50ab6b packages: consolidate genodeSources patches 2021-02-19 22:13:29 +01:00
Ehmry - 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
Ehmry - 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
Ehmry - 5e9039f88e Move Genode flake input into overlay 2021-01-12 12:56:22 +01:00
Ehmry - bb08952553 packages/genodelabs: support for building ports from world repo 2020-12-20 13:20:06 +01:00
Ehmry - 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
Ehmry - c1c5f4f852 genodeSources: patch ld to load read-only segments 2020-11-16 00:38:21 +01:00
Ehmry - a7ef650679 packages/genodelabs: move all those patches to a subdir 2020-11-13 15:21:04 +01:00
Ehmry - a2a152b68a tests: add Bash test
Test Bash and Coretuils from the Genode Labs ports.
2020-11-13 15:03:33 +01:00
Ehmry - 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
Ehmry - e9407c3e5d core: patch to log ROM when diag is set 2020-11-13 15:03:33 +01:00
Ehmry - df5be1d6dc Simplify packages layout 2020-11-13 15:03:32 +01:00
Ehmry - a48dc08001 Return to *.lib.so library naming convention 2020-11-01 20:12:04 +01:00
Ehmry - 839f66e2de Prepare ports using x86_64-linux nixpkgs 2020-10-23 10:16:24 +02:00
Ehmry - 1168611109 Update Genode sources to latest master 2020-10-20 00:08:35 +02:00
Ehmry - c3385aedd0 genodeSources: 20.05 -> 20.08 2020-09-02 13:01:53 +02:00
Ehmry - 1f53f25419 Relicense as MIT 2020-08-27 17:15:09 +02:00
Ehmry - f9958ba64b genodeSources: arch-independent ports
Do not apply the fixup phase to ports, patching script shebangs is
infecting the ports with the packages used to prepare the port.

Do not import the package versions from the genodeSources
derivation, this breaks "nix flake list".

Make the selection of packages from buildPackages more explicit.
2020-08-15 18:37:43 +02:00
Ehmry - 4f74ff9452 Documentation and cleanup 2020-08-02 16:46:34 +02:00
Ehmry - 8134e9bd13 vbox: remove iasl patch 2020-06-11 11:10:39 +05:30
Ehmry - 60473079e8 ports: extract port version from the Genode sources 2020-06-11 11:10:39 +05:30
Ehmry - 559f4aa3c0 Add aarch64 platform
Add the hw-virt_qemu platform to tests, rename hw to hw-pc.
2020-06-03 16:56:33 +05:30
Ehmry - 7dc432ce33 Increase binary labels strings to accomodate store paths 2020-05-30 17:31:12 +05:30
Ehmry - 44d8327f43 Update to Genode 20.05 2020-05-28 17:47:06 +05:30
Ehmry - 32d65d2f41 Patch Genode upstream to use conventional library names
Use library names that are compatible with legacy software.
2020-05-08 01:11:30 +05:30
Ehmry - 1400dded7e fixup! tests: consolidate rtc, signal, pci into x86 test 2020-04-26 11:48:05 +05:30
Ehmry - feb555991e genodeSources: prevent build scrips from stripping
The fixup phase of the Nix builder strips files and easier to disable.
2020-04-20 16:46:39 +05:30
Ehmry - 7a04959417 Patch Genode sources per-package
Avoid cross package rebuilds when patching. Remove init schema
validation, as its not worth patching.
2020-04-08 21:22:52 +05:30
Ehmry - ed3cf7f063 Prefer Genode Labs packages from depot builds 2020-04-08 21:22:52 +05:30
Ehmry - 8a74a86599 Move genodeSources from packages to overlay 2020-03-31 23:10:32 +05:30
Ehmry - db7d458b5e Add package manifests at testing site
The manifests can be generated at late as possible. Also, in the future
a list of binaries in use by an init expression can be extracted and
selected from a list of input packages.
2020-03-31 23:10:32 +05:30
Ehmry - 918c74a111 Make devShell a Genode Labs FHS environment 2020-03-20 23:45:47 +05:30
Ehmry - 6d6d585f0f Refactor of packaging and testing
- Remove manifests from Dhall configurations and mix all
   test inputs to generate test ROM maps.

 - All loader and timer drivers are name ld.lib.so and timer_drv.

 - Replace packages of multiple Genode Labs targets with functions
   to build individual targets. These packages are not explicitly
   specified unless they require inputs from the source ports or
   extra nativeBuildInputs.

 - Add support for building from Genode world repository.
2020-03-18 19:39:57 +05:30
Ehmry - a61c3532e8 Build more packages using upstream build system
- Implement support for "ports"
- Update Nixpkgs to use Genode 20.02
- Remove packaging of forked Genode
2020-03-02 19:17:14 +01:00
Ehmry - 57d8d01e42 Update Genode to 20.02 release 2020-02-28 14:42:34 +01:00
Ehmry - 7f30ff1fed Tweak Genode upstream build wrapper 2020-02-24 22:47:07 +01:00
Ehmry - bfebc6dcef Patch Genode Labs builds for unlabeled LOG sessions (SOTEST) 2020-02-19 14:52:34 +01:00
Ehmry - 7d5d2a3c5e Add base-hw-pc
Build base-hw-pc with the Genode Labs build system
2020-02-19 13:26:15 +01:00