Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Utilize lanzaboote for cross-arch installation? #221

Open
colemickens opened this issue Sep 9, 2023 · 0 comments
Open

Utilize lanzaboote for cross-arch installation? #221

colemickens opened this issue Sep 9, 2023 · 0 comments

Comments

@colemickens
Copy link
Member

Say that I have:

  1. An x86_64-linux development machine
  2. An aarch64-linux SBC target machine (with USB/NVME, some sort of removable media that can be direct attached to the development machine)
  3. A pre-built system NixOS topleve closure for the SBC target.

Today, installing NixOS directly onto media for the SBC is rather annoying.

These parts are "easy":

  • configure target media (assume removable media that can be mounted to dev machine) - aka, disk/partition setup
  • copy initial system closure

However, actually making it bootable is a pain. I have done some tricks in the past to get extlinux-compatible bootloader to dump a single generation configuration into a directory, which I can then manually install to the target /boot. Which, in the case of a u-boot system, is "'good enough".

Would it be possible to utilize lanzaboote to handle this cross-arch installation scenario?

I considered nixos-anywhere here, but there are a number of SBC boards, for example, where kexec does not work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant