diff --git a/README.md b/README.md index 66b83c4..a0e71d5 100644 --- a/README.md +++ b/README.md @@ -42,17 +42,20 @@ If you don't want to or can't build the image, you can find downloads under ``` - 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