From b205b1db02bab26268c8797116c4e786dbdf4f47 Mon Sep 17 00:00:00 2001 From: Austin English Date: Tue, 19 May 2020 18:18:40 -0500 Subject: [PATCH 1/2] sync dependencies --- README.md | 11 ++++++----- tests/build-image.sh | 8 ++++---- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 66b83c4..1bd96a1 100644 --- a/README.md +++ b/README.md @@ -47,12 +47,13 @@ _stretch doesn't work as the version of gcc-arm-none-eabi is too old_ This is the only build enviroment that is supported. These packages are required: + ``` - apt install --no-install-recommends --no-install-suggests parted cgpt git \ - gawk device-tree-compiler vboot-kernel-utils gcc-arm-none-eabi u-boot-tools \ - gcc make libc-dev wget g++ cmake binfmt-support qemu-user-static debootstrap \ - lzip libssl-dev libncurses-dev flex bison sudo patch bc texinfo bzip2 ca-certificates \ - cpio file gpg gpg-agent kmod udev + apt install --no-install-recommends --no-install-suggests \ + bc binfmt-support bison bzip2 ca-certificates cgpt cmake cpio debootstrap \ + device-tree-compiler file flex g++ gawk gcc gcc-arm-none-eabi git gpg \ + gpg-agent kmod libc-dev libncurses-dev libssl-dev lzip make parted patch \ + qemu-user-static sudo texinfo u-boot-tools udev vboot-kernel-utils wget ``` ## Build diff --git a/tests/build-image.sh b/tests/build-image.sh index 87828bc..1dc68a1 100755 --- a/tests/build-image.sh +++ b/tests/build-image.sh @@ -22,12 +22,12 @@ GITHUB_SHA="$1" cd "$(dirname "$0")/.." -# Get dependencies listed in README.md: +# Get dependencies apt-get update -apt-get -y install --no-install-recommends --no-install-suggests bc binfmt-support bison cgpt cmake debootstrap device-tree-compiler flex g++ gawk gcc gcc-arm-none-eabi git libc-dev libncurses-dev libssl-dev lzip make parted patch qemu-user-static texinfo u-boot-tools vboot-kernel-utils wget -# And install stuff that is missing from the Debian/buster container: -apt-get -y install --no-install-recommends --no-install-suggests bzip2 ca-certificates cpio file gpg gpg-agent kmod udev +# Note: this is a copy/paste from README.md, if you add anything here, also update it! +apt-get -y install --no-install-recommends --no-install-suggests bc binfmt-support bison bzip2 ca-certificates cgpt cmake cpio debootstrap device-tree-compiler file flex g++ gawk gcc gcc-arm-none-eabi git gpg gpg-agent kmod libc-dev libncurses-dev libssl-dev lzip make parted patch qemu-user-static sudo texinfo u-boot-tools udev vboot-kernel-utils wget + # Note: there's an error for /proc/modules, but at least building the image works fine: # libkmod: ERROR ../libkmod/libkmod-module.c:1657 kmod_module_new_from_loaded: could not open /proc/modules: No such file or directory From 3c07fd620a79d27cc99b8f71951cfe7a2701b150 Mon Sep 17 00:00:00 2001 From: Austin English Date: Tue, 19 May 2020 18:24:58 -0500 Subject: [PATCH 2/2] README.md: make dependencies a bit more readable --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 1bd96a1..a0e71d5 100644 --- a/README.md +++ b/README.md @@ -42,9 +42,11 @@ If you don't want to or can't build the image, you can find downloads under