From 97a3438cdd9406f9f590c685bc6ae4bed1eedcf8 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Fri, 21 Aug 2026 23:49:57 +0000 Subject: [PATCH] Add Cloud Agent dev environment for kernel build + QEMU boot Co-authored-by: PatrisiousHaddad --- .cursor/environment.json | 4 ++++ .cursor/install.sh | 26 ++++++++++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 .cursor/environment.json create mode 100755 .cursor/install.sh diff --git a/.cursor/environment.json b/.cursor/environment.json new file mode 100644 index 00000000000000..533855fbc9a66f --- /dev/null +++ b/.cursor/environment.json @@ -0,0 +1,4 @@ +{ + "name": "Linux kernel", + "install": "bash .cursor/install.sh" +} diff --git a/.cursor/install.sh b/.cursor/install.sh new file mode 100755 index 00000000000000..4a2760c6faddd1 --- /dev/null +++ b/.cursor/install.sh @@ -0,0 +1,26 @@ +#!/usr/bin/env bash +set -euo pipefail + +export DEBIAN_FRONTEND=noninteractive + +sudo apt-get update -qq +sudo apt-get install -y --no-install-recommends \ + build-essential \ + bc \ + bison \ + flex \ + libssl-dev \ + libelf-dev \ + libncurses-dev \ + cpio \ + kmod \ + dwarves \ + rsync \ + qemu-system-x86 \ + busybox-static + +if [ ! -f .config ]; then + make defconfig +fi + +make -j"$(nproc)" bzImage