Merge pull request #163 from austin987/deps

README.md: minor updates
This commit is contained in:
SolidHal 2020-05-19 16:39:19 -07:00 committed by GitHub
commit c630667ed3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 12 deletions

View File

@ -42,17 +42,20 @@ If you don't want to or can't build the image, you can find downloads under <rel
## Dependencies
Building PrawnOS has been tested on Debian 10 Buster (in a VM)
_stretch doesn't work as the version of gcc-arm-none-eabi is too old_
This is the only build enviroment that is supported.
Building PrawnOS has been tested on Debian 10 Buster (in a VM).
NOTE: _stretch doesn't work as the version of gcc-arm-none-eabi is too old_!
Debian/Buster 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