From f5923aa8b4f9b2498de9dc6a85bbf96b83fdf16b Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Sat, 5 Feb 2022 13:19:11 +0800 Subject: kmod: link to openssl --- appendices/dependencies.xml | 4 ++-- chapter01/changelog.xml | 4 ++++ chapter08/chapter08.xml | 2 +- chapter08/kmod.xml | 17 ++++++++++++++++- 4 files changed, 23 insertions(+), 4 deletions(-) diff --git a/appendices/dependencies.xml b/appendices/dependencies.xml index 8783e5277..df37a27d1 100644 --- a/appendices/dependencies.xml +++ b/appendices/dependencies.xml @@ -1557,7 +1557,7 @@ &dependencies; Bash, Binutils, Bison, Coreutils, Flex, GCC, Gettext, Glibc, - Gzip, Make, Pkg-config, Sed, Xz, and Zlib + Gzip, Make, OpenSSL, Pkg-config, Sed, Xz, and Zlib @@ -2332,7 +2332,7 @@ &before; - Coreutils and Linux + Coreutils, Kmod, and Linux diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 7611a1534..4ebaeacf7 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -42,6 +42,10 @@ 2022-02-04 + + [xry111] - Move OpenSSL before Kmod and enable OpenSSL + for Kmod build. + [xry111] - Update to gdbm-1.23. Fixes #5000. diff --git a/chapter08/chapter08.xml b/chapter08/chapter08.xml index 7b638cc0d..152d7ea4d 100644 --- a/chapter08/chapter08.xml +++ b/chapter08/chapter08.xml @@ -58,10 +58,10 @@ + - diff --git a/chapter08/kmod.xml b/chapter08/kmod.xml index 4288f31d9..6fa626297 100644 --- a/chapter08/kmod.xml +++ b/chapter08/kmod.xml @@ -45,6 +45,7 @@ ./configure --prefix=/usr \ --sysconfdir=/etc \ + --with-openssl \ --with-xz \ --with-zstd \ --with-zlib @@ -53,7 +54,21 @@ The meaning of the configure options: - --with-xz, --with-zlib, --with-zstd + + --with-openssl + + + This option enables Kmod to handle PKCS7 signatures for + kernel modules. + + + + + + --with-xz, + --with-zlib, and + --with-zstd + These options enable Kmod to handle compressed kernel modules. -- cgit v1.2.3-54-g00ecf