$ wget https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.6.tar.xz https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.6.tar.sign $ tar tvf ./linux-5.6.tar.xz $ unxz ./linux-5.6.tar.xz $ gpg --verify linux-5.6.tar.sign gpg: assuming signed data in 'linux-5.6.tar' gpg: Signature made Mon 30 Mar 2020 02:47:36 PM JST gpg: using RSA key 647F28654894E3BD457199BE38DBBDC86092693E gpg: Good signature from "Greg Kroah-Hartman (Linux kernel stable release signing key) <greg@kroah.com>" [undefined] gpg: WARNING: This key is not certified with a trusted signature! gpg: There is no indication that the signature belongs to the owner. Primary key fingerprint: 647F 2865 4894 E3BD 4571 99BE 38DB BDC8 6092 693E $ tar xf ./linux-5.6.tar
$ cp /boot/config-`uname -r` ./.config $ make olddefconfig $ grep -i wireguard ./.config # CONFIG_WIREGUARD is not set $ make xconfig
Screenshot from 2020-03-31 03-49-30.png
$ grep -i wireguard ./.config CONFIG_WIREGUARD=m # CONFIG_WIREGUARD_DEBUG is not set
$ time make -j`nproc` deb-pkg
dpkg-checkbuilddeps: error: Unmet build dependencies: libelf-dev:native dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting dpkg-buildpackage: warning: (Use -d flag to override.) make[1]: *** [scripts/Makefile.package:77: deb-pkg] Error 3 make: *** [Makefile:1417: deb-pkg] Error 2
$ sudo apt install libelf-dev
$ time make -j`nproc` deb-pkg
$ uname -rm 5.4.0-4-amd64 x86_64 $ lsb_release -dr Description: Debian GNU/Linux bullseye/sid Release: unstable $ dpkg-query -W linux-*-`uname -r` build-essential build-essential 12.8 linux-headers-5.4.0-4-amd64 5.4.19-1 linux-image-5.4.0-4-amd64 5.4.19-1 linux-latest-modules-5.4.0-4-amd64
コメント