some comments

This commit is contained in:
2026-10-16 01:43:15 -04:00
parent 015c70bc74
commit cc016dab8c
+4
View File
@@ -5,6 +5,8 @@
let let
pkgs = nixpkgs.legacyPackages.x86_64-linux; pkgs = nixpkgs.legacyPackages.x86_64-linux;
# toolchain is an environment with the specified packages
# rootfs will contain all binaries given by toolchain
toolchain = pkgs.buildEnv { toolchain = pkgs.buildEnv {
name = "pigeon-toolchain"; name = "pigeon-toolchain";
paths = with pkgs; [ bash coreutils gcc gnumake util-linux ]; paths = with pkgs; [ bash coreutils gcc gnumake util-linux ];
@@ -31,6 +33,7 @@
mkfs.ext4 -q -F -d rootfs $out "1G" mkfs.ext4 -q -F -d rootfs $out "1G"
''; '';
# minimal kernel build, see firecracker documentation for needed params
kernel-params = [ kernel-params = [
"64BIT" "TTY" "SERIAL_8250" "SERIAL_8250_CONSOLE" "PRINTK" "64BIT" "TTY" "SERIAL_8250" "SERIAL_8250_CONSOLE" "PRINTK"
"HYPERVISOR_GUEST" "PARAVIRT" "KVM_GUEST" "HYPERVISOR_GUEST" "PARAVIRT" "KVM_GUEST"
@@ -80,6 +83,7 @@
(builtins.readFile ./pigeon.sh); (builtins.readFile ./pigeon.sh);
}; };
# see webhook documentation for hooks
hooks = pkgs.writeText "pigeon-hooks.json" (builtins.toJSON [ hooks = pkgs.writeText "pigeon-hooks.json" (builtins.toJSON [
{ {
id = "release"; id = "release";