ユーザ用ツール

サイト用ツール


サイドバー

最新の10件
一覧
linux:debian:sid:linux-5.9

package source

$ apt source linux
$ cd linux-5.9.1
$ cp /boot/config-5.9.0-1-amd64 ./.config
$ make nconfig
$ diff -u ./.config.old ./.config 
--- ./.config.old       2020-10-19 06:01:39.334045493 +0900
+++ ./.config   2020-10-19 06:12:02.740269912 +0900
@@ -8496,10 +8496,14 @@
 CONFIG_F2FS_FS_XATTR=y
 CONFIG_F2FS_FS_POSIX_ACL=y
 CONFIG_F2FS_FS_SECURITY=y
-# CONFIG_F2FS_CHECK_FS is not set
-# CONFIG_F2FS_IO_TRACE is not set
-# CONFIG_F2FS_FAULT_INJECTION is not set
-# CONFIG_F2FS_FS_COMPRESSION is not set
+CONFIG_F2FS_CHECK_FS=y
+CONFIG_F2FS_IO_TRACE=y
+CONFIG_F2FS_FAULT_INJECTION=y
+CONFIG_F2FS_FS_COMPRESSION=y
+CONFIG_F2FS_FS_LZO=y
+CONFIG_F2FS_FS_LZ4=y
+CONFIG_F2FS_FS_ZSTD=y
+CONFIG_F2FS_FS_LZORLE=y
 # CONFIG_ZONEFS_FS is not set
 CONFIG_FS_DAX=y
 CONFIG_FS_DAX_PMD=y
@@ -9211,10 +9215,10 @@
 CONFIG_ZLIB_DEFLATE=y
 CONFIG_LZO_COMPRESS=y
 CONFIG_LZO_DECOMPRESS=y
-CONFIG_LZ4_COMPRESS=m
+CONFIG_LZ4_COMPRESS=y
 CONFIG_LZ4HC_COMPRESS=m
 CONFIG_LZ4_DECOMPRESS=y
-CONFIG_ZSTD_COMPRESS=m
+CONFIG_ZSTD_COMPRESS=y
 CONFIG_ZSTD_DECOMPRESS=y
 CONFIG_XZ_DEC=y
 CONFIG_XZ_DEC_X86=y
$ time make -j`nproc` bindeb-pkg
   :
dpkg-deb: building package 'linux-libc-dev' in '../linux-libc-dev_5.9.1-1_amd64.deb'.
dpkg-deb: building package 'linux-image-5.9.1' in '../linux-image-5.9.1_5.9.1-1_amd64.deb'.
dpkg-deb: building package 'linux-image-5.9.1-dbg' in '../linux-image-5.9.1-dbg_5.9.1-1_amd64.deb'.
 dpkg-genbuildinfo --build=binary
 dpkg-genchanges --build=binary >../linux-5.9.1_5.9.1-1_amd64.changes
dpkg-genchanges: info: binary-only upload (no source code included)
 dpkg-source --after-build .
dpkg-buildpackage: info: binary-only upload (no source included)

