Commit graph

266 commits

Author SHA1 Message Date
github-actions[bot]
ffc36b9def flake.lock: Update
Flake lock file updates:

• Updated input 'nixos-2305':
    'github:NixOS/nixpkgs/067a81a6859a020135a73fcbb7b16e9fb43dc435' (2023-06-11)
  → 'github:NixOS/nixpkgs/5f6396e85487aa59c801da5f7c87ac20098b2fa8' (2023-06-11)
• Updated input 'nixos-unstable':
    'github:NixOS/nixpkgs/32d8e07a8ea673bc9b8c0f8106fb0b776c6ea6a8' (2023-06-07)
  → 'github:NixOS/nixpkgs/3d318cb303f285d2964d4137619cb21ddd56cfd5' (2023-06-11)
2023-06-12 01:09:27 +00:00
bors[bot]
af9bfe325c
Merge #111
111: link to unattended nixos installer r=Mic92 a=Mic92



Co-authored-by: Jörg Thalheim <joerg@thalheim.io>
2023-06-11 16:19:33 +00:00
Jörg Thalheim
fb1219ebff link to unattended nixos installer 2023-06-11 18:18:04 +02:00
bors[bot]
13e5db35e8
Merge #110
110: github-ci: update to 23.05 r=Mic92 a=Mic92



Co-authored-by: Jörg Thalheim <joerg@thalheim.io>
2023-06-11 06:54:56 +00:00
Jörg Thalheim
17720078c7 github-ci: update to 23.05 2023-06-11 08:54:27 +02:00
bors[bot]
5eaf2832d7
Merge #109
109: aarch64-linux: enable ci r=Mic92 a=Mic92



Co-authored-by: Jörg Thalheim <joerg@thalheim.io>
2023-06-11 06:24:06 +00:00
Jörg Thalheim
b80c95fe68 garnix: enable aarch64-linux 2023-06-11 07:51:31 +02:00
bors[bot]
9ecfd698b6
Merge #108
108: Nixos 23.05 r=Mic92 a=Mic92



Co-authored-by: Jörg Thalheim <joerg@thalheim.io>
2023-06-11 05:50:36 +00:00
Jörg Thalheim
d2de4da5fb update bors.toml 2023-06-11 07:50:08 +02:00
Jörg Thalheim
e70ef61629 drop disko; add nixos 23.05 images
nixos noninteractive: re-add missing filesystems
2023-06-11 07:44:29 +02:00
bors[bot]
08ff168454
Merge #107
107: nixos noninteractive: re-add missing filesystems r=Mic92 a=Mic92



Co-authored-by: Jörg Thalheim <joerg@thalheim.io>
2023-06-11 05:38:17 +00:00
Jörg Thalheim
a7f73290d5 nixos noninteractive: re-add missing filesystems 2023-06-11 07:31:34 +02:00
bors[bot]
e252d40dab
Merge #97 #105
97: flake.lock: Update r=Mic92 a=nix-eval-jobs-bot



105: noninteractive: Add zfs packages r=Mic92 a=dantefromhell



Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: dantefromhell <90508808+dantefromhell@users.noreply.github.com>
2023-06-11 03:37:52 +00:00
bors[bot]
2298a9e9e1
Merge #106
106: build(deps): bump cachix/install-nix-action from 20 to 21 r=Mic92 a=dependabot[bot]



Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-11 03:08:31 +00:00
github-actions[bot]
2ba17f37dd flake.lock: Update
Flake lock file updates:

• Updated input 'disko':
    'github:nix-community/disko/2a59f5cf641607dbecb0cfec3ae32247e4aeb311' (2023-05-08)
  → 'github:nix-community/disko/f1178c6e72b7d8ab2b55990397969324822275eb' (2023-06-07)
• Updated input 'disko/nixpkgs':
    'github:NixOS/nixpkgs/eb751d65225ec53de9cf3d88acbf08d275882389' (2023-05-07)
  → 'github:NixOS/nixpkgs/2e56a850786211972d99d2bb39665a9b5a1801d6' (2023-06-04)
• Updated input 'nixos-2211':
    'github:NixOS/nixpkgs/2eb0795720849ae19c068e39b17362d3ebcd585c' (2023-05-15)
  → 'github:NixOS/nixpkgs/51d9b86c045e8b1f7a4b4ff106c7d83b3a6f53c7' (2023-06-07)
• Updated input 'nixos-unstable':
    'github:NixOS/nixpkgs/8fb30f6066a87a91c21241f1993a26ff57005486' (2023-05-14)
  → 'github:NixOS/nixpkgs/32d8e07a8ea673bc9b8c0f8106fb0b776c6ea6a8' (2023-06-07)
