sync dependencies

This commit is contained in:
Austin English 2020-05-19 18:18:40 -05:00
parent 680e6998d7
commit b205b1db02
2 changed files with 10 additions and 9 deletions

View File

@ -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:
<!-- Please keep the packages sorted (and in sync with ./tests/build-image.sh): -->
```
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

View File

@ -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