この文書の現在のバージョンと選択したバージョンの差分を表示します。
次のリビジョン | 前のリビジョン | ||
linux:debian:sid:linux-5.9 [2020/10/14 16:14] matoken 作成 |
linux:debian:sid:linux-5.9 [2020/10/19 22:13] (現在) matoken [package source] |
||
---|---|---|---|
ライン 1: | ライン 1: | ||
+ | |||
+ | ## 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 | ## vanila source |