2023-06-08 01:06:55 +00:00
dependabot[bot]
665b323d39
build(deps): bump cachix/install-nix-action from 20 to 21
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 20 to 21.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v20...v21)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-29 10:57:04 +00:00
dantefromhell
eafead23ae
Add zfs packages
ZFS related binaries like `zpool`, `zfs` and `zdb` were missing from the kexec image.

This PR fixes the following issues I encountered during testing in the OVH "Public Cloud":

- Machines pre-installed with Debian 11 print error `zdb: command not found` during `disk-deactivate` when trying to remove `/dev/sda14`

- Trying to create a simple zpool + zfs dataset that is mounted as `/` fails with `zpool: command not found`
On OVH machines the installer would print an error being unable to locate the `zdb` binary,
2023-05-22 00:01:53 +00:00
Jörg Thalheim
dd0801f585 update bors 2023-05-15 17:00:11 +02:00
bors[bot]
108fce87b9
Merge #66
66: add netboot-installer-nixos-unstable r=Mic92 a=Mic92



Co-authored-by: Jörg Thalheim <joerg@thalheim.io>
2023-05-15 13:41:12 +00:00
Jörg Thalheim
25f782b4ce add netboot-installer-nixos-unstable 2023-05-15 15:40:39 +02:00
Jörg Thalheim
9089946fc0 move out code from kexec-installer into its own module 2023-05-15 14:56:00 +02:00
bors[bot]
3758c6481c
Merge #103
103: flake.lock: Update r=Mic92 a=Mic92



Co-authored-by: Jörg Thalheim <joerg@thalheim.io>
2023-05-15 11:43:51 +00:00
Jörg Thalheim
d7311ed7f8 add missing parted package back to 22.11 release 2023-05-15 13:32:59 +02:00
Jörg Thalheim
8451894552 kexec-installer: add smoketest for binaries 2023-05-15 13:32:59 +02:00
Jörg Thalheim
4ad9c55cf2 kexec-installer: use latest kernel compatible with zfs 2023-05-15 13:32:59 +02:00
Jörg Thalheim
3db198a018 kexec-installer: print dmesg if kexec --load fails
In some cases dmesg contains interesting errors
2023-05-15 13:32:59 +02:00
Jörg Thalheim
8d32c7409c kexec-installer/test: use our kexecTarball directly
before we were importing the configuration into a nixos module.
Now we are actually using our unmodified tarball.
This saves some rebuilds and is closer to what we ship.
2023-05-15 13:32:59 +02:00
Jörg Thalheim
f3854ade97 flake.lock: Update
Flake lock file updates:

• Updated input 'nixos-2211':
    'github:NixOS/nixpkgs/3d302c67ab8647327dba84fbdb443cdbf0e82744' (2023-04-19)
  → 'github:NixOS/nixpkgs/c6d2f3dc0d3efd4285eebe4f8a36a47ba438138e' (2023-05-14)
• Updated input 'nixos-unstable':
    'github:NixOS/nixpkgs/cafa2f02fbbcade5c5c257c190061da555d90913' (2023-04-19)
  → 'github:NixOS/nixpkgs/3e2728f51a8ed5287f2577737c6b5505d56de3e9' (2023-05-14)

flake.lock: Update

Flake lock file updates:

• Updated input 'nixos-unstable':
    'github:B4dM4n/nixpkgs/c51fe112cc73f87f282de24aa0fd929e72bb6ed0' (2023-05-12)
  → 'github:NixOS/nixpkgs/3007746b3f5bfcb49e102b517bca891822a41b31' (2023-05-14)
2023-05-15 13:32:59 +02:00
bors[bot]
4f10542ef1
Merge #102
102: feat: speed up kexec boot r=Mic92 a=jfroche



Co-authored-by: Jean-François Roche <jfroche@pyxel.be>
2023-05-08 12:30:16 +00:00
Jean-François Roche
b2256e68d3 feat: speed up kexec boot
Do not check if the new kernel is correctly copied in memory.

On ARM64 (Hetzner CAX21, CAX41) it improves boot from 4 minutes to a few seconds.

Option introduced in kexec-tools here: 0481e9ed61
More on this https://eastrivervillage.com/kexec-tools-with-the-hidden-purgatory/
2023-05-08 10:30:28 +02:00
bors[bot]
5aeef49472
Merge #101
101: noninteractive: bring rsync back r=Mic92 a=Mic92