real    205m59.829s
user    561m11.744s
sys     46m38.760s
$ ls -s1 ../*5.9.1*.deb
  7804 ../linux-headers-5.9.1_5.9.1-1_amd64.deb
634076 ../linux-image-5.9.1-dbg_5.9.1-1_amd64.deb
 49544 ../linux-image-5.9.1_5.9.1-1_amd64.deb
  1096 ../linux-libc-dev_5.9.1-1_amd64.deb
$ sudo apt install ../linux-image-5.9.1_5.9.1-1_amd64.deb ../linux-headers-5.9.1_5.9.1-1_amd64.deb ../linux-libc-dev_5.9.1-1_amd64.deb

vanila source

$ wget -c https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.9.tar.xz https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.9.tar.sign
$ gpg --keyserver pgp.mit.edu --receive-keys 647F28654894E3BD457199BE38DBBDC86092693E
$ gpg --verify ./linux-5.9.tar.sign `xzcat ./linux-5.9.tar.xz`
$ tar xf linux-5.9.tar.xz
$ cd linux-5.9
$ cp /boot/config-`uname -r` ./.config
$ make oldconfig
$ make nconfig
$ diff -u ./.config.old ./.config
--- ./.config.old       2020-10-14 05:15:50.536938719 +0900
+++ ./.config   2020-10-14 05:19:55.322903652 +0900
@@ -8495,7 +8495,11 @@
 # CONFIG_F2FS_CHECK_FS is not set
 # CONFIG_F2FS_IO_TRACE is not set
 # CONFIG_F2FS_FAULT_INJECTION is not set
-# CONFIG_F2FS_FS_COMPRESSION is not set
+CONFIG_F2FS_FS_COMPRESSION=y
+CONFIG_F2FS_FS_LZO=y
+CONFIG_F2FS_FS_LZ4=y
+CONFIG_F2FS_FS_ZSTD=y
+CONFIG_F2FS_FS_LZORLE=y
 # CONFIG_ZONEFS_FS is not set
 CONFIG_FS_DAX=y
 CONFIG_FS_DAX_PMD=y
$ time make -j`nproc` bindeb-pkg
   :
  AR      kernel/built-in.a
make[2]: *** [debian/rules:6: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
make[1]: *** [scripts/Makefile.package:83: bindeb-pkg] Error 2
make: *** [Makefile:1523: bindeb-pkg] Error 2
$ sudo apt build-dep linux
$ time make -j`nproc` bindeb-pkg
sh ./scripts/package/mkdebian
dpkg-buildpackage -r"fakeroot -u" -a$(cat debian/arch)  -b -nc -uc
dpkg-buildpackage: info: source package linux-5.9.0
dpkg-buildpackage: info: source version 5.9.0-1
dpkg-buildpackage: info: source distribution sid
dpkg-buildpackage: info: source changed by matoken <matoken@t430s.matoken.org>
dpkg-buildpackage: info: host architecture amd64
 dpkg-source --before-build .
 debian/rules build
make KERNELRELEASE=5.9.0 ARCH=x86       KBUILD_BUILD_VERSION=1 -f ./Makefile
  DESCEND  objtool
  CALL    scripts/atomic/check-atomics.sh
  CALL    scripts/checksyscalls.sh
make[4]: *** No rule to make target 'debian/certs/debian-uefi-certs.pem', needed by 'certs/x509_certificate_list'.  Stop.
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [Makefile:1784: certs] Error 2
make[3]: *** Waiting for unfinished jobs....
  CHK     include/generated/compile.h
make[2]: *** [debian/rules:6: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
make[1]: *** [scripts/Makefile.package:83: bindeb-pkg] Error 2
make: *** [Makefile:1523: bindeb-pkg] Error 2

real    0m7.171s
user    0m7.251s
sys     0m2.798s
$ cp -r ../linux-5.8.10/debian/certs ./debian/
$ time make -j`nproc` bindeb-pkg
   :
dpkg-deb: building package 'linux-libc-dev' in '../linux-libc-dev_5.9.0-1_amd64.deb'.
dpkg-deb: building package 'linux-image-5.9.0' in '../linux-image-5.9.0_5.9.0-1_amd64.deb'.
dpkg-deb: building package 'linux-image-5.9.0-dbg' in '../linux-image-5.9.0-dbg_5.9.0-1_amd64.deb'.
 dpkg-genbuildinfo --build=binary
 dpkg-genchanges --build=binary >../linux-5.9.0_5.9.0-1_amd64.changes
dpkg-genchanges: info: binary-only upload (no source code included)
 dpkg-source --after-build .
dpkg-buildpackage: info: binary-only upload (no source included)

real    182m32.218s
user    439m44.622s
sys     34m16.700s
$ ls ../*5.9.*
../linux-5.9.0_5.9.0-1_amd64.buildinfo  ../linux-5.9.tar.sign  ../linux-headers-5.9.0_5.9.0-1_amd64.deb    ../linux-image-5.9.0_5.9.0-1_amd64.deb
../linux-5.9.0_5.9.0-1_amd64.changes    ../linux-5.9.tar.xz    ../linux-image-5.9.0-dbg_5.9.0-1_amd64.deb  ../linux-libc-dev_5.9.0-1_amd64.deb
$ sudo apt install ../linux-image-5.9.0_5.9.0-1_amd64.deb ../linux-headers-5.9.0_5.9.0-1_amd64.deb

コメント

コメントを入力. Wiki文法が有効です:
  ____   _____     __   __ __  ____ 
 / __ \ / ___/ __ / /  / //_/ / __ \
/ /_/ // /__  / // /  / ,<   / /_/ /
\____/ \___/  \___/  /_/|_|  \___\_\
 
linux/debian/sid/linux-5.9.txt · 最終更新: 2020/10/19 22:13 by matoken