-
-
Notifications
You must be signed in to change notification settings - Fork 312
Add tutorial for testing NixOS Calamares installer changes #1196
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
base: master
Are you sure you want to change the base?
Add tutorial for testing NixOS Calamares installer changes #1196
Conversation
tomberek
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
related: NixOS/nixpkgs#475297 is merged
| ## Introduction | ||
|
|
||
| The NixOS graphical installer uses [Calamares](https://calamares.io/), a distribution-independent installer framework. | ||
| When contributing changes to the installer configuration in nixpkgs, you need to test that the installation process works correctly. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wait, this sounds like something for the Nixpkgs (or rather NixOS) contributing guide. Why are we adding it here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh. @fricklerhandwerk Should I re-word it? Or I can remove that line (17) completely
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes but then what exactly is the tutorial for (i.e., which skills do NixOS users learn that they can apply when using NixOS day to day)? Why not add those instructions to the contributing guide?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@fricklerhandwerk Aah, I think I see what you mean. In that case I am proposing I move this to /guides
Adds documentation on how to test changes to the NixOS graphical installer (Calamares) using QEMU virtual machines.
Covers building the installer ISO, setting up test disk images and testing both BIOS and UEFI boot modes with various filesystem configurations.
This came up while working on NixOS/nixpkgs#475297 and figured it would be useful to have documented for future contributors.