Co-authored-by: Jörg Thalheim <joerg@thalheim.io>
2023-05-07 20:22:23 +00:00
Jörg Thalheim
1408e3ed2a noninteractive: bring rsync back
We need this in nixos-anywhere to upload files.
2023-05-07 22:19:05 +02:00
bors[bot]
a2c966cac6
Merge #100
100: get rid of virtual variant again r=Mic92 a=Mic92



Co-authored-by: Jörg Thalheim <joerg@thalheim.io>
2023-05-07 19:45:16 +00:00
Jörg Thalheim
340303d82b reduce minimum RAM requirements 2023-05-07 21:44:20 +02:00
Jörg Thalheim
e855c9b4b9 get rid of virtual variant again
In unstable this has now the same size as the noninteractive one.
2023-05-07 21:33:03 +02:00
Jörg Thalheim
d5f7390287 fix kexec installer names 2023-05-07 21:10:51 +02:00
Jörg Thalheim
470d1918ab kexec-installer: build variants 2023-05-07 21:06:12 +02:00
Jörg Thalheim
51155d8415 Revert "Revert "Merge #99""
This reverts commit d6d6eb5136.
2023-05-07 20:55:45 +02:00
Jörg Thalheim
d6d6eb5136 Revert "Merge #99"
This reverts commit fbeaca781e, reversing
changes made to 8217f26891.

broke the release
2023-05-07 20:43:45 +02:00
bors[bot]
fbeaca781e
Merge #99
99: also build new smaller installer in ci r=Mic92 a=Mic92



Co-authored-by: Jörg Thalheim <joerg@thalheim.io>
2023-05-07 18:33:59 +00:00
Jörg Thalheim
d8af2a00f7 also build new smaller installer in ci 2023-05-07 20:32:04 +02:00
bors[bot]
8217f26891
Merge #98
98: run shellcheck on kexec-run r=Mic92 a=Mic92



Co-authored-by: Jörg Thalheim <joerg@thalheim.io>
2023-05-07 11:42:21 +00:00
Jörg Thalheim
11c7f7b900 run shellcheck on kexec-run 2023-05-07 13:41:22 +02:00
Jean-François Roche
be735fd314
Merge pull request #94 from tilpner/virtual-noninteractive
kexec-installer: add virtual and noninteractive variants for smaller images
2023-05-03 14:33:54 +02:00
Jörg Thalheim
35ce9a23d5
Update nix/noninteractive.nix 2023-04-24 10:19:48 +01:00
bors[bot]
0adc501700
Merge #96
96: flake.lock: Update r=nix-eval-jobs-bot a=nix-eval-jobs-bot



Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-04-20 00:57:38 +00:00
github-actions[bot]
4b69049846 flake.lock: Update
Flake lock file updates:

• Updated input 'nixos-2211':
    'github:NixOS/nixpkgs/4bbbb536760e6176c4b127a8ef67978f80d06cff' (2023-04-16)
  → 'github:NixOS/nixpkgs/3d302c67ab8647327dba84fbdb443cdbf0e82744' (2023-04-19)
• Updated input 'nixos-unstable':
    'github:NixOS/nixpkgs/b9e9372e6be61a91f0b13fd5eb88b34ccd6d16ff' (2023-04-16)
  → 'github:NixOS/nixpkgs/cafa2f02fbbcade5c5c257c190061da555d90913' (2023-04-19)
2023-04-20 00:57:20 +00:00
tilpner
c48cb331ea
kexec-installer: add virtual and noninteractive variants for smaller images
Co-Authored-By: Jean-François Roche <jfroche@pyxel.be>
2023-04-19 19:57:43 +02:00
bors[bot]
4dbea7078f
Merge #95
95: flake.lock: Update r=nix-eval-jobs-bot a=nix-eval-jobs-bot



Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-04-17 00:58:30 +00:00
github-actions[bot]
65e051527d flake.lock: Update
Flake lock file updates:

• Updated input 'nixos-2211':
    'github:NixOS/nixpkgs/c611fab7ece8aa2e50e8a0d7d8e66ddd94c90c39' (2023-04-12)
  → 'github:NixOS/nixpkgs/4bbbb536760e6176c4b127a8ef67978f80d06cff' (2023-04-16)
• Updated input 'nixos-unstable':
    'github:NixOS/nixpkgs/7486a74d9f5c3581c2db0e186d4763ff3a4ae782' (2023-04-12)
  → 'github:NixOS/nixpkgs/b9e9372e6be61a91f0b13fd5eb88b34ccd6d16ff' (2023-04-16)
2023-04-17 00:58:11 +00:00