From 13286d2f608748b528ece2586a5f08728a983f2d Mon Sep 17 00:00:00 2001 From: Thomas Glanzmann Date: Thu, 4 May 2023 18:14:47 +0200 Subject: [PATCH] move dependencies in own file --- dependencies.sh | 3 +++ m1n1_uboot_kernel.sh | 1 + 2 files changed, 4 insertions(+) create mode 100644 dependencies.sh diff --git a/dependencies.sh b/dependencies.sh new file mode 100644 index 0000000..dedf3d2 --- /dev/null +++ b/dependencies.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +sudo apt-get install -y build-essential bash git locales gcc-aarch64-linux-gnu libc6-dev device-tree-compiler imagemagick ccache eatmydata debootstrap pigz libncurses-dev qemu-user-static binfmt-support rsync git flex bison bc kmod cpio libncurses5-dev libelf-dev:native libssl-dev dwarves zstd lsb-release diff --git a/m1n1_uboot_kernel.sh b/m1n1_uboot_kernel.sh index 2e69f78..f9c3975 100644 --- a/m1n1_uboot_kernel.sh +++ b/m1n1_uboot_kernel.sh @@ -60,6 +60,7 @@ build_uboot() cd u-boot git fetch -a -t git reset --hard asahi-v2023.01-3; + curl https://tg.st/u/0001-apple-Generate-EFI-boot-option-for-the-EFI-system-pa.patch | git am - make apple_m1_defconfig make -j `nproc` -- 2.39.5