Commit Graph

292 Commits

Author SHA1 Message Date
Julian Stecklina 1ca83c25d5 Remove some unwraps 2022-11-23 14:11:54 +01:00
Julian Stecklina 8559bf664e Add a disclaimer about the current security status 2022-11-23 14:11:24 +01:00
Julian Stecklina fe3d4015ba Perform load_image on initrd to hopefully verify signatures 2022-11-23 14:03:53 +01:00
Julian Stecklina 568fe1d499 Unwrap initrd from PE image for Linux 2022-11-23 13:51:07 +01:00
Julian Stecklina 60b269b69c Add a script to wrap an initrd into an EFI application 2022-11-23 13:11:22 +01:00
Julian Stecklina dea1ab9798 Fix initrd-stub build 2022-11-23 13:05:19 +01:00
Julian Stecklina 9567fa7f0e Build tiny empty PE image as initrd carrier 2022-11-23 13:00:55 +01:00
Julian Stecklina e6953037e7 Fix clippy warnings 2022-11-23 12:13:45 +01:00
Julian Stecklina 5a6c05cf11 Pass on command line from UKI to Linux kernel 2022-11-23 12:11:20 +01:00
Julian Stecklina 8f2f11aa1b Move loaded_image implementation to helpers module 2022-11-23 11:29:40 +01:00
Julian Stecklina 8f58633d84 Remove unsafe LoadedImage protocol invocation 2022-11-23 11:20:51 +01:00
Julian Stecklina 5b414bd20b Remove stable Rust toolchain for now 2022-11-23 00:58:52 +01:00
Julian Stecklina 5e7bdfd5b5 Pass initrd to Linux 2022-11-23 00:53:00 +01:00
Julian Stecklina ee861e2fc0 Install initrd loading protocol 2022-11-23 00:53:00 +01:00
nikstur 4a90c19892 flake.nix: automagically use deps in shell with inputsFrom 2022-11-23 00:26:00 +01:00
Julian Stecklina cfff037390 Merge pull request #4 from blitz/fix-gitignore
.gitignore.nix: block result* in subdirectories too
2022-11-23 00:22:39 +01:00
nikstur 76019b2f9c .gitignore.nix: block result* in subdirectories too 2022-11-23 00:20:27 +01:00
Julian Stecklina 23d8929546 Create uefi helpers module 2022-11-22 16:24:09 +01:00
Julian Stecklina 76e7635de8 Move PE parsing into its own module 2022-11-22 16:18:12 +01:00
Julian Stecklina 9aab0d27da Make it smaller 2022-11-22 15:53:24 +01:00
Julian Stecklina 4e8fbd42cd Regenerate lock file 2022-11-22 11:50:13 +01:00
Julian Stecklina d90fac9eef Open current image 2022-11-22 11:50:05 +01:00
Raito Bezarius c7ca236941 lanzaboote: remove unused imports 2022-11-22 10:34:14 +01:00
Raito Bezarius 50b39a3b8f lanzaboote: safe-ize root directory finding using exts feature 2022-11-22 02:24:38 +01:00
Raito Bezarius aada596b8c flake: add openssl for pki generation 2022-11-22 02:18:22 +01:00
Julian Stecklina 018ee3ec68 Ignore all Rust target directories 2022-11-22 01:54:30 +01:00
Julian Stecklina f40199b7aa Move Rust tools into a common directory 2022-11-22 01:53:40 +01:00
Julian Stecklina b4f670455a Merge remote-tracking branch 'origin/lanzatool' 2022-11-22 01:48:53 +01:00
Julian Stecklina 381f73e0a6 Boot a Linux kernel 2022-11-22 01:39:05 +01:00
nikstur 5dc82382e2 lanzatool: init 2022-11-22 01:29:16 +01:00
Julian Stecklina 3990557849 Factor out file reading 2022-11-22 01:13:41 +01:00
Julian Stecklina 20e1bf7fc8 Set boot loader version 2022-11-22 01:01:11 +01:00
Julian Stecklina 172b341a4c Simplify code that finds the root directory 2022-11-22 01:00:36 +01:00
Julian Stecklina ed8509ce9d Remove useless rec 2022-11-22 00:45:18 +01:00
Julian Stecklina afcbe7140e Minimize shell environment 2022-11-22 00:44:14 +01:00
Julian Stecklina bcad59a20a Move uefi-run into its own Nix file 2022-11-22 00:43:15 +01:00
Julian Stecklina 6e13511b4d Add code that reads a file from the ESP 2022-11-21 17:52:06 +01:00
Julian Stecklina 4970dafdbf Add logo 2022-11-21 16:22:44 +01:00
Julian Stecklina 0c013e77a7 Add crypto library 2022-11-21 16:03:58 +01:00
Julian Stecklina 8a505bd0e1 Add magic invocation to README 2022-11-21 16:02:20 +01:00
Julian Stecklina b10ee4d0d6 Make systemd boot the EFI binary 2022-11-21 15:36:39 +01:00
Julian Stecklina cd39fd3a6b Initial import of Rust files 2022-11-21 12:31:23 +01:00