From e0d7807511b168acd0cb51132e7674d90297637d Mon Sep 17 00:00:00 2001
From: ninelore <ninelore@protonmail.com>
Date: Sun, 12 Nov 2023 01:03:19 +0100
Subject: [PATCH 1/3] pacman prevent package reinstalls

---
 docs/compiling-coreboot.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/compiling-coreboot.md b/docs/compiling-coreboot.md
index 09f782d8..7b9d813c 100644
--- a/docs/compiling-coreboot.md
+++ b/docs/compiling-coreboot.md
@@ -14,7 +14,7 @@ Building and flashing your own firmware has the potential to brick your device.
 
 1. **Install tools and libraries needed for coreboot:**
   * Debian based distros: `sudo apt-get install -y bison build-essential curl flex git gnat imagemagick libncurses5-dev m4 nasm python-is-python3 uuid-dev zlib1g-dev`
-  * Arch based distros: `sudo pacman -S base-devel curl git gcc-ada ncurses zlib`
+  * Arch based distros: `sudo pacman --needed -S base-devel curl git gcc-ada ncurses zlib`
   * Redhat based distros: `sudo dnf install git make gcc-gnat flex bison xz bzip2 gcc g++ ncurses-devel wget zlib-devel patch openssl libuuid-devel nasm texinfo`
 2. **Clone the repository:**
     * `git clone https://github.com/mrchromebox/coreboot`

From 7cf96082f8ddb90415bc115e89d3e9874ff4d63b Mon Sep 17 00:00:00 2001
From: ninelore <ninelore@protonmail.com>
Date: Sun, 12 Nov 2023 01:30:22 +0100
Subject: [PATCH 2/3] nasm dep missing on arch

---
 docs/compiling-coreboot.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/compiling-coreboot.md b/docs/compiling-coreboot.md
index 7b9d813c..231f65d1 100644
--- a/docs/compiling-coreboot.md
+++ b/docs/compiling-coreboot.md
@@ -14,7 +14,7 @@ Building and flashing your own firmware has the potential to brick your device.
 
 1. **Install tools and libraries needed for coreboot:**
   * Debian based distros: `sudo apt-get install -y bison build-essential curl flex git gnat imagemagick libncurses5-dev m4 nasm python-is-python3 uuid-dev zlib1g-dev`
-  * Arch based distros: `sudo pacman --needed -S base-devel curl git gcc-ada ncurses zlib`
+  * Arch based distros: `sudo pacman --needed -S base-devel curl git gcc-ada ncurses zlib nasm`
   * Redhat based distros: `sudo dnf install git make gcc-gnat flex bison xz bzip2 gcc g++ ncurses-devel wget zlib-devel patch openssl libuuid-devel nasm texinfo`
 2. **Clone the repository:**
     * `git clone https://github.com/mrchromebox/coreboot`

From cfce6734c3bc4c4a9ae5487310df2bc96a535594 Mon Sep 17 00:00:00 2001
From: ninelore <ninelore@protonmail.com>
Date: Sun, 12 Nov 2023 01:34:22 +0100
Subject: [PATCH 3/3] arch build dep: imagemagick

---
 docs/compiling-coreboot.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/compiling-coreboot.md b/docs/compiling-coreboot.md
index 231f65d1..86a53fab 100644
--- a/docs/compiling-coreboot.md
+++ b/docs/compiling-coreboot.md
@@ -14,7 +14,7 @@ Building and flashing your own firmware has the potential to brick your device.
 
 1. **Install tools and libraries needed for coreboot:**
   * Debian based distros: `sudo apt-get install -y bison build-essential curl flex git gnat imagemagick libncurses5-dev m4 nasm python-is-python3 uuid-dev zlib1g-dev`
-  * Arch based distros: `sudo pacman --needed -S base-devel curl git gcc-ada ncurses zlib nasm`
+* Arch based distros: `sudo pacman --needed -S base-devel curl git gcc-ada ncurses zlib nasm imagemagick`
   * Redhat based distros: `sudo dnf install git make gcc-gnat flex bison xz bzip2 gcc g++ ncurses-devel wget zlib-devel patch openssl libuuid-devel nasm texinfo`
 2. **Clone the repository:**
     * `git clone https://github.com/mrchromebox/coreboot`