1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-16 20:21:32 +03:00
Commit Graph

21 Commits

Author SHA1 Message Date
Samuel Dionne-Riel
6711b2d108 release.nix: Test android flashable zip binaries 2021-02-28 15:53:12 -05:00
Samuel Dionne-Riel
36cff692b2 release.nix: Fix oversight with kernel builders
This way we finally have an error-free eval.
2021-02-24 18:43:37 -05:00
Samuel Dionne-Riel
0d9c6ce207
Merge pull request #310 from samueldr-wip/fix/more-hermetic-release.nix
More hermetic release.nix and examples
2021-02-23 21:02:59 -05:00
Samuel Dionne-Riel
f1268082f9 lib/release-tools: eval helpers don't include default.nix anymore
This is required for more hermetic evals.

A simple thing to try is, before this change, replace `default.nix` with
`throw "No thanks..."`. It would throw. It was also possible to observe
`local.nix` was being included by the warnings.

Wioth this change, `release.nix` does not include `local.nix` through
`default.nix`.

I think this was the last piece of Mobile NixOS that actually relied on
`default.nix` being a thing. We have finally completely inverted the
control, where `default.nix` uses the helpers, rather than the helpers
evaluating a specialized `default.nix`.

From now on, it should be entirely safe to experiment with
`default.nix`. We should be able to **fail noisily** when a user builds
the default empty configuration!
2021-02-21 17:34:12 -05:00
Samuel Dionne-Riel
a1b7ba14d7 release.nix: Add testedPlus aggregate job
This includes the whole `tested` job (a simple no-op for hydra), but
adds additional things we want to track success for.

`tested` is for the basic minimum we want to succeed.
`testedPlus` adds more exotic, and less well-tested platforms.
2021-02-21 17:33:43 -05:00
Edward Amsden
c507b39099 Make the package set a parameter instead of using <nixpkgs> everywhere.
Co-authored-by: Samuel Dionne-Riel <samuel@dionne-riel.com>
Co-authored-by: Edward Amsden <edward@blackriversoft.com>
2021-02-02 01:58:41 -05:00
Samuel Dionne-Riel
b2790d13d6 qemu-x86_64: Delete device
It's being replaced by the generic uefi-x86_64 device.

Basically, replace the QEMU-specific system type by the totally standard
UEFI system type. This way we're dogfooding it way better!
2020-12-29 19:22:43 -05:00
Samuel Dionne-Riel
6227192812 release.nix: pre-built demo rootfs is generic
Which means there is no device-specific kernel/initrd on them.
2020-12-27 17:38:29 -05:00
Samuel Dionne-Riel
9179158645 release-tools: Split useful Mobile NixOS evaluation tools
This is to be used by the documentation system, without requiring to
repeat all of the code.
2020-04-04 14:39:23 -04:00
Samuel Dionne-Riel
b34f78b704 release.nix: examples-demo-rootfs -> examples-demo.aarch64-linux.rootfs
This allows us to add more outputs to `examples-demo`, and more
importantly, differentiates systems. After all, we want to build
armv7l-linux ASAP!
2020-03-31 15:40:40 -04:00
Samuel Dionne-Riel
a73d030a5b release.nix: Preface with a usage note 2020-03-31 14:59:20 -04:00
Samuel Dionne-Riel
f4f848c6b2 release.nix: Compress demo rootfs
We cannot apply the compression outright on all builds as the image
building infrastructure is not aware of compressed images.
2020-03-31 01:12:09 -04:00
Samuel Dionne-Riel
fd3a5c656c release.nix: Add knowledge of the project's build infra 2020-03-30 23:33:31 -04:00
Samuel Dionne-Riel
875a94f659 release.nix: Build the demo rootfs
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.
2020-03-29 00:18:02 -04:00
Samuel Dionne-Riel
cabd0eac10 release.nix: Add note about .ci/instantiate-all.nix 2020-03-28 22:53:48 -04:00
Samuel Dionne-Riel
648b848115 release.nix: Special evals are system-types "none" 2020-03-28 22:53:48 -04:00
Samuel Dionne-Riel
6b33a0a14c release.nix: drop all-devices.nix
See:

 * https://github.com/NixOS/mobile-nixos/pull/40/files#r339630767
2020-03-13 22:45:19 -04:00
Samuel Dionne-Riel
1130301de3 release.nix: Add tested jobset 2020-03-13 21:38:32 -04:00
Samuel Dionne-Riel
5be1588bb3 release.nix: minor cleanup 2020-03-13 21:38:32 -04:00
Samuel Dionne-Riel
611b107b10 release.nix: Eval devices for all local systems 2020-03-13 19:44:08 -04:00
Samuel Dionne-Riel
3f377dd275 release.nix: Init, for hydra consumption
This release.nix is intended to provide:

 * Builds for our overlay
 * Builds for all devices
2020-03-13 18:06:00 -04:00