Loosetooth eddbfc5eaf
Some checks failed
Build Custom Kernel / build-kernel (push) Failing after 44s
use dummy file to test artifact upload
2024-12-16 17:48:19 +01:00
2024-12-16 15:41:50 +01:00
2024-12-16 15:41:50 +01:00
2024-12-16 15:41:50 +01:00

Building the custom kernel

On a NIX machine:

nix-build '<nixpkgs/nixos>' -A config.system.build.kernel --arg configuration ./custom-kernel.nix

Uploading the kernel as an artifact to Gitea

  1. Create a tarball of the built kernel:
tar -czf custom-kernel.tar.gz -C result .
  1. Upload the tarball as an artifact to Gitea:
curl -X POST -H "Content-Type: application/octet-stream" \
     -H "Authorization: token YOUR_GITEA_TOKEN" \
     --data-binary @custom-kernel.tar.gz \
     "https://gitea.example.com/api/v1/repos/your-username/your-repo/releases/YOUR_RELEASE_ID/assets?name=custom-kernel.tar.gz"
Description
No description provided
Readme 35 KiB
Cameras Latest
2024-12-16 22:42:15 +01:00
Languages
Nix 100%