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

Add the demo rootfs build to release.nix #113

Merged
merged 7 commits into from Mar 31, 2020

Conversation

samueldr
Copy link
Member

@samueldr samueldr commented Mar 29, 2020

This will ensure Hydra builds everything required for the rootfs, making sure our demo rootfs keeps being buildable.

This will also provide a trustable source for the rootfs so end-users can use a somewhat usable system on their device even if they do not have a native aarch64-linux system to build from.

TODO

  • Compress rootfs image for hydra builds
  • Document usage pattern to build a full image using a pre-built rootfs.

Once merged:

  • Add inNixOSHydra true to the jobset.

The rootfs goes from 3.3GiB uncompressed to... 798MiB compressed! What a deal!

@samueldr samueldr added the 4. type: enhancement New feature or request label Mar 29, 2020
As thus rootfs is universal, building it will allow end-users to
directly be able to run a somewhat usable system on their devices, even
if they are unable to bootstrap themselves one.

Furthermore, this ensures that the requirements are built and do
continue building on aarch64-linux.
@samueldr
Copy link
Member Author

See #117 for a future improvement related to this PR.

@samueldr samueldr marked this pull request as ready for review March 31, 2020 05:18
@samueldr
Copy link
Member Author

The left-over task will be handled in a soon upcoming docs improvement PR.

@samueldr samueldr changed the title [WIP] Add the demo rootfs build to release.nix Add the demo rootfs build to release.nix Mar 31, 2020
@samueldr samueldr merged commit e4c5d21 into NixOS:master Mar 31, 2020
@samueldr samueldr deleted the feature/hydra-rootfs branch March 31, 2020 06:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. type: enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant