From 76a26beaf63f61c27e2233bf7f2a8baef4ec63bc Mon Sep 17 00:00:00 2001 From: RedbeanGit Date: Mon, 30 Oct 2023 10:43:37 +0100 Subject: [PATCH] fix: multiple typos Signed-off-by: RedbeanGit --- pages/docs/user-guide/build-initramfs.mdx | 6 +++--- pages/docs/user-guide/compile-kernel.mdx | 12 ++++++------ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/pages/docs/user-guide/build-initramfs.mdx b/pages/docs/user-guide/build-initramfs.mdx index 8fc634b..7dc8e0f 100644 --- a/pages/docs/user-guide/build-initramfs.mdx +++ b/pages/docs/user-guide/build-initramfs.mdx @@ -10,7 +10,7 @@ Requirements: ## Introduction -Lambdo uses custom initramfs builded from Docker images. You can build it by +Lambdo uses custom initramfs built from Docker images. You can build it by yourself or use prebuilt one. ## Lambdo initramfs structure @@ -75,9 +75,9 @@ exit poweroff -f ``` -> **Note 1:** Your init script must be executable. +> **Note 1:** Your init script must have execution rights. -> **Note 2:** Your init script must start agent process. +> **Note 2:** Your init script must start agent process to work with Lambdo. ## Write configuration file diff --git a/pages/docs/user-guide/compile-kernel.mdx b/pages/docs/user-guide/compile-kernel.mdx index 6bf9b69..f7c2860 100644 --- a/pages/docs/user-guide/compile-kernel.mdx +++ b/pages/docs/user-guide/compile-kernel.mdx @@ -9,28 +9,28 @@ kernel. ```bash copy filename="bash" sudo apt update -sudo apt install git build-essential bc flex bison +sudo apt install git build-essential bc flex bison tar ``` #### Fedora/RHEL/CentOS ```bash copy filename="bash" -sudo dnf install git gcc make xz bc flex bison diffutils +sudo dnf install git gcc make xz bc flex bison diffutils tar ``` #### Arch Linux ```bash copy filename="bash" -sudo pacman -Syu -sudo pacman -S git gcc make xz bc flex bison diffutils +sudo pacman -Syu git gcc make xz bc flex bison diffutils tar ``` ## Build the kernel -Clone the Linux kernel official repository: +Download and extract the kernel source: ```bash copy filename="bash" -git clone https://github.com/torvalds/linux.git +https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.5.9.tar.xz +tar xf linux-6.5.9.tar.xz --directory linux ``` Generate the default configuration: