Commit Graph

551 Commits

Author SHA1 Message Date
nikstur b6eb6c1e52 lanzatool: keep unrelated files when running gc 2023-01-04 22:29:09 +01:00
nikstur 8cd7452194
Merge pull request #48 from nix-community/improve-gc-integration-test
Lanzatool: improve gc integration test
2023-01-04 22:27:45 +01:00
Ryan Lahfa e9d911a5f5
Merge pull request #47 from nix-community/RaitoBezarius-patch-1
README: typo on quick start path
2023-01-04 02:12:29 +01:00
Ryan Lahfa 885a171734
README: typo on quick start path 2023-01-04 02:12:19 +01:00
nikstur c4e5ec7008 lanzatool: add more assertions to gc integration test 2023-01-04 01:23:13 +01:00
Julian Stecklina 03fa7d3401
Merge pull request #44 from nix-community/docs
Update README
2023-01-03 17:55:24 +01:00
Julian Stecklina 337689bbbc docs: remove stale information and add overview 2023-01-03 17:51:28 +01:00
nikstur 7afbc43195
Merge pull request #43 from nix-community/some-more-lanzatool-refactoring
lanzatool: some more refactoring
2023-01-02 00:41:13 +01:00
nikstur 1e632c0d1d lanzatool: add context to sbsing output failure 2023-01-02 00:34:01 +01:00
nikstur b592d92744 lanzatool: don't open file to read metadata 2023-01-02 00:34:01 +01:00
nikstur 1c0438a003 lanzatool: simplify uefi path code 2023-01-02 00:33:59 +01:00
nikstur f431622732
Merge pull request #34 from nix-community/configuration-limit
Lanzatool: respect configuration limit
2023-01-02 00:23:02 +01:00
nikstur d3a96b1c3c lanzatool: intgeration test infrastrucutre + gc tests 2023-01-02 00:05:32 +01:00
nikstur 676786f811 lanzatool: add rand dev dependency 2023-01-02 00:05:21 +01:00
nikstur 3c7c8340eb lanzatool: add assert_cmd dev dependency 2023-01-02 00:05:21 +01:00
nikstur eca0ea67fe lanzabooteModule: implement configuration limit 2023-01-02 00:05:21 +01:00
nikstur 9daf9ae0a8 lanzatool: implement configuration limit 2023-01-02 00:05:17 +01:00
nikstur 4a8cfa7f7f lanzatool: add walkdir dependency 2022-12-31 02:10:36 +01:00
nikstur e439cf452b
Merge pull request #42 from nix-community/lanzatool-small-fixes
Lanzatool: small fixes
2022-12-31 00:00:36 +01:00
nikstur 0a58b290e2 lanzatool: clean up parse_version and add simple test 2022-12-30 23:43:19 +01:00
nikstur 463d9496bf lanzatool: write sbsign output to stdout 2022-12-30 23:43:19 +01:00
nikstur d4c5af23fe lanzatool: improve error msg for file_size 2022-12-30 23:43:19 +01:00
nikstur a341baa09a lanzatool: simplify nixos_path and add unit test 2022-12-30 23:43:18 +01:00
nikstur 781651b9e0 lanzatool: improve esp_relative_path_string error msg 2022-12-30 21:11:07 +01:00
nikstur f4e4ad9c3b
Merge pull request #41 from nix-community/path_are_not_strings
Avoid Path -> String Conversions
2022-12-29 00:28:36 +01:00
Julian Stecklina f6ae373500 lanzatool: apply rustfmt to install.rs 2022-12-28 23:59:23 +01:00
Julian Stecklina f07618b64c lanzatool: remove unused utils module 2022-12-28 23:59:23 +01:00
Julian Stecklina b762de9fec lanzatool: remove Path -> String conversions in signature module 2022-12-28 23:59:23 +01:00
Julian Stecklina 74afcb1eea lanzatool: remove Path -> String conversion from pe module
... by using OsString, which can handle broken UTF-8 in file
names.
2022-12-28 23:59:23 +01:00
Ryan Lahfa 3fdf25a5a8
Merge pull request #40 from nix-community/inputs-from-lanzatool
Move lanzatool to inputsFrom in devShell
2022-12-26 20:55:11 +01:00
nikstur 110f1bb9fd flake.nix: move lanzatool to inputsFrom in devShell
When lanzatool is in the packages attr of the devShell, any compliation
error in lanzatool means direnv cannot load the environment anymore.
Then LSP support in your editor and even cargo in your shell is missing.
2022-12-26 16:33:19 +01:00
nikstur 46df12d579
Merge pull request #38 from nix-community/fix-malformed-gens
lanzatool: ignore malformed generations
2022-12-26 02:51:15 +01:00
Raito Bezarius 0ad20b0d5a lanzatool: ignore malformed generations 2022-12-26 02:47:28 +01:00
nikstur de5545a67f
Merge pull request #36 from nix-community/non-flake
chore: support non-flake users
2022-12-26 01:24:26 +01:00
Raito Bezarius 8e482e7db9 chore: support non-flake users 2022-12-26 01:22:34 +01:00
nikstur 287fb0978d
Merge pull request #35 from nix-community/refactor-nix
Move tests into separate file, add more structure to nix directory, and run nixpkgs-fmt & statix over everything
2022-12-25 19:03:44 +01:00
nikstur a6926d7419 flake.nix: add statix and nixpkgs-fmt to devSHell 2022-12-25 18:49:29 +01:00
nikstur 7d5ac15cbb nix.tests: move from flake 2022-12-25 18:49:28 +01:00
nikstur 912c9b27a6 nix: move package and module into subdir 2022-12-25 18:38:41 +01:00
nikstur e90262608e flake.nix: apply suggestions from statix 2022-12-25 18:38:41 +01:00
nikstur eb9b1bbbe3 treewide: format with nixpkgs-fmt 2022-12-25 18:38:39 +01:00
nikstur 07fc31613e
Merge pull request #27 from nix-community/docs
Initial "experimental end-user" documentation
2022-12-25 18:22:59 +01:00
Raito Bezarius c38e155d3c documentation: add a simple quick start 2022-12-25 18:16:14 +01:00
nikstur 14c6c413f3
Merge pull request #26 from nix-community/upstream-bootspec
project: support upstream bootspec
2022-12-25 18:11:28 +01:00
nikstur 65f3c67357 lanzatool: appease clippy by removing borrow 2022-12-25 18:05:07 +01:00
nikstur 6e66c5f0ed Cargo.toml: update bootspec to upstream 2022-12-25 18:05:07 +01:00
Raito Bezarius e3f6029643 nixos/lanzaboote: use upstream bootspec for extension generation 2022-12-25 18:05:07 +01:00
Ryan Lahfa 1e149b8e9f
Merge pull request #32 from nix-community/nlnet
Thank (a lot) NLnet for making this possible
2022-12-21 20:24:40 +01:00
Raito Bezarius 1b9fac224d readme: thank (a lot) NLnet for making this possible 2022-12-21 05:09:00 +01:00
Raito Bezarius 92e7e4f49a lanzatool(bootspec): introduce DetSys's bootspec library 2022-12-18 00:29:49 +01:00