Comments (12)
This should be fixable with the next Rust release as the UEFI target has stabilized.
from lanzaboote.
Yes, that's at least the plan in my head. The bigger challenge here is how to deal with the unstable toolchain that we require for the UEFI target.
from lanzaboote.
This should be fixable with the next Rust release as the UEFI target has stabilized.
For anyone asking: https://forge.rust-lang.org/ -- next release is supposed to be out in 2 days. :)
from lanzaboote.
Yes, that's at least the plan in my head. The bigger challenge here is how to deal with the unstable toolchain that we require for the UEFI target.
RUSTC_BOOTSTRAP=1
from lanzaboote.
Or https://doc.rust-lang.org/cargo/reference/unstable.html#build-std? I think the problem is that we do not have UEFI core/std packaged in nixpkgs.
from lanzaboote.
NixOS/nixpkgs#220373 is here, we are still waiting for some upstream changes due to cargo changes on hashes.
from lanzaboote.
rustc 1.68.1 was landed in staging, the next staging cycle should start soon AFAIK. We will be able to start working on this.
If we want to aim for lanzaboote tooling to be included as part of NixOS 23.05 behind an experimental flag for release, let's say 0.3.0 or 0.4.0.
We have approximately 1.3-1.4 months to land all these changes.
Bootspec should become enabled by default in ~7 days (modulo the necessary changes in nixpkgs) and not a feature preview anymore and will probably be part of NixOS 23.05 (I won't jinx it please).
from lanzaboote.
Now that Rust stable is there, you can see a PR linked here for moving to nixpkgs infrastructure.
Unfortunately, it cannot be merged because cross compilation infrastructure is not yet ready for UEFI targets. There's work in progress in nixpkgs to get it.
from lanzaboote.
#148 will move to Rust stable.
from lanzaboote.
We have moved to Rust stable with #149. The problem is that we need something like NixOS/nixpkgs#226145 to remove our Crane dependency for "production".
from lanzaboote.
NixOS/nixpkgs#228374 is almost enough to get us there.
All that remains is either a custom UEFI target for Rust or a link wrapper tailored for LINK.exe-style parameters.
from lanzaboote.
NixOS/nixpkgs#228374 is almost enough to get us there.
All that remains is either a custom UEFI target for Rust or a link wrapper tailored for LINK.exe-style parameters.
Assuming that you don't actually need the wrappers for Lanzaboote, this would still work.
from lanzaboote.
Related Issues (20)
- Move the kernels somewhere else HOT 2
- Potential TOCTOU while reading stub data from filesystem rather than memory HOT 3
- Contributing guideline HOT 4
- Manipulate efivars when installing via `lzbt` HOT 6
- Informative logging for malformed generations HOT 1
- lanzaboote_stub build fails with the latest nixos-unstable HOT 1
- Support systemd-boot random seed HOT 3
- Remove hardcoding of the bootloader options HOT 2
- Multiple profiles support
- "Built on" date always set to 1970-01-01 HOT 9
- lanzaboote_tool fails to build on current unstable HOT 9
- kexec is broken with lanzaboote HOT 10
- Dependency Dashboard HOT 1
- Error during build: libgcc_s.so.1 -> not found! HOT 5
- "No bootable" protection
- Plan for Shim integration HOT 4
- XBOOTLDR support HOT 9
- `nix-collect-garbage -d` doesn't delete old system profiles HOT 6
- Lanzaboote Setup Not Working HOT 7
- nix-collect-garbage -d removes all generations from boot menu? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lanzaboote.