Commit graph

446 commits

Author SHA1 Message Date
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
bors[bot]
cba1cd58d3
Merge #93
93: 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-13 00:56:11 +00:00
github-actions[bot]
658c3c0b7a flake.lock: Update
Flake lock file updates:

• Updated input 'nixos-2211':
    'github:NixOS/nixpkgs/3079baffea86d39727f653cc517d627b23a67f30' (2023-04-09)
  → 'github:NixOS/nixpkgs/c611fab7ece8aa2e50e8a0d7d8e66ddd94c90c39' (2023-04-12)
• Updated input 'nixos-unstable':
    'github:NixOS/nixpkgs/340acec509d71d0d0decd7a82e7cb52ae4c76065' (2023-04-09)
  → 'github:NixOS/nixpkgs/7486a74d9f5c3581c2db0e186d4763ff3a4ae782' (2023-04-12)
2023-04-13 00:55:54 +00:00
Lassulus
3193bbf43f
Merge pull request #92 from nix-community/dependabot/github_actions/DeterminateSystems/update-flake-lock-19 2023-04-10 12:57:59 +02:00
dependabot[bot]
23fcb6319d
build(deps): bump DeterminateSystems/update-flake-lock from 18 to 19
Bumps [DeterminateSystems/update-flake-lock](https://github.com/DeterminateSystems/update-flake-lock) from 18 to 19.
- [Release notes](https://github.com/DeterminateSystems/update-flake-lock/releases)
- [Commits](https://github.com/DeterminateSystems/update-flake-lock/compare/v18...v19)

---
updated-dependencies:
- dependency-name: DeterminateSystems/update-flake-lock
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-10 10:57:09 +00:00
bors[bot]
666026b444
Merge #91
91: 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-10 00:57:12 +00:00
github-actions[bot]
6e42460813 flake.lock: Update
Flake lock file updates:

• Updated input 'nixos-2211':
    'github:NixOS/nixpkgs/36adaa6aaa6b03e59102df0c1b12cdc3f23fd112' (2023-04-05)
  → 'github:NixOS/nixpkgs/3079baffea86d39727f653cc517d627b23a67f30' (2023-04-09)
• Updated input 'nixos-unstable':
    'github:NixOS/nixpkgs/da7761cacab07eeb08eb69e94063397e8887404e' (2023-04-05)
  → 'github:NixOS/nixpkgs/340acec509d71d0d0decd7a82e7cb52ae4c76065' (2023-04-09)
2023-04-10 00:56:53 +00:00
bors[bot]
13e48f3340
Merge #89
89: build(deps): bump DeterminateSystems/update-flake-lock from 17 to 18 r=Mic92 a=dependabot[bot]



Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-06 07:19:18 +00:00
bors[bot]
24cdc53034
Merge #90
90: 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-06 00:55:40 +00:00
github-actions[bot]
181619fe1c flake.lock: Update
Flake lock file updates:

• Updated input 'nixos-2211':
    'github:NixOS/nixpkgs/6cefdd22c695df14ee2a638cb44919d8a9903ec3' (2023-04-02)
  → 'github:NixOS/nixpkgs/36adaa6aaa6b03e59102df0c1b12cdc3f23fd112' (2023-04-05)
• Updated input 'nixos-unstable':
    'github:NixOS/nixpkgs/cd9eead62d1cb6dd692cd87c209e0bc48f733669' (2023-04-02)
  → 'github:NixOS/nixpkgs/da7761cacab07eeb08eb69e94063397e8887404e' (2023-04-05)
2023-04-06 00:55:21 +00:00
dependabot[bot]
37c224632b
build(deps): bump DeterminateSystems/update-flake-lock from 17 to 18
Bumps [DeterminateSystems/update-flake-lock](https://github.com/DeterminateSystems/update-flake-lock) from 17 to 18.
- [Release notes](https://github.com/DeterminateSystems/update-flake-lock/releases)
- [Commits](https://github.com/DeterminateSystems/update-flake-lock/compare/v17...v18)

---
updated-dependencies:
- dependency-name: DeterminateSystems/update-flake-lock
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-03 10:58:03 +00:00
bors[bot]
6ed9841a78
Merge #88
88: 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-03 00:57:04 +00:00
github-actions[bot]
22c327cf2d flake.lock: Update
Flake lock file updates:

• Updated input 'nixos-2211':
    'github:NixOS/nixpkgs/a575c243c23e2851b78c00e9fa245232926ec32f' (2023-03-29)
  → 'github:NixOS/nixpkgs/6cefdd22c695df14ee2a638cb44919d8a9903ec3' (2023-04-02)
• Updated input 'nixos-unstable':
    'github:NixOS/nixpkgs/49079a134fd3d3ac25d5ae1f5516f37770f19138' (2023-03-28)
  → 'github:NixOS/nixpkgs/cd9eead62d1cb6dd692cd87c209e0bc48f733669' (2023-04-02)
2023-04-03 00:56:39 +00:00
bors[bot]
2274f213e7
Merge #86
86: 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-03-30 01:01:34 +00:00
github-actions[bot]
2d28598382 flake.lock: Update
Flake lock file updates:

• Updated input 'nixos-2211':
    'github:NixOS/nixpkgs/44302d48a0b26421d23ee375ade3e47f9aab21df' (2023-03-27)
  → 'github:NixOS/nixpkgs/a575c243c23e2851b78c00e9fa245232926ec32f' (2023-03-29)
• Updated input 'nixos-unstable':
    'github:NixOS/nixpkgs/a0be54df4cd0992896d34ff12264a1c9faff7dc5' (2023-03-26)
  → 'github:NixOS/nixpkgs/49079a134fd3d3ac25d5ae1f5516f37770f19138' (2023-03-28)
2023-03-30 01:01:14 +00:00
bors[bot]
e8a140c1e8
Merge #85
85: 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-03-27 00:59:26 +00:00
github-actions[bot]
c905927ed1 flake.lock: Update
Flake lock file updates:

• Updated input 'nixos-2211':
    'github:NixOS/nixpkgs/9ef6e7727f4c31507627815d4f8679c5841efb00' (2023-03-22)
  → 'github:NixOS/nixpkgs/44302d48a0b26421d23ee375ade3e47f9aab21df' (2023-03-27)
• Updated input 'nixos-unstable':
    'github:NixOS/nixpkgs/c2111b6f27d057ab227e7a1341ea750c0cc76b7f' (2023-03-22)
  → 'github:NixOS/nixpkgs/a0be54df4cd0992896d34ff12264a1c9faff7dc5' (2023-03-26)
2023-03-27 00:59:08 +00:00
Jörg Thalheim
b3d848599d
Merge pull request #84 from nix-community/robust_json_parse
kexec-installer: don't die on missing json keys
2023-03-23 08:59:17 +00:00
lassulus
58b51adbb4 kexec-installer: don't die on missing json keys 2023-03-23 08:41:35 +00:00
bors[bot]
3b0ba51c09
Merge #83
83: 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-03-23 00:59:07 +00:00
github-actions[bot]
ec4c42ba2d flake.lock: Update
Flake lock file updates:

• Updated input 'nixos-2211':
    'github:NixOS/nixpkgs/eac7da7b519a5aefe92c33c90b4450a24ebe0ab3' (2023-03-19)
  → 'github:NixOS/nixpkgs/9ef6e7727f4c31507627815d4f8679c5841efb00' (2023-03-22)
• Updated input 'nixos-unstable':
    'github:NixOS/nixpkgs/49966f2c7139521b1c84af4c76c72725e1eafd2e' (2023-03-19)
  → 'github:NixOS/nixpkgs/c2111b6f27d057ab227e7a1341ea750c0cc76b7f' (2023-03-22)
2023-03-23 00:58:49 +00:00