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

kexec-bundle doesn't run #334

Open
IogaMaster opened this issue Apr 26, 2024 · 4 comments
Open

kexec-bundle doesn't run #334

IogaMaster opened this issue Apr 26, 2024 · 4 comments

Comments

@IogaMaster
Copy link
Member

IogaMaster commented Apr 26, 2024

tar is unable to copy /nix for the process to complete
Due to /nix being read only.
Is there any way to make it work?

@Mic92
Copy link
Member

Mic92 commented Jun 12, 2024

cc @farcaller who fixed it last time.

@farcaller
Copy link
Contributor

Is it still a problem?

$ git rev-parse HEAD
35c20ba421dfa5059e20e0ef2343c875372bdcf3
$ nix build .
$ cat cfg
{
  services.openssh.enable = true;
}
$ ./result/bin/nixos-generate -o result2 -f kexec-bundle -c cfg
/nix/store/xr9x4bf347mg341kb3shq4ddl1akx558-kexec_bundle

The latter seems a rather valid-made bundle to me.

@IogaMaster
Copy link
Member Author

It builds, just doesn't install correctly.

@farcaller
Copy link
Contributor

@logaMaster you mean the resulted script doesn’t run proper or something else? Can you please elaborate on your use case? What are you trying to do and how does it fail?

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

3 participants