Commit graph

486 commits

Author SHA1 Message Date
Jörg Thalheim
49bd69291a flake.lock: Update
Flake lock file updates:

• Updated input 'nixos-2305':
    'github:Mic92/nixpkgs/15384bf882f524e3a08ed7cb86c811de5b75ba5a' (2023-06-15)
  → 'github:NixOS/nixpkgs/9652a97d9738d3e65cf33c0bc24429e495a7868f' (2023-08-04)
• Updated input 'nixos-unstable':
    'github:Mic92/nixpkgs/d4cab20b3a76fef4b9a487c37107df6351ebce33' (2023-06-16)
  → 'github:NixOS/nixpkgs/4f5308922f99987cabb1821b675da86948af00b4' (2023-08-04)
2023-08-04 22:01:10 +02:00
Jörg Thalheim
b63a9cb113 nixos-images: return to nixpkgs upstream 2023-08-04 21:59:59 +02:00
Jörg Thalheim
fcbf0b7c6c
Merge pull request #122 from nix-community/ci
also enable arm64 in github ci
2023-08-04 20:50:52 +01:00
Jörg Thalheim
40ea0c79e3 also enable arm64 in github ci 2023-08-04 21:50:03 +02:00
mergify[bot]
f98b4775fa
Merge pull request #118 from nix-community/update_flake_lock_action
flake.lock: Update
2023-07-04 17:15:49 +00:00
github-actions[bot]
8561ccba07 flake.lock: Update
Flake lock file updates:

• Updated input 'nixos-unstable':
    'github:Mic92/nixpkgs/d21b935395b8880dd4e80dfac4104553cb795d03' (2023-06-15)
  → 'github:Mic92/nixpkgs/d4cab20b3a76fef4b9a487c37107df6351ebce33' (2023-06-16)
2023-07-04 16:36:33 +00:00
Jörg Thalheim
65c15be132
Merge pull request #120 from nix-community/gpt-disk
add missing gptfdisk
2023-07-04 17:31:51 +01:00
Jörg Thalheim
c90d09a5f6 mergify: drop images ci target 2023-07-04 18:31:43 +02:00
mergify[bot]
496b3a800c
Merge branch 'main' into gpt-disk 2023-07-04 16:31:38 +00:00
Jörg Thalheim
9a8b402e63
Merge pull request #119 from nix-community/dependabot/github_actions/cachix/install-nix-action-22
build(deps): bump cachix/install-nix-action from 21 to 22
2023-07-04 17:30:59 +01:00
Jörg Thalheim
e73cbf20a3 add missing gptfdisk
This is needed by disko for gpt
2023-07-04 18:07:03 +02:00
dependabot[bot]
cb80fd6175
build(deps): bump cachix/install-nix-action from 21 to 22
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 21 to 22.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v21...v22)

---
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-06-19 10:56:56 +00:00
Jörg Thalheim
ccc1a2c08c
Merge pull request #115 from nix-community/update_flake_lock_action
flake.lock: Update
2023-06-15 09:52:48 +01:00
Jörg Thalheim
b713d90778 flake.lock: Update
Flake lock file updates:

• Updated input 'nixos-2305':
    'github:Mic92/nixpkgs/60e994e7ada7ce39b775d92cbb70a611c59f45d1' (2023-06-15)
  → 'github:Mic92/nixpkgs/15384bf882f524e3a08ed7cb86c811de5b75ba5a' (2023-06-15)
2023-06-15 10:20:54 +02:00
Jörg Thalheim
c92fa3d2f7 ping to nixpkgs fork to incorperate aarch64 fix
flake.lock: Update

Flake lock file updates:

• Updated input 'nixos-2305':
    'github:NixOS/nixpkgs/75eb7c2d47fdc01a0d477e9a89eac7ed366fe898' (2023-06-14)
  → 'github:Mic92/nixpkgs/60e994e7ada7ce39b775d92cbb70a611c59f45d1' (2023-06-15)
• Updated input 'nixos-unstable':
    'github:NixOS/nixpkgs/ba1a6ec548000d4a50719d14e6f73f63016674d5' (2023-06-14)
  → 'github:Mic92/nixpkgs/d21b935395b8880dd4e80dfac4104553cb795d03' (2023-06-15)
2023-06-15 10:02:07 +02:00
github-actions[bot]
fbc53c710d flake.lock: Update
Flake lock file updates:

• Updated input 'nixos-2305':
    'github:NixOS/nixpkgs/5f6396e85487aa59c801da5f7c87ac20098b2fa8' (2023-06-11)
  → 'github:NixOS/nixpkgs/75eb7c2d47fdc01a0d477e9a89eac7ed366fe898' (2023-06-14)
• Updated input 'nixos-unstable':
    'github:NixOS/nixpkgs/3d318cb303f285d2964d4137619cb21ddd56cfd5' (2023-06-11)
  → 'github:NixOS/nixpkgs/ba1a6ec548000d4a50719d14e6f73f63016674d5' (2023-06-14)
2023-06-15 08:53:22 +02:00
Jörg Thalheim
fd8c7d7dd4
Merge pull request #117 from nix-community/label
update label
2023-06-15 07:14:10 +01:00
Jörg Thalheim
6967261261 update-flake-lock: fix label 2023-06-15 08:13:53 +02:00
Jörg Thalheim
89744bafd2 replace bors with mergify 2023-06-15 07:46:46 +02:00
bors[bot]
762e4aa3dd
Merge #112
112: 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-06-12 01:09:46 +00:00
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