Documentation/tutorial/part1.md: Install libssl-dev and pkg-config on Debian

Missing pkg-config and libcrypto when building coreboot (Step 6) on
Debian 12 (bookworm). Add required packages to Step 1, libssl-dev and
pkg-config.

Change-Id: I5df06611a934d1ef85c8335764f4f6e0f241c9a9
Signed-off-by: Juan José García-Castro Crespo <jjgcc@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/80722
Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Juan José García-Castro Crespo 2024-02-25 18:02:16 +00:00 committed by Felix Singer
parent 5ff6bf30d8
commit 6d1560f05d

View File

@ -29,8 +29,8 @@ Download, configure, and build coreboot
### Step 1 - Install tools and libraries needed for coreboot ### Step 1 - Install tools and libraries needed for coreboot
Debian based distros: Debian based distros:
`sudo apt-get install -y bison build-essential curl flex git gnat` `sudo apt-get install -y bison build-essential curl flex git gnat
`libncurses5-dev m4 zlib1g-dev` libncurses5-dev libssl-dev m4 zlib1g-dev pkg-config`
Arch based distros: Arch based distros:
`sudo pacman -S base-devel curl git gcc-ada ncurses zlib` `sudo pacman -S base-devel curl git gcc-ada ncurses zlib`
@ -206,6 +206,8 @@ of the installed packages:
* `m4, bison, curl, flex, zlib1g-dev, gcc, gnat` and `g++` or `clang` * `m4, bison, curl, flex, zlib1g-dev, gcc, gnat` and `g++` or `clang`
are needed to build the coreboot toolchain. `gcc` and `gnat` have to be are needed to build the coreboot toolchain. `gcc` and `gnat` have to be
of the same version. of the same version.
* `libssl-dev, pkg-config` are needed to build coreboot image (Step 6).
In particular, `libcrypto` provided by `libssl-dev` package.
If you started with a different distribution or package management If you started with a different distribution or package management
system you might need to install other packages. Most likely they are system you might need to install other packages. Most likely they are