├── README.md ├── elrepo_config.patch ├── .github └── workflows │ ├── test.yml │ ├── Ubuntu_kernel_lts_bbrplus.yml.old │ ├── Ubuntu_kernel_lts.yml.old │ ├── Debian_kernel_latest.yml │ ├── Centos_kernel_lts.yml.old │ ├── Ubuntu_kernel_test.yml.old │ ├── Centos_kernel_lts_bbrplus.yml.old │ ├── Centos_kernel_latest_bbrplus.yml.old │ ├── Centos_kernel_latest.yml.bak │ ├── Centos_kernel_arm64_5.12.yml.old │ ├── Ubuntu_kernel_latest.yml.old │ ├── Centos_kernel_latest_xanmod_lts_gcc9.yml.old │ ├── Centos_kernel_latest_xanmod_cacule_C8.yml.old │ ├── Centos_kernel_latest_xanmod_stable_C8.yml.old │ ├── Centos_kernel_latest_xanmod_stable_gcc9.yml.old │ ├── Centos_kernel_latest_xanmod_cacule_gcc9.yml.old │ ├── Ubuntu_kernel_latest_xanmod_lts.yml.old │ ├── Ubuntu_kernel_latest_bbrplus.yml.old │ ├── Ubuntu_kernel_latest_xanmod_stable.yml.old │ ├── Ubuntu_kernel_arm64_latest.yml.old │ ├── Debian_kernel_latest_xanmod_lts.yml.old │ ├── Debian_kernel_arm64_latest.yml │ ├── Centos_kernel_latest_xanmod_lts_C8.yml.old │ └── update_elrepo_config.yml └── config_lkl /README.md: -------------------------------------------------------------------------------- 1 | # 赞助 2 | 3 | 支付宝 4 | 5 | ![20200312144201.png](https://vip1.loli.io/2020/03/12/7IJvKaTcrLBDbtz.png) 6 | 7 | ## 搬瓦工在线库存查询 8 | https://bwg.ylx.me/ 9 | 10 | ## GitHub Action 全自动编译内核 11 | 12 | 改自 P3TERX 的脚本。 13 | 14 | BBRplus Action 编译的内核仅限 Cloud VMS,实体机不建议安装使用。 15 | 16 | BBRplus from https://github.com/UJX6N 17 | 18 | XanMod(停止维护) from https://xanmod.org/ 19 | 20 | 关联内核脚本:https://github.com/ylx2016/Linux-NetSpeed 21 | 22 | 生成补丁:diff -up config-1 config-2 >config.patch 23 | 24 | ARM config from: 25 | 26 | https://kojihub.stream.centos.org/koji/packageinfo?packageID=800 27 | 28 | https://archlinuxarm.org/packages/aarch64/linux-aarch64/files/config 29 | -------------------------------------------------------------------------------- /elrepo_config.patch: -------------------------------------------------------------------------------- 1 | --- config2 2021-10-09 22:04:07.000000000 +0800 2 | +++ config1 2021-10-10 05:59:07.000000000 +0800 3 | @@ -1162,18 +1164,19 @@ CONFIG_TCP_CONG_ILLINOIS=m 4 | CONFIG_TCP_CONG_DCTCP=m 5 | CONFIG_TCP_CONG_CDG=m 6 | CONFIG_TCP_CONG_BBR=m 7 | -CONFIG_DEFAULT_CUBIC=y 8 | +CONFIG_TCP_CONG_BBR2=y 9 | +CONFIG_DEFAULT_BBR2=y 10 | # CONFIG_DEFAULT_RENO is not set 11 | -CONFIG_DEFAULT_TCP_CONG="cubic" 12 | +CONFIG_DEFAULT_TCP_CONG="bbr" 13 | CONFIG_TCP_MD5SIG=y 14 | CONFIG_IPV6=y 15 | CONFIG_IPV6_ROUTER_PREF=y 16 | CONFIG_IPV6_ROUTE_INFO=y 17 | -CONFIG_IPV6_OPTIMISTIC_DAD=y 18 | +# CONFIG_IPV6_OPTIMISTIC_DAD is not set 19 | CONFIG_INET6_AH=m 20 | CONFIG_INET6_ESP=m 21 | CONFIG_INET6_ESP_OFFLOAD=m 22 | -# CONFIG_INET6_ESPINTCP is not set 23 | +CONFIG_INET6_ESPINTCP=y 24 | CONFIG_INET6_IPCOMP=m 25 | CONFIG_IPV6_MIP6=m 26 | CONFIG_IPV6_ILA=m 27 | @@ -1651,12 +1657,19 @@ CONFIG_NET_SCH_FQ_CODEL=m 28 | CONFIG_NET_SCH_CAKE=m 29 | CONFIG_NET_SCH_FQ=m 30 | CONFIG_NET_SCH_HHF=m 31 | -CONFIG_NET_SCH_PIE=m 32 | -CONFIG_NET_SCH_FQ_PIE=m 33 | +CONFIG_NET_SCH_PIE=y 34 | +CONFIG_NET_SCH_FQ_PIE=y 35 | CONFIG_NET_SCH_INGRESS=m 36 | CONFIG_NET_SCH_PLUG=m 37 | CONFIG_NET_SCH_ETS=m 38 | -# CONFIG_NET_SCH_DEFAULT is not set 39 | +CONFIG_NET_SCH_DEFAULT=y 40 | +# CONFIG_DEFAULT_FQ is not set 41 | +# CONFIG_DEFAULT_CODEL is not set 42 | +# CONFIG_DEFAULT_FQ_CODEL is not set 43 | +CONFIG_DEFAULT_FQ_PIE=y 44 | +# CONFIG_DEFAULT_SFQ is not set 45 | +# CONFIG_DEFAULT_PFIFO_FAST is not set 46 | +CONFIG_DEFAULT_NET_SCH="fq_pie" 47 | 48 | # 49 | # Classification 50 | -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- 1 | # 2 | # This is free software, licensed under the MIT License. 3 | # See /LICENSE for more information. 4 | # 5 | # Description: Build Kernel using GitHub Actions 6 | # Change from P3TERX 7 | # 8 | 9 | name: Debian Kernel Test 10 | 11 | on: 12 | workflow_dispatch: 13 | #schedule: 14 | #- cron: "36 20 * * 1,4" 15 | # inputs: 16 | # ssh: 17 | # description: 'SSH connection to Actions' 18 | # required: false 19 | # default: 'false' 20 | 21 | env: 22 | UPLOAD_DIR: true 23 | UPLOAD_RELEASE: true 24 | UPLOAD_WETRANSFER: false 25 | TZ: Asia/Shanghai 26 | 27 | jobs: 28 | build: 29 | runs-on: ubuntu-latest 30 | container: docker.io/qctt/kernelbuild:debian12 31 | 32 | steps: 33 | - name: Checkout 34 | uses: actions/checkout@main 35 | 36 | - name: Get source code 37 | id: code 38 | working-directory: /workdir 39 | run: | 40 | df -hT $PWD 41 | cd /workdir 42 | git clone https://github.com/unifreq/linux-6.1.y 43 | echo '::set-output name=action_echo::enabled' 44 | echo "::set-output name=status::success" 45 | 46 | - name: Compile the kernel 47 | id: compile 48 | if: steps.code.outputs.status == 'success' 49 | working-directory: /workdir 50 | run: | 51 | kernel_ver=6.1.x 52 | cd linux-6.1.y 53 | wget -O .config https://raw.githubusercontent.com/ylx2016/kernel/master/config_elrepo 54 | sed -ri '/CONFIG_SYSTEM_TRUSTED_KEYS/s/=.+/=""/g' .config 55 | scripts/config --disable MODULE_SIG 56 | scripts/config --disable DEBUG_INFO 57 | scripts/config --disable DEBUG_INFO_BTF 58 | scripts/config --disable DEBUG_INFO_DWARF4 59 | scripts/config --disable DEBUG_INFO_DWARF5 60 | scripts/config --disable DEBUG_INFO_NONE 61 | scripts/config --disable SYSTEM_TRUSTED_KEYS 62 | scripts/config --disable SYSTEM_REVOCATION_KEYS 63 | echo -e "$(nproc) thread compile" 64 | sudo time make -j$(nproc) bindeb-pkg 65 | cd /workdir && mv *.deb /workdir/upload 66 | echo '::set-output name=action_echo::enabled' 67 | echo "::set-output name=status::success" 68 | echo "FILE_DATE=Kernel_Debian_$kernel_ver_$(date +"%Y%m%d%H%M")" >> $GITHUB_ENV 69 | 70 | - name: Check space usage 71 | if: (!cancelled()) && steps.compile.outputs.status == 'success' 72 | run: df -hT 73 | 74 | - name: Upload 75 | uses: actions/upload-artifact@main 76 | if: steps.compile.outputs.status == 'success' && env.UPLOAD_DIR == 'true' 77 | with: 78 | name: ${{ env.FILE_DATE }} 79 | path: /workdir/upload 80 | 81 | - name: Upload to WeTransfer 82 | id: wetransfer 83 | if: steps.compile.outputs.status == 'success' && env.UPLOAD_WETRANSFER == 'true' && !cancelled() 84 | run: | 85 | curl -fsSL git.io/file-transfer | sh 86 | ./transfer wet -s -p 16 --no-progress /workdir/upload 2>&1 | tee wetransfer.log 87 | echo "::warning file=wetransfer.com::$(cat wetransfer.log | grep https)" 88 | echo '::set-output name=action_echo::enabled' 89 | echo "::set-output name=url::$(cat wetransfer.log | grep https | cut -f3 -d" ")" 90 | 91 | - name: Generate release tag 92 | id: tag 93 | if: env.UPLOAD_RELEASE == 'true' && steps.compile.outputs.status == 'success' && !cancelled() 94 | run: | 95 | kernel_ver=6.1.x 96 | echo '::set-output name=action_echo::enabled' 97 | echo "::set-output name=release_tag::Debian_Kernel_${kernel_ver}_test_bbr_$(date +"%Y.%m.%d-%H%M")" 98 | touch release.txt 99 | echo '::set-output name=action_echo::enabled' 100 | echo "::set-output name=status::success" 101 | 102 | - name: Upload kernel to release 103 | uses: softprops/action-gh-release@v1 104 | if: steps.tag.outputs.status == 'success' && !cancelled() 105 | env: 106 | GITHUB_TOKEN: ${{ secrets.TOKEN }} 107 | with: 108 | tag_name: ${{ steps.tag.outputs.release_tag }} 109 | body_path: release.txt 110 | files: /workdir/upload/* 111 | 112 | - name: Delete workflow runs 113 | uses: GitRML/delete-workflow-runs@main 114 | with: 115 | retain_days: 1 116 | keep_minimum_runs: 10 117 | -------------------------------------------------------------------------------- /.github/workflows/Ubuntu_kernel_lts_bbrplus.yml.old: -------------------------------------------------------------------------------- 1 | # 2 | # This is free software, licensed under the MIT License. 3 | # See /LICENSE for more information. 4 | # 5 | # Description: Build Kernel using GitHub Actions 6 | # Change from P3TERX 7 | # 8 | 9 | name: Ubuntu Kernel LTS BBRPLUS 10 | 11 | on: 12 | workflow_dispatch: 13 | #inputs: 14 | # ssh: 15 | # description: 'SSH connection to Actions' 16 | # required: false 17 | #default: 'false' 18 | 19 | env: 20 | UPLOAD_DIR: false 21 | UPLOAD_RELEASE: true 22 | TZ: Asia/Shanghai 23 | 24 | jobs: 25 | build: 26 | runs-on: ubuntu-latest 27 | 28 | steps: 29 | - name: Checkout 30 | uses: actions/checkout@main 31 | 32 | - name: Initialization environment 33 | env: 34 | DEBIAN_FRONTEND: noninteractive 35 | run: | 36 | sudo -E sed -i~orig -e 's/# deb-src/deb-src/' /etc/apt/sources.list 37 | sudo -E apt-get -qq update 38 | sudo -E apt-get -qq install build-essential bzip2 gawk gettext git patch unzip htop wget curl -y 39 | sudo -E apt-get -qq build-dep linux -y 40 | sudo -E apt-get -qq autoremove --purge 41 | sudo -E apt-get -qq clean 42 | sudo timedatectl set-timezone "$TZ" 43 | sudo mkdir -p /workdir 44 | sudo mkdir -p /workdir/upload 45 | sudo chown $USER:$GROUPS /workdir 46 | sudo chown $USER:$GROUPS /workdir/upload 47 | 48 | - name: Get source code 49 | working-directory: /workdir 50 | run: | 51 | df -hT $PWD 52 | kernel_ver=$(curl -s https://www.kernel.org/ | awk '/longterm/{getline a;print a}' | head -n 1 | awk -F '[>]' '{print $3}' | awk -F '[<]' '{print $1}') 53 | kernel_file=https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-$kernel_ver.tar.xz 54 | wget -O kernel.tar.xz $kernel_file 55 | tar -Jxvf kernel.tar.xz -C /workdir && cd /workdir/linux-$kernel_ver 56 | 57 | - name: SSH connection to Actions 58 | uses: P3TERX/ssh2actions@v1.0.0 59 | if: (github.event.inputs.ssh == 'true' && github.event.inputs.ssh != 'false') || contains(github.event.action, 'ssh') 60 | env: 61 | TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }} 62 | TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }} 63 | 64 | - name: Compile the kernel 65 | id: compile 66 | working-directory: /workdir 67 | run: | 68 | kernel_ver=$(curl -s https://www.kernel.org/ | awk '/longterm/{getline a;print a}' | head -n 1 | awk -F '[>]' '{print $3}' | awk -F '[<]' '{print $1}') 69 | cd linux-$kernel_ver 70 | wget -O 5.10_bbrplus.patch https://raw.githubusercontent.com/ylx2016/kernel/master/convert_official_linux-5.10.x_src_to_bbrplus.patch 71 | patch -p0 < 5.10_bbrplus.patch 72 | wget -O .config https://raw.githubusercontent.com/ylx2016/kernel/master/config-5.10.27-bbrplus 73 | sed -ri '/CONFIG_SYSTEM_TRUSTED_KEYS/s/=.+/=""/g' .config && scripts/config --disable MODULE_SIG && scripts/config --disable DEBUG_INFO 74 | echo -e "$(nproc) thread compile" 75 | sudo time make -j$(nproc) deb-pkg 76 | cd /workdir && mv *.deb /workdir/upload 77 | echo "::set-output name=status::success" 78 | echo "FILE_DATE=Kernel_Ubuntu_$kernel_ver_$(date +"%Y%m%d%H%M")" >> $GITHUB_ENV 79 | 80 | - name: Check space usage 81 | if: (!cancelled()) 82 | run: df -hT 83 | 84 | - name: Upload 85 | uses: actions/upload-artifact@main 86 | if: steps.compile.outputs.status == 'success' && env.UPLOAD_DIR == 'true' 87 | with: 88 | name: ${{ env.FILE_DATE }} 89 | path: /workdir/upload 90 | 91 | - name: Generate release tag 92 | id: tag 93 | if: env.UPLOAD_RELEASE == 'true' && steps.compile.outputs.status == 'success' && !cancelled() 94 | run: | 95 | kernel_ver=$(curl -s https://www.kernel.org/ | awk '/longterm/{getline a;print a}' | head -n 1 | awk -F '[>]' '{print $3}' | awk -F '[<]' '{print $1}') 96 | echo "::set-output name=release_tag::Ubuntu_Kernel_${kernel_ver}_LTS_bbrplus_$(date +"%Y.%m.%d-%H%M")" 97 | touch release.txt 98 | echo "only for Cloud VMs" >> release.txt 99 | echo "::set-output name=status::success" 100 | 101 | - name: Upload kernel to release 102 | uses: softprops/action-gh-release@v1 103 | if: steps.tag.outputs.status == 'success' && !cancelled() 104 | env: 105 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 106 | with: 107 | tag_name: ${{ steps.tag.outputs.release_tag }} 108 | body_path: release.txt 109 | files: /workdir/upload/* 110 | -------------------------------------------------------------------------------- /.github/workflows/Ubuntu_kernel_lts.yml.old: -------------------------------------------------------------------------------- 1 | # 2 | # This is free software, licensed under the MIT License. 3 | # See /LICENSE for more information. 4 | # 5 | # Description: Build Kernel using GitHub Actions 6 | # Change from P3TERX 7 | # 8 | 9 | name: Ubuntu Kernel LTS 10 | 11 | on: 12 | workflow_dispatch: 13 | #schedule: 14 | #- cron: "36 20 * * 2,6" 15 | #- cron: "36 20 * * *" 16 | # inputs: 17 | # ssh: 18 | # description: 'SSH connection to Actions' 19 | # required: false 20 | # default: 'false' 21 | 22 | env: 23 | UPLOAD_DIR: false 24 | UPLOAD_RELEASE: true 25 | TZ: Asia/Shanghai 26 | 27 | jobs: 28 | build: 29 | runs-on: ubuntu-latest 30 | 31 | steps: 32 | - name: Checkout 33 | uses: actions/checkout@main 34 | 35 | - name: Initialization environment 36 | env: 37 | DEBIAN_FRONTEND: noninteractive 38 | run: | 39 | sudo -E sed -i~orig -e 's/# deb-src/deb-src/' /etc/apt/sources.list 40 | sudo -E apt-get -qq update 41 | sudo -E apt-get -qq install build-essential bzip2 gawk gettext git patch unzip htop wget curl -y 42 | sudo -E apt-get -qq build-dep linux -y 43 | sudo -E apt-get -qq autoremove --purge 44 | sudo -E apt-get -qq clean 45 | sudo timedatectl set-timezone "$TZ" 46 | sudo mkdir -p /workdir 47 | sudo mkdir -p /workdir/upload 48 | sudo chown $USER:$GROUPS /workdir 49 | sudo chown $USER:$GROUPS /workdir/upload 50 | 51 | - name: Check for updates 52 | id: check 53 | run: | 54 | github_tag=$(curl -s 'https://api.github.com/repos/ylx2016/kernel/releases' | grep 'Ubuntu_Kernel' | grep '_lts_bbr_' | head -n 1 | awk -F '"' '{print $4}' | awk -F '[/]' '{print $8}') 55 | github_ver=$(curl -s 'https://api.github.com/repos/ylx2016/kernel/releases' | grep ${github_tag} | grep 'deb' | grep 'headers' | awk -F '"' '{print $4}' | awk -F '[/]' '{print $9}' | awk -F '[-]' '{print $3}' | awk -F '[_]' '{print $1}') 56 | kernel_ver=$(curl -s https://www.kernel.org/ | awk '/longterm/{getline a;print a}' | head -n 1 | awk -F '[>]' '{print $3}' | awk -F '[<]' '{print $1}') 57 | echo "github_ver=" $github_ver 58 | echo "kernel_ver=" $kernel_ver 59 | if [[ $github_ver == *"$kernel_ver"* ]]; then 60 | echo "::set-output name=status::fail" 61 | else 62 | echo "::set-output name=status::success" 63 | fi 64 | 65 | - name: Get source code 66 | id: code 67 | working-directory: /workdir 68 | if: steps.check.outputs.status == 'success' 69 | run: | 70 | df -hT $PWD 71 | kernel_ver=$(curl -s https://www.kernel.org/ | awk '/longterm/{getline a;print a}' | head -n 1 | awk -F '[>]' '{print $3}' | awk -F '[<]' '{print $1}') 72 | kernel_file=https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-$kernel_ver.tar.xz 73 | wget -O kernel.tar.xz $kernel_file 74 | tar -Jxvf kernel.tar.xz -C /workdir && cd /workdir/linux-$kernel_ver 75 | echo "::set-output name=status::success" 76 | 77 | - name: SSH connection to Actions 78 | uses: P3TERX/ssh2actions@v1.0.0 79 | if: (github.event.inputs.ssh == 'true' && github.event.inputs.ssh != 'false') || contains(github.event.action, 'ssh') 80 | env: 81 | TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }} 82 | TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }} 83 | 84 | - name: Compile the kernel 85 | id: compile 86 | if: steps.code.outputs.status == 'success' 87 | working-directory: /workdir 88 | run: | 89 | kernel_ver=$(curl -s https://www.kernel.org/ | awk '/longterm/{getline a;print a}' | head -n 1 | awk -F '[>]' '{print $3}' | awk -F '[<]' '{print $1}') 90 | cd linux-$kernel_ver 91 | wget -O .config https://raw.githubusercontent.com/ylx2016/kernel/master/config-5.10 92 | sed -ri '/CONFIG_SYSTEM_TRUSTED_KEYS/s/=.+/=""/g' .config && scripts/config --disable MODULE_SIG && scripts/config --disable DEBUG_INFO 93 | echo -e "$(nproc) thread compile" 94 | sudo time make -j$(nproc) deb-pkg 95 | cd /workdir && mv *.deb /workdir/upload 96 | echo "::set-output name=status::success" 97 | echo "FILE_DATE=Kernel_Ubuntu_$kernel_ver_$(date +"%Y%m%d%H%M")" >> $GITHUB_ENV 98 | 99 | - name: Check space usage 100 | if: (!cancelled()) && steps.compile.outputs.status == 'success' 101 | run: df -hT 102 | 103 | - name: Upload 104 | uses: actions/upload-artifact@main 105 | if: steps.compile.outputs.status == 'success' && env.UPLOAD_DIR == 'true' 106 | with: 107 | name: ${{ env.FILE_DATE }} 108 | path: /workdir/upload 109 | 110 | - name: Generate release tag 111 | id: tag 112 | if: env.UPLOAD_RELEASE == 'true' && steps.compile.outputs.status == 'success' && !cancelled() 113 | run: | 114 | kernel_ver=$(curl -s https://www.kernel.org/ | awk '/longterm/{getline a;print a}' | head -n 1 | awk -F '[>]' '{print $3}' | awk -F '[<]' '{print $1}') 115 | echo "::set-output name=release_tag::Ubuntu_Kernel_${kernel_ver}_lts_bbr_$(date +"%Y.%m.%d-%H%M")" 116 | touch release.txt 117 | echo "::set-output name=status::success" 118 | 119 | - name: Upload kernel to release 120 | uses: softprops/action-gh-release@v1 121 | if: steps.tag.outputs.status == 'success' && !cancelled() 122 | env: 123 | GITHUB_TOKEN: ${{ secrets.TOKEN }} 124 | with: 125 | tag_name: ${{ steps.tag.outputs.release_tag }} 126 | body_path: release.txt 127 | files: /workdir/upload/* 128 | -------------------------------------------------------------------------------- /.github/workflows/Debian_kernel_latest.yml: -------------------------------------------------------------------------------- 1 | # 2 | # This is free software, licensed under the MIT License. 3 | # See /LICENSE for more information. 4 | # 5 | # Description: Build Kernel using GitHub Actions 6 | # Change from P3TERX 7 | # 8 | 9 | name: Debian Kernel Latest 10 | 11 | on: 12 | workflow_dispatch: 13 | 14 | env: 15 | UPLOAD_DIR: true 16 | UPLOAD_RELEASE: true 17 | UPLOAD_WETRANSFER: false 18 | TZ: Asia/Shanghai 19 | 20 | jobs: 21 | build: 22 | runs-on: ubuntu-latest 23 | container: docker.io/qctt/kernelbuild:debian12 24 | 25 | steps: 26 | - name: Checkout 27 | uses: actions/checkout@main 28 | 29 | - name: Get Kernel Versions 30 | id: versions 31 | run: | 32 | github_tag=$(curl -s 'https://api.github.com/repos/ylx2016/kernel/releases' | grep 'Debian_Kernel' | grep '_latest_bbr_' | head -n 1 | awk -F '"' '{print $4}' | awk -F '[/]' '{print $8}') 33 | github_ver=$(curl -s 'https://api.github.com/repos/ylx2016/kernel/releases' | grep ${github_tag} | grep 'deb' | grep 'headers' | awk -F '"' '{print $4}' | awk -F '[/]' '{print $9}' | awk -F '[-]' '{print $3}' | awk -F '[_]' '{print $1}') 34 | kernel_ver=$(curl -s https://www.kernel.org/ | grep ' > $GITHUB_ENV 39 | echo "versions.status=fail" >> $GITHUB_ENV 40 | else 41 | echo "action_echo=enabled" >> $GITHUB_ENV 42 | echo "versions.status=success" >> $GITHUB_ENV 43 | fi 44 | echo ${{ env.versions.status }} 45 | 46 | - name: Get Source Code 47 | if: ${{ env.versions.status }} == 'success' 48 | working-directory: /workdir 49 | run: | 50 | df -hT $PWD 51 | kernel_file=$(curl -s https://www.kernel.org/ | grep 'alt="Download"' | awk -F '"' '{print $2}') 52 | kernel_ver=$(curl -s https://www.kernel.org/ | grep ' > $GITHUB_ENV 56 | echo "code.status=success" >> $GITHUB_ENV 57 | 58 | - name: Compile Kernel 59 | if: ${{ env.versions.status }} == 'success' && ${{ env.code.status }} == 'success' 60 | working-directory: /workdir 61 | run: | 62 | kernel_ver=$(curl -s https://www.kernel.org/ | grep ' > $GITHUB_ENV 78 | echo "compile.status=success" >> $GITHUB_ENV 79 | echo "FILE_DATE=Kernel_Debian_$kernel_ver_$(date +"%Y%m%d%H%M")" >> $GITHUB_ENV 80 | 81 | - name: Upload Artifacts 82 | uses: actions/upload-artifact@main 83 | if: ${{ env.compile.status }} == 'success' && ${{ env.UPLOAD_DIR }} == 'true' 84 | with: 85 | name: ${{ env.FILE_DATE }} 86 | path: /workdir/upload 87 | 88 | - name: Upload to WeTransfer 89 | if: ${{ env.compile.status }} == 'success' && ${{ env.UPLOAD_WETRANSFER }} == 'true' && !cancelled() 90 | run: | 91 | curl -fsSL git.io/file-transfer | sh 92 | ./transfer wet -s -p 16 --no-progress /workdir/upload 2>&1 | tee wetransfer.log 93 | echo "::warning file=wetransfer.com::$(grep https wetransfer.log)" 94 | echo "action_echo=enabled" >> $GITHUB_ENV 95 | echo "url=$(grep https wetransfer.log | cut -f3 -d' ')" >> $GITHUB_ENV 96 | 97 | - name: Generate release tag 98 | id: tag 99 | if: ${{ env.UPLOAD_RELEASE }} == 'true' && ${{ env.compile }} = == 'success' && !cancelled() 100 | run: | 101 | kernel_ver=$(curl -s https://www.kernel.org/ | grep ' > $GITHUB_ENV 103 | echo "release_tag=Debian_Kernel_${kernel_ver}_latest_bbr_$(date +"%Y.%m.%d-%H%M")" >> $GITHUB_ENV 104 | touch release.txt 105 | echo "tag.status=success" >> $GITHUB_ENV 106 | 107 | - name: Upload Kernel to release 108 | uses: softprops/action-gh-release@v1 109 | if: ${{ env.tag.status }} == 'success' && !cancelled() 110 | env: 111 | GITHUB_TOKEN: ${{ secrets.TOKEN }} 112 | with: 113 | tag_name: ${{ env.release_tag }} 114 | body_path: release.txt 115 | files: /workdir/upload/* 116 | 117 | - name: Delete workflow runs 118 | uses: GitRML/delete-workflow-runs@main 119 | with: 120 | token: ${{ secrets.TOKEN }} 121 | repository: ${{ github.repository }} 122 | retain_days: 1 123 | keep_minimum_runs: 2 124 | -------------------------------------------------------------------------------- /.github/workflows/Centos_kernel_lts.yml.old: -------------------------------------------------------------------------------- 1 | # 2 | # This is free software, licensed under the MIT License. 3 | # See /LICENSE for more information. 4 | # 5 | # Description: Build Kernel using GitHub Actions 6 | # Change from P3TERX 7 | # 8 | 9 | name: Centos Kernel LTS 10 | 11 | on: 12 | workflow_dispatch: 13 | #schedule: 14 | #- cron: "38 20 * * 1,4" 15 | #- cron: "39 20 * * *" 16 | # inputs: 17 | # ssh: 18 | # description: 'SSH connection to Actions' 19 | # required: false 20 | # default: 'false' 21 | 22 | env: 23 | UPLOAD_DIR: false 24 | UPLOAD_RELEASE: true 25 | TZ: Asia/Shanghai 26 | 27 | jobs: 28 | build: 29 | runs-on: ubuntu-latest 30 | container: docker.io/centos:7 31 | 32 | steps: 33 | - name: Checkout 34 | uses: actions/checkout@v2 35 | 36 | - name: intall deps 37 | run: | 38 | yum update -y 39 | yum install epel-release -y && yum install ansible -y && yum install openssh-clients -y 40 | yum install -y wget tar gcc automake autoconf libtool make zip unzip centos-release-scl scl-utils bzip2 wget curl jq htop sudo time patch 41 | yum groups install development -y 42 | yum install gcc bc ncurses-devel openssl-devel elfutils-libelf-devel rsync glibc-static tmux -y 43 | yum -y install devtoolset-9 devtoolset-9-libatomic-devel 44 | mkdir /github/home/.ssh/ && mkdir /workdir 45 | 46 | - name: Check for updates 47 | id: check 48 | run: | 49 | github_tag=$(curl -s 'https://api.github.com/repos/ylx2016/kernel/releases' | grep 'Centos_Kernel' | grep '_lts_bbr_' | head -n 1 | awk -F '"' '{print $4}' | awk -F '[/]' '{print $8}') 50 | github_ver=$(curl -s 'https://api.github.com/repos/ylx2016/kernel/releases' | grep ${github_tag} | grep 'rpm' | grep 'headers' | awk -F '"' '{print $4}' | awk -F '[/]' '{print $9}' | awk -F '[-]' '{print $3}') 51 | kernel_ver=$(curl -s https://www.kernel.org/ | awk '/longterm/{getline a;print a}' | head -n 1 | awk -F '[>]' '{print $3}' | awk -F '[<]' '{print $1}') 52 | echo "github_ver=" $github_ver 53 | echo "kernel_ver=" $kernel_ver 54 | if [[ $github_ver == *"$kernel_ver"* ]]; then 55 | echo "::set-output name=status::fail" 56 | else 57 | echo "::set-output name=status::success" 58 | fi 59 | 60 | - name: Get source code 61 | id: code 62 | if: steps.check.outputs.status == 'success' 63 | working-directory: /workdir 64 | run: | 65 | df -hT $PWD 66 | kernel_ver=$(curl -s https://www.kernel.org/ | awk '/longterm/{getline a;print a}' | head -n 1 | awk -F '[>]' '{print $3}' | awk -F '[<]' '{print $1}') 67 | kernel_file=https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-$kernel_ver.tar.xz 68 | wget -O kernel.tar.xz $kernel_file 69 | tar -Jxvf kernel.tar.xz -C /workdir && cd /workdir/linux-$kernel_ver 70 | echo "::set-output name=status::success" 71 | 72 | - name: SSH connection to Actions 73 | uses: P3TERX/ssh2actions@v1.0.0 74 | if: (github.event.inputs.ssh == 'true' && github.event.inputs.ssh != 'false') || contains(github.event.action, 'ssh') 75 | env: 76 | TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }} 77 | TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }} 78 | 79 | - name: Compile the kernel 80 | id: compile 81 | if: steps.code.outputs.status == 'success' 82 | working-directory: /workdir 83 | run: | 84 | kernel_ver=$(curl -s https://www.kernel.org/ | awk '/longterm/{getline a;print a}' | head -n 1 | awk -F '[>]' '{print $3}' | awk -F '[<]' '{print $1}') 85 | cd linux-$kernel_ver 86 | wget -O .config https://raw.githubusercontent.com/ylx2016/kernel/master/config-5.10 87 | sed -ri '/CONFIG_SYSTEM_TRUSTED_KEYS/s/=.+/=""/g' .config && scripts/config --disable MODULE_SIG && scripts/config --disable DEBUG_INFO 88 | echo -e "$(nproc) thread compile" 89 | ln -s /opt/rh/devtoolset-9/root/usr/bin/* /usr/local/bin/ 90 | sudo time make -j$(nproc) rpm-pkg 91 | mv /root/rpmbuild/RPMS/* /workdir/upload 92 | echo "::set-output name=status::success" 93 | echo "FILE_DATE=Kernel_Centos_$kernel_ver_$(date +"%Y%m%d%H%M")" >> $GITHUB_ENV 94 | 95 | - name: Check space usage 96 | if: (!cancelled()) && steps.compile.outputs.status == 'success' 97 | run: df -hT 98 | 99 | - name: Upload 100 | uses: actions/upload-artifact@main 101 | if: steps.compile.outputs.status == 'success' && env.UPLOAD_DIR == 'true' 102 | with: 103 | name: ${{ env.FILE_DATE }} 104 | path: /workdir/upload 105 | 106 | - name: Generate release tag 107 | id: tag 108 | if: env.UPLOAD_RELEASE == 'true' && steps.compile.outputs.status == 'success' && !cancelled() 109 | run: | 110 | kernel_ver=$(curl -s https://www.kernel.org/ | awk '/longterm/{getline a;print a}' | head -n 1 | awk -F '[>]' '{print $3}' | awk -F '[<]' '{print $1}') 111 | echo "::set-output name=release_tag::Centos_Kernel_${kernel_ver}_lts_bbr_$(date +"%Y.%m.%d-%H%M")" 112 | touch release.txt 113 | echo "for centos 7" >> release.txt 114 | echo "::set-output name=status::success" 115 | 116 | - name: Upload kernel to release 117 | uses: softprops/action-gh-release@v1 118 | if: steps.tag.outputs.status == 'success' && !cancelled() 119 | env: 120 | GITHUB_TOKEN: ${{ secrets.TOKEN }} 121 | with: 122 | tag_name: ${{ steps.tag.outputs.release_tag }} 123 | body_path: release.txt 124 | files: /workdir/upload/* 125 | 126 | #- name: Delete workflow runs 127 | # uses: GitRML/delete-workflow-runs@main 128 | # with: 129 | # retain_days: 1 130 | # keep_minimum_runs: 3 131 | -------------------------------------------------------------------------------- /.github/workflows/Ubuntu_kernel_test.yml.old: -------------------------------------------------------------------------------- 1 | # 2 | # This is free software, licensed under the MIT License. 3 | # See /LICENSE for more information. 4 | # 5 | # Description: Build Kernel using GitHub Actions 6 | # Change from P3TERX 7 | # 8 | 9 | name: Ubuntu Kernel Test 10 | 11 | on: 12 | workflow_dispatch: 13 | #schedule: 14 | #- cron: "36 20 * * 1,4" 15 | # inputs: 16 | # ssh: 17 | # description: 'SSH connection to Actions' 18 | # required: false 19 | # default: 'false' 20 | 21 | env: 22 | UPLOAD_DIR: true 23 | UPLOAD_RELEASE: false 24 | UPLOAD_WETRANSFER: false 25 | WEBSSH: false 26 | TZ: Asia/Shanghai 27 | 28 | jobs: 29 | build: 30 | runs-on: ubuntu-latest 31 | container: docker.io/qctt/kernelbuild:ubuntu20.04 32 | 33 | steps: 34 | - name: Checkout 35 | uses: actions/checkout@main 36 | 37 | - name: Initialization environment 38 | env: 39 | DEBIAN_FRONTEND: noninteractive 40 | run: | 41 | apt update 42 | apt-get install libfuse-dev libarchive-dev xfsprogs jq -y 43 | #apt-get install btrfs-tools -y 44 | apt install btrfs-progs pip python -y 45 | pip install yamlish junit_xml 46 | #mkdir /github 47 | #mkdir /github/home/ 48 | mkdir /github/home/.ssh/ 49 | sudo chown $USER:$GROUPS /workdir 50 | sudo chown $USER:$GROUPS /workdir/upload 51 | 52 | - name: Get source code 53 | id: code 54 | working-directory: /workdir 55 | run: | 56 | df -hT $PWD 57 | #wget https://github.com/lkl/linux/archive/refs/heads/master.zip 58 | wget https://github.com/ylx2016/linux-1/archive/master.zip 59 | wget https://github.com/ylx2016/rinetd/archive/refs/heads/main.zip 60 | unzip master.zip 61 | unzip main.zip 62 | mv linux-1-master linux-master 63 | echo "::set-output name=status::success" 64 | 65 | - name: SSH connection to Actions 66 | uses: P3TERX/ssh2actions@v1.0.0 67 | if: env.WEBSSH == 'true' 68 | env: 69 | TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }} 70 | TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }} 71 | 72 | - name: Compile the kernel 73 | id: compile 74 | if: steps.code.outputs.status == 'success' 75 | working-directory: /workdir 76 | run: | 77 | kernel_ver=5.3 78 | cd linux-master 79 | #wget -O .config https://github.com/ylx2016/kernel/raw/master/config_lkl 80 | wget -O .config https://github.com/ylx2016/kernel/raw/7eb006aae2f0ad2d9f1e52868e2ac7876635b58f/config_lkl 81 | #wget -O tools/lkl/.config https://github.com/ylx2016/kernel/raw/7eb006aae2f0ad2d9f1e52868e2ac7876635b58f/config_lkl 82 | sed -ri '/CONFIG_SYSTEM_TRUSTED_KEYS/s/=.+/=""/g' .config && scripts/config --disable MODULE_SIG && scripts/config --disable DEBUG_INFO 83 | #cd tools/lkl 84 | #sed -ri '/CONFIG_SYSTEM_TRUSTED_KEYS/s/=.+/=""/g' .config && scripts/config --disable MODULE_SIG && scripts/config --disable DEBUG_INFO 85 | #echo "#include " >> /workdir/linux-master/tools/lkl/lib/hijack/xlate.c 86 | #cd /workdir/linux-master 87 | sed -i '1i\#include ' tools/lkl/lib/hijack/xlate.c 88 | echo -e "$(nproc) thread compile" 89 | sudo time make -j$(nproc) -C tools/lkl 90 | 91 | cd /workdir/rinetd-main 92 | chmod +x make.sh 93 | bash make.sh 94 | 95 | mv /workdir/linux-master/tools/lkl/liblkl.a /workdir/upload 96 | mv /workdir/linux-master/.config /workdir/upload 97 | mv /workdir/rinetd-main/rinetd /workdir/upload 98 | echo "::set-output name=status::success" 99 | echo "FILE_DATE=Kernel_Ubuntu_$kernel_ver_$(date +"%Y%m%d%H%M")" >> $GITHUB_ENV 100 | 101 | - name: Check space usage 102 | if: (!cancelled()) && steps.compile.outputs.status == 'success' 103 | run: df -hT 104 | 105 | - name: Upload 106 | uses: actions/upload-artifact@main 107 | if: steps.compile.outputs.status == 'success' && env.UPLOAD_DIR == 'true' 108 | with: 109 | name: ${{ env.FILE_DATE }} 110 | path: /workdir/upload 111 | 112 | - name: Upload to WeTransfer 113 | id: wetransfer 114 | if: steps.compile.outputs.status == 'success' && env.UPLOAD_WETRANSFER == 'true' && !cancelled() 115 | run: | 116 | curl -fsSL git.io/file-transfer | sh 117 | ./transfer wet -s -p 16 --no-progress /workdir/upload 2>&1 | tee wetransfer.log 118 | echo "::warning file=wetransfer.com::$(cat wetransfer.log | grep https)" 119 | echo "::set-output name=url::$(cat wetransfer.log | grep https | cut -f3 -d" ")" 120 | 121 | - name: Generate release tag 122 | id: tag 123 | if: env.UPLOAD_RELEASE == 'true' && steps.compile.outputs.status == 'success' && !cancelled() 124 | run: | 125 | kernel_ver=$(curl -s https://www.kernel.org/ | grep ' ]' '{print $3}' | awk -F '[<]' '{print $1}') 49 | echo "github_ver=" $github_ver 50 | echo "kernel_ver=" $kernel_ver 51 | if [[ $github_ver == *"$kernel_ver"* ]]; then 52 | echo "::set-output name=status::fail" 53 | else 54 | echo "::set-output name=status::success" 55 | fi 56 | 57 | - name: Get source code 58 | working-directory: /workdir 59 | id: code 60 | if: steps.check.outputs.status == 'success' 61 | run: | 62 | df -hT $PWD 63 | kernel_ver=$(curl -s https://www.kernel.org/ | awk '/longterm/{getline a;print a}' | head -n 1 | awk -F '[>]' '{print $3}' | awk -F '[<]' '{print $1}') 64 | kernel_file=https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-$kernel_ver.tar.xz 65 | wget -O kernel.tar.xz $kernel_file 66 | tar -Jxvf kernel.tar.xz -C /workdir && cd /workdir/linux-$kernel_ver 67 | 68 | - name: SSH connection to Actions 69 | uses: P3TERX/ssh2actions@v1.0.0 70 | if: (github.event.inputs.ssh == 'true' && github.event.inputs.ssh != 'false') || contains(github.event.action, 'ssh') 71 | env: 72 | TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }} 73 | TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }} 74 | 75 | - name: Compile the kernel 76 | id: compile 77 | working-directory: /workdir 78 | run: | 79 | kernel_ver=$(curl -s https://www.kernel.org/ | awk '/longterm/{getline a;print a}' | head -n 1 | awk -F '[>]' '{print $3}' | awk -F '[<]' '{print $1}') 80 | cd linux-$kernel_ver 81 | wget -O 5.10_bbrplus.patch https://raw.githubusercontent.com/ylx2016/kernel/master/convert_official_linux-5.10.x_src_to_bbrplus.patch 82 | patch -p0 < 5.10_bbrplus.patch 83 | wget -O .config https://raw.githubusercontent.com/ylx2016/kernel/master/config-5.10.27-bbrplus 84 | sed -ri '/CONFIG_SYSTEM_TRUSTED_KEYS/s/=.+/=""/g' .config && scripts/config --disable MODULE_SIG && scripts/config --disable DEBUG_INFO 85 | echo -e "$(nproc) thread compile" 86 | ln -s /opt/rh/devtoolset-9/root/usr/bin/* /usr/local/bin/ 87 | sudo time make -j$(nproc) rpm-pkg 88 | mv /root/rpmbuild/RPMS/* /workdir/upload 89 | echo "::set-output name=status::success" 90 | echo "FILE_DATE=Kernel_Centos_$kernel_ver_$(date +"%Y%m%d%H%M")" >> $GITHUB_ENV 91 | 92 | - name: Check space usage 93 | if: (!cancelled()) 94 | run: df -hT 95 | 96 | - name: Upload 97 | uses: actions/upload-artifact@main 98 | if: steps.compile.outputs.status == 'success' && env.UPLOAD_DIR == 'true' 99 | with: 100 | name: ${{ env.FILE_DATE }} 101 | path: /workdir/upload 102 | 103 | - name: Generate release tag 104 | id: tag 105 | if: env.UPLOAD_RELEASE == 'true' && steps.compile.outputs.status == 'success' && !cancelled() 106 | run: | 107 | kernel_ver=$(curl -s https://www.kernel.org/ | awk '/longterm/{getline a;print a}' | head -n 1 | awk -F '[>]' '{print $3}' | awk -F '[<]' '{print $1}') 108 | echo "::set-output name=release_tag::Centos_Kernel_${kernel_ver}_LTS_bbrplus_$(date +"%Y.%m.%d-%H%M")" 109 | touch release.txt 110 | echo "for Cloud VMs" >> release.txt 111 | echo "for centos 7" >> release.txt 112 | echo "::set-output name=status::success" 113 | 114 | - name: Upload kernel to release 115 | uses: softprops/action-gh-release@v1 116 | if: steps.tag.outputs.status == 'success' && !cancelled() 117 | env: 118 | GITHUB_TOKEN: ${{ secrets.TOKEN }} 119 | with: 120 | tag_name: ${{ steps.tag.outputs.release_tag }} 121 | body_path: release.txt 122 | files: /workdir/upload/* 123 | 124 | #- name: Delete workflow runs 125 | # uses: GitRML/delete-workflow-runs@main 126 | # with: 127 | # retain_days: 1 128 | # keep_minimum_runs: 3 129 | -------------------------------------------------------------------------------- /.github/workflows/Centos_kernel_latest_bbrplus.yml.old: -------------------------------------------------------------------------------- 1 | # 不维护了 2 | # This is free software, licensed under the MIT License. 3 | # See /LICENSE for more information. 4 | # 5 | # Description: Build Kernel using GitHub Actions 6 | # Change from P3TERX 7 | # 8 | 9 | name: Centos Kernel Latest BBRPLUS 10 | 11 | on: 12 | workflow_dispatch: 13 | #schedule: 14 | #- cron: "39 20 * * 2,4" 15 | # inputs: 16 | # ssh: 17 | # description: 'SSH connection to Actions' 18 | # required: false 19 | # default: 'false' 20 | 21 | env: 22 | UPLOAD_DIR: false 23 | UPLOAD_RELEASE: true 24 | TZ: Asia/Shanghai 25 | 26 | jobs: 27 | build: 28 | runs-on: ubuntu-latest 29 | container: docker.io/centos:7 30 | 31 | steps: 32 | - name: Checkout 33 | uses: actions/checkout@v2 34 | 35 | - name: intall deps 36 | run: | 37 | yum update -y 38 | yum install epel-release -y && yum install ansible -y && yum install openssh-clients -y 39 | yum install -y wget tar gcc automake autoconf libtool make zip unzip centos-release-scl scl-utils bzip2 wget curl jq htop sudo time patch 40 | yum groups install development -y 41 | yum install gcc bc ncurses-devel openssl-devel elfutils-libelf-devel rsync glibc-static tmux -y 42 | yum -y install devtoolset-9 devtoolset-9-libatomic-devel 43 | mkdir /github/home/.ssh/ && mkdir /workdir 44 | 45 | - name: Check for updates 46 | id: check 47 | run: | 48 | github_tag=$(curl -s 'https://api.github.com/repos/ylx2016/kernel/releases' | grep 'Centos_Kernel' | grep '_latest_bbrplus_' | head -n 1 | awk -F '"' '{print $4}' | awk -F '[/]' '{print $8}') 49 | github_ver=$(curl -s 'https://api.github.com/repos/ylx2016/kernel/releases' | grep ${github_tag} | grep 'rpm' | grep 'headers' | awk -F '"' '{print $4}' | awk -F '[/]' '{print $9}' | awk -F '[-]' '{print $3}' | awk -F '[_]' '{print $1}') 50 | kernel_ver=$(curl -s https://www.kernel.org/ | grep ' > $GITHUB_ENV 95 | 96 | - name: Check space usage 97 | if: (!cancelled()) && steps.compile.outputs.status == 'success' 98 | run: df -hT 99 | 100 | - name: Upload 101 | uses: actions/upload-artifact@main 102 | if: steps.compile.outputs.status == 'success' && env.UPLOAD_DIR == 'true' 103 | with: 104 | name: ${{ env.FILE_DATE }} 105 | path: /workdir/upload 106 | 107 | - name: Generate release tag 108 | id: tag 109 | if: env.UPLOAD_RELEASE == 'true' && steps.compile.outputs.status == 'success' && !cancelled() 110 | run: | 111 | kernel_ver=$(curl -s https://www.kernel.org/ | grep ' > release.txt 115 | echo "for centos 7" >> release.txt 116 | echo "::set-output name=status::success" 117 | 118 | - name: Upload kernel to release 119 | uses: softprops/action-gh-release@v1 120 | if: steps.tag.outputs.status == 'success' && !cancelled() 121 | env: 122 | #GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 123 | GITHUB_TOKEN: ${{ secrets.TOKEN }} 124 | with: 125 | tag_name: ${{ steps.tag.outputs.release_tag }} 126 | body_path: release.txt 127 | files: /workdir/upload/* 128 | -------------------------------------------------------------------------------- /.github/workflows/Centos_kernel_latest.yml.bak: -------------------------------------------------------------------------------- 1 | # 2 | # This is free software, licensed under the MIT License. 3 | # See /LICENSE for more information. 4 | # 5 | # Description: Build Kernel using GitHub Actions 6 | # Change from P3TERX 7 | # 8 | 9 | name: Centos Kernel Latest 10 | 11 | on: 12 | workflow_dispatch: 13 | #schedule: 14 | #- cron: "38 21 * * 1,4" 15 | # inputs: 16 | # ssh: 17 | # description: 'SSH connection to Actions' 18 | # required: false 19 | # default: 'false' 20 | 21 | env: 22 | UPLOAD_DIR: true 23 | UPLOAD_RELEASE: true 24 | UPLOAD_WETRANSFER: false 25 | TZ: Asia/Shanghai 26 | 27 | jobs: 28 | build: 29 | runs-on: ubuntu-latest 30 | container: docker.io/qctt/kernelbuild:centos7_2 31 | 32 | steps: 33 | - name: Checkout 34 | uses: actions/checkout@main 35 | 36 | - name: Check for updates 37 | id: check 38 | run: | 39 | github_tag=$(curl -s 'https://api.github.com/repos/ylx2016/kernel/releases' | grep 'Centos_Kernel' | grep '_latest_bbr_' | head -n 1 | awk -F '"' '{print $4}' | awk -F '[/]' '{print $8}') 40 | github_ver=$(curl -s 'https://api.github.com/repos/ylx2016/kernel/releases' | grep ${github_tag} | grep 'rpm' | grep 'headers' | awk -F '"' '{print $4}' | awk -F '[/]' '{print $9}' | awk -F '[-]' '{print $3}') 41 | kernel_ver=$(curl -s https://www.kernel.org/ | awk '/longterm/{getline a;print a}' | head -n 1 | grep -oP "\K[0-9]+\.[0-9]+(\.[0-9]+)?") 42 | echo "github_ver=" $github_ver 43 | echo "kernel_ver=" $kernel_ver 44 | #if [[ $github_ver == *"$kernel_ver"* ]]; then 45 | # echo "::set-output name=status::fail" 46 | #else 47 | echo "::set-output name=status::success" 48 | #fi 49 | 50 | - name: Get source code 51 | id: code 52 | if: steps.check.outputs.status == 'success' 53 | working-directory: /workdir 54 | run: | 55 | df -hT $PWD 56 | kernel_file=$(curl -s https://www.kernel.org/ | awk '/longterm/{getline;getline;getline; print}' | head -n 1 | awk -F '["]' '{print $2}' | awk -F '["]' '{print $1}') 57 | kernel_ver=$(curl -s https://www.kernel.org/ | awk '/longterm/{getline a;print a}' | head -n 1 | grep -oP "\K[0-9]+\.[0-9]+(\.[0-9]+)?") 58 | wget -O kernel.tar.xz $kernel_file 59 | tar -Jxvf kernel.tar.xz -C /workdir && cd /workdir/linux-$kernel_ver 60 | echo "::set-output name=status::success" 61 | 62 | - name: SSH connection to Actions 63 | uses: P3TERX/ssh2actions@v1.0.0 64 | if: (github.event.inputs.ssh == 'true' && github.event.inputs.ssh != 'false') || contains(github.event.action, 'ssh') 65 | env: 66 | TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }} 67 | TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }} 68 | 69 | - name: Compile the kernel 70 | id: compile 71 | if: steps.code.outputs.status == 'success' 72 | working-directory: /workdir 73 | run: | 74 | kernel_ver=$(curl -s https://www.kernel.org/ | awk '/longterm/{getline a;print a}' | head -n 1 | grep -oP "\K[0-9]+\.[0-9]+(\.[0-9]+)?") 75 | cd linux-$kernel_ver 76 | ln -s /opt/rh/devtoolset-12/root/usr/bin/* /usr/local/bin/ 77 | wget -O .config https://raw.githubusercontent.com/ylx2016/kernel/master/config_elrepo 78 | yes '' | make ARCH=x86_64 olddefconfig 79 | sed -ri '/CONFIG_SYSTEM_TRUSTED_KEYS/s/=.+/=""/g' .config 80 | scripts/config --disable MODULE_SIG 81 | scripts/config --disable DEBUG_INFO 82 | scripts/config --disable DEBUG_INFO_BTF 83 | scripts/config --disable DEBUG_INFO_DWARF4 84 | scripts/config --disable DEBUG_INFO_DWARF5 85 | scripts/config --disable DEBUG_INFO_NONE 86 | echo -e "$(nproc) thread compile" 87 | sudo time make -j$(nproc) rpm-pkg 88 | mv /root/rpmbuild/RPMS/x86_64/* /workdir/upload 89 | echo "::set-output name=status::success" 90 | echo "FILE_DATE=Kernel_Centos_$kernel_ver_$(date +"%Y%m%d%H%M")" >> $GITHUB_ENV 91 | 92 | - name: Check space usage 93 | if: (!cancelled()) && steps.compile.outputs.status == 'success' 94 | run: df -hT 95 | 96 | - name: Upload 97 | uses: actions/upload-artifact@main 98 | if: steps.compile.outputs.status == 'success' && env.UPLOAD_DIR == 'true' 99 | with: 100 | name: ${{ env.FILE_DATE }} 101 | path: /workdir/upload 102 | 103 | - name: Upload to WeTransfer 104 | id: wetransfer 105 | if: steps.compile.outputs.status == 'success' && env.UPLOAD_WETRANSFER == 'true' && !cancelled() 106 | run: | 107 | curl -fsSL git.io/file-transfer | sh 108 | ./transfer wet -s -p 16 --no-progress /workdir/upload 2>&1 | tee wetransfer.log 109 | echo "::warning file=wetransfer.com::$(cat wetransfer.log | grep https)" 110 | echo "::set-output name=url::$(cat wetransfer.log | grep https | cut -f3 -d" ")" 111 | 112 | - name: Generate release tag 113 | id: tag 114 | if: env.UPLOAD_RELEASE == 'true' && steps.compile.outputs.status == 'success' && !cancelled() 115 | run: | 116 | kernel_ver=$(curl -s https://www.kernel.org/ | awk '/longterm/{getline a;print a}' | head -n 1 | grep -oP "\K[0-9]+\.[0-9]+(\.[0-9]+)?") 117 | echo "::set-output name=release_tag::Centos_Kernel_${kernel_ver}_latest_bbr_$(date +"%Y.%m.%d-%H%M")" 118 | touch release.txt 119 | echo "for centos 7" >> release.txt 120 | echo "::set-output name=status::success" 121 | 122 | - name: Upload kernel to release 123 | uses: softprops/action-gh-release@v1 124 | if: steps.tag.outputs.status == 'success' && !cancelled() 125 | env: 126 | GITHUB_TOKEN: ${{ secrets.TOKEN }} 127 | with: 128 | tag_name: ${{ steps.tag.outputs.release_tag }} 129 | body_path: release.txt 130 | files: /workdir/upload/* 131 | 132 | #- name: Delete workflow runs 133 | # uses: GitRML/delete-workflow-runs@main 134 | # with: 135 | # retain_days: 1 136 | # keep_minimum_runs: 3 137 | -------------------------------------------------------------------------------- /.github/workflows/Centos_kernel_arm64_5.12.yml.old: -------------------------------------------------------------------------------- 1 | # 2 | # This is free software, licensed under the MIT License. 3 | # See /LICENSE for more information. 4 | # 5 | # Description: Build Kernel using GitHub Actions 6 | # Change from P3TERX 7 | # 8 | 9 | name: Centos Kernel ARM64 5.12 10 | 11 | on: 12 | workflow_dispatch: 13 | #schedule: 14 | #- cron: "38 20 * * 1,4" 15 | #- cron: "39 20 * * *" 16 | # inputs: 17 | # ssh: 18 | # description: 'SSH connection to Actions' 19 | # required: false 20 | # default: 'false' 21 | 22 | env: 23 | UPLOAD_DIR: false 24 | UPLOAD_RELEASE: true 25 | TZ: Asia/Shanghai 26 | 27 | jobs: 28 | build: 29 | runs-on: ubuntu-latest 30 | container: docker.io/centos:7 31 | 32 | steps: 33 | - name: Checkout 34 | uses: actions/checkout@v2 35 | 36 | - name: intall deps 37 | run: | 38 | yum update -y 39 | yum install epel-release -y && yum install ansible -y && yum install openssh-clients -y 40 | yum install -y wget tar gcc automake autoconf libtool make zip unzip centos-release-scl scl-utils bzip2 wget curl jq htop sudo time patch 41 | yum groups install development -y 42 | yum install gcc bc ncurses-devel openssl-devel elfutils-libelf-devel rsync glibc-static tmux -y 43 | yum install https://yum.oracle.com/repo/OracleLinux/OL7/developer/x86_64/getPackage/cross-gcc-common-7.3.0-1.0.3.el7.noarch.rpm -y 44 | yum install https://yum.oracle.com/repo/OracleLinux/OL7/developer/x86_64/getPackage/gcc-aarch64-linux-gnu-7.3.0-1.0.3.el7.x86_64.rpm -y 45 | mkdir /github/home/.ssh/ && mkdir /workdir 46 | 47 | # - name: Check for updates 48 | # id: check 49 | # run: | 50 | # github_tag=$(curl -s 'https://api.github.com/repos/ylx2016/kernel/releases' | grep 'Centos_Kernel' | grep '_latest_bbr_' | head -n 1 | awk -F '"' '{print $4}' | awk -F '[/]' '{print $8}') 51 | # github_ver=$(curl -s 'https://api.github.com/repos/ylx2016/kernel/releases' | grep ${github_tag} | grep 'rpm' | grep 'headers' | awk -F '"' '{print $4}' | awk -F '[/]' '{print $9}' | awk -F '[-]' '{print $3}') 52 | # kernel_ver=$(curl -s https://www.kernel.org/ | grep ' > $GITHUB_ENV 95 | 96 | - name: Check space usage 97 | if: (!cancelled()) && steps.compile.outputs.status == 'success' 98 | run: df -hT 99 | 100 | - name: Upload 101 | uses: actions/upload-artifact@main 102 | if: steps.compile.outputs.status == 'success' && env.UPLOAD_DIR == 'true' 103 | with: 104 | name: ${{ env.FILE_DATE }} 105 | path: /workdir/upload 106 | 107 | - name: Generate release tag 108 | id: tag 109 | if: env.UPLOAD_RELEASE == 'true' && steps.compile.outputs.status == 'success' && !cancelled() 110 | run: | 111 | kernel_ver=$(curl -s https://www.kernel.org/ | grep ' > release.txt 115 | echo "::set-output name=status::success" 116 | 117 | - name: Upload kernel to release 118 | uses: softprops/action-gh-release@v1 119 | if: steps.tag.outputs.status == 'success' && !cancelled() 120 | env: 121 | GITHUB_TOKEN: ${{ secrets.TOKEN }} 122 | with: 123 | tag_name: ${{ steps.tag.outputs.release_tag }} 124 | body_path: release.txt 125 | files: /workdir/upload/* 126 | 127 | #- name: Delete workflow runs 128 | # uses: GitRML/delete-workflow-runs@main 129 | # with: 130 | # retain_days: 1 131 | # keep_minimum_runs: 3 132 | -------------------------------------------------------------------------------- /.github/workflows/Ubuntu_kernel_latest.yml.old: -------------------------------------------------------------------------------- 1 | # 2 | # This is free software, licensed under the MIT License. 3 | # See /LICENSE for more information. 4 | # 5 | # Description: Build Kernel using GitHub Actions 6 | # Change from P3TERX 7 | # 8 | 9 | name: Ubuntu Kernel Latest 10 | 11 | on: 12 | workflow_dispatch: 13 | #schedule: 14 | #- cron: "36 20 * * 1,4" 15 | # inputs: 16 | # ssh: 17 | # description: 'SSH connection to Actions' 18 | # required: false 19 | # default: 'false' 20 | 21 | env: 22 | UPLOAD_DIR: true 23 | UPLOAD_RELEASE: true 24 | UPLOAD_WETRANSFER: false 25 | TZ: Asia/Shanghai 26 | 27 | jobs: 28 | build: 29 | runs-on: ubuntu-latest 30 | container: docker.io/qctt/kernelbuild:ubuntu20 31 | 32 | steps: 33 | - name: Checkout 34 | uses: actions/checkout@main 35 | 36 | - name: Check for updates 37 | id: check 38 | run: | 39 | github_tag=$(curl -s 'https://api.github.com/repos/ylx2016/kernel/releases' | grep 'Ubuntu_Kernel' | grep '_latest_bbr_' | head -n 1 | awk -F '"' '{print $4}' | awk -F '[/]' '{print $8}') 40 | github_ver=$(curl -s 'https://api.github.com/repos/ylx2016/kernel/releases' | grep ${github_tag} | grep 'deb' | grep 'headers' | awk -F '"' '{print $4}' | awk -F '[/]' '{print $9}' | awk -F '[-]' '{print $3}' | awk -F '[_]' '{print $1}') 41 | kernel_ver=$(curl -s https://www.kernel.org/ | grep ' > $GITHUB_ENV 93 | 94 | - name: Check space usage 95 | if: (!cancelled()) && steps.compile.outputs.status == 'success' 96 | run: df -hT 97 | 98 | - name: Upload 99 | uses: actions/upload-artifact@main 100 | if: steps.compile.outputs.status == 'success' && env.UPLOAD_DIR == 'true' 101 | with: 102 | name: ${{ env.FILE_DATE }} 103 | path: /workdir/upload 104 | 105 | - name: Upload to WeTransfer 106 | id: wetransfer 107 | if: steps.compile.outputs.status == 'success' && env.UPLOAD_WETRANSFER == 'true' && !cancelled() 108 | run: | 109 | curl -fsSL git.io/file-transfer | sh 110 | ./transfer wet -s -p 16 --no-progress /workdir/upload 2>&1 | tee wetransfer.log 111 | echo "::warning file=wetransfer.com::$(cat wetransfer.log | grep https)" 112 | echo '::set-output name=action_echo::enabled' 113 | echo "::set-output name=url::$(cat wetransfer.log | grep https | cut -f3 -d" ")" 114 | 115 | - name: Generate release tag 116 | id: tag 117 | if: env.UPLOAD_RELEASE == 'true' && steps.compile.outputs.status == 'success' && !cancelled() 118 | run: | 119 | kernel_ver=$(curl -s https://www.kernel.org/ | grep ' ' | head -n 1 | awk -F '"' '{print $2}' | awk -F '[-]' '{print $1}') 43 | echo "github_ver=" $github_ver 44 | echo "kernel_ver=" $kernel_ver 45 | if [[ $github_ver == *"$kernel_ver"* ]]; then 46 | echo "::set-output name=status::fail" 47 | else 48 | echo "::set-output name=status::success" 49 | fi 50 | 51 | - name: Get source code 52 | id: code 53 | if: steps.check.outputs.status == 'success' && (!cancelled()) 54 | working-directory: /workdir 55 | run: | 56 | df -hT $PWD 57 | xanmod_lts=$(curl -s https://sourceforge.net/projects/xanmod/files/releases/lts/ | grep 'class="folder ">' | head -n 1 | awk -F '"' '{print $2}') 58 | xanmod_lts_ver=$(curl -s https://sourceforge.net/projects/xanmod/files/releases/lts/ | grep 'class="folder ">' | head -n 1 | awk -F '"' '{print $2}' | awk -F '[-]' '{print $1}') 59 | kernel_file=https://github.com/xanmod/linux/archive/refs/tags/$xanmod_lts.zip 60 | wget $kernel_file && unzip $xanmod_lts.zip -d /workdir 61 | echo "::set-output name=status::success" 62 | 63 | - name: SSH connection to Actions 64 | uses: P3TERX/ssh2actions@v1.0.0 65 | if: (github.event.inputs.ssh == 'true' && github.event.inputs.ssh != 'false') || contains(github.event.action, 'ssh') 66 | env: 67 | TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }} 68 | TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }} 69 | 70 | - name: Compile the kernel 71 | id: compile 72 | if: steps.code.outputs.status == 'success' && (!cancelled()) 73 | working-directory: /workdir 74 | run: | 75 | xanmod_lts_ver=$(curl -s https://sourceforge.net/projects/xanmod/files/releases/lts/ | grep 'class="folder ">' | head -n 1 | awk -F '"' '{print $2}' | awk -F '[-]' '{print $1}') 76 | xanmod_lts=$(curl -s https://sourceforge.net/projects/xanmod/files/releases/lts/ | grep 'class="folder ">' | head -n 1 | awk -F '"' '{print $2}') 77 | cd linux-$xanmod_lts 78 | if [ -f "CONFIGS/xanmod/gcc/config" ]; then 79 | cp CONFIGS/xanmod/gcc/config .config 80 | fi 81 | sed -ri '/CONFIG_SYSTEM_TRUSTED_KEYS/s/=.+/=""/g' .config && scripts/config --disable MODULE_SIG && scripts/config --disable DEBUG_INFO 82 | scripts/config --disable MODULE_SIG 83 | scripts/config --disable DEBUG_INFO 84 | scripts/config --disable DEBUG_INFO_BTF 85 | scripts/config --disable DEBUG_INFO_DWARF4 86 | scripts/config --disable DEBUG_INFO_DWARF5 87 | scripts/config --disable DEBUG_INFO_NONE 88 | scripts/config --disable SYSTEM_TRUSTED_KEYS 89 | scripts/config --disable SYSTEM_REVOCATION_KEYS 90 | echo -e "$(nproc) thread compile" 91 | ln -s /opt/rh/devtoolset-9/root/usr/bin/* /usr/local/bin/ 92 | sudo time make -j$(nproc) rpm-pkg 93 | mv /root/rpmbuild/RPMS/x86_64/* /workdir/upload 94 | echo "::set-output name=status::success" 95 | echo "FILE_DATE=Kernel_Centos_${xanmod_lts}_$(date +"%Y%m%d%H%M")" >> $GITHUB_ENV 96 | 97 | - name: Check space usage 98 | if: (!cancelled()) 99 | run: df -hT 100 | 101 | - name: Upload 102 | uses: actions/upload-artifact@main 103 | if: steps.compile.outputs.status == 'success' && env.UPLOAD_DIR == 'true' 104 | with: 105 | name: ${{ env.FILE_DATE }} 106 | path: /workdir/upload 107 | 108 | - name: Upload to WeTransfer 109 | id: wetransfer 110 | if: steps.compile.outputs.status == 'success' && env.UPLOAD_WETRANSFER == 'true' && !cancelled() 111 | run: | 112 | curl -fsSL git.io/file-transfer | sh 113 | ./transfer wet -s -p 16 --no-progress /workdir/upload 2>&1 | tee wetransfer.log 114 | echo "::warning file=wetransfer.com::$(cat wetransfer.log | grep https)" 115 | echo "::set-output name=url::$(cat wetransfer.log | grep https | cut -f3 -d" ")" 116 | 117 | - name: Generate release tag 118 | id: tag 119 | if: env.UPLOAD_RELEASE == 'true' && steps.compile.outputs.status == 'success' && !cancelled() 120 | run: | 121 | xanmod_lts_ver=$(curl -s https://sourceforge.net/projects/xanmod/files/releases/lts/ | grep 'class="folder ">' | head -n 1 | awk -F '"' '{print $2}' | awk -F '[-]' '{print $1}') 122 | xanmod_lts=$(curl -s https://sourceforge.net/projects/xanmod/files/releases/lts/ | grep 'class="folder ">' | head -n 1 | awk -F '"' '{print $2}') 123 | echo "::set-output name=release_tag::Centos_Kernel_${xanmod_lts}_lts_latest_$(date +"%Y.%m.%d-%H%M")" 124 | touch release.txt 125 | echo "for centos 7" >> release.txt 126 | echo "::set-output name=status::success" 127 | 128 | - name: Upload kernel to release 129 | uses: softprops/action-gh-release@v1 130 | if: steps.tag.outputs.status == 'success' && !cancelled() 131 | env: 132 | GITHUB_TOKEN: ${{ secrets.TOKEN }} 133 | with: 134 | tag_name: ${{ steps.tag.outputs.release_tag }} 135 | body_path: release.txt 136 | files: /workdir/upload/* 137 | -------------------------------------------------------------------------------- /.github/workflows/Centos_kernel_latest_xanmod_cacule_C8.yml.old: -------------------------------------------------------------------------------- 1 | # 2 | # This is free software, licensed under the MIT License. 3 | # See /LICENSE for more information. 4 | # 5 | # Description: Build Kernel using GitHub Actions 6 | # Change from P3TERX 7 | # 8 | 9 | name: Centos Kernel latest XANMOD cacule C8 10 | 11 | on: 12 | workflow_dispatch: 13 | #inputs: 14 | # ssh: 15 | # description: 'SSH connection to Actions' 16 | # required: false 17 | # default: 'false' 18 | #schedule: 19 | #- cron: "38 20 * * 3,6" 20 | 21 | env: 22 | UPLOAD_DIR: true 23 | UPLOAD_RELEASE: true 24 | UPLOAD_WETRANSFER: true 25 | TZ: Asia/Shanghai 26 | 27 | jobs: 28 | build: 29 | runs-on: ubuntu-latest 30 | container: docker.io/qctt/kernelbuild:centos8 31 | 32 | steps: 33 | - name: Checkout 34 | uses: actions/checkout@main 35 | 36 | - name: Initialization environment 37 | env: 38 | DEBIAN_FRONTEND: noninteractive 39 | run: | 40 | mkdir /workdir/upload 41 | sudo chown $USER:$GROUPS /workdir 42 | sudo chown $USER:$GROUPS /workdir/upload 43 | 44 | - name: Check for updates 45 | id: check 46 | run: | 47 | github_tag=$(curl -s 'https://api.github.com/repos/ylx2016/kernel/releases' | grep 'Centos_Kernel' | grep '_cacule_C8_latest_' | grep 'xanmod' | head -n 1 | awk -F '"' '{print $4}' | awk -F '[/]' '{print $8}') 48 | github_ver=$(curl -s 'https://api.github.com/repos/ylx2016/kernel/releases' | grep ${github_tag} | grep 'rpm' | grep 'headers' | awk -F '"' '{print $4}' | awk -F '[/]' '{print $9}' | awk -F '[-]' '{print $3}' | awk -F '[_]' '{print $1}') 49 | kernel_ver=$(curl -s https://sourceforge.net/projects/xanmod/files/releases/cacule/ | grep 'class="folder ">' | head -n 1 | awk -F '"' '{print $2}' | awk -F '[-]' '{print $1}' | awk -F '[-]' '{print $1}') 50 | echo "github_ver=" $github_ver 51 | echo "kernel_ver=" $kernel_ver 52 | if [[ $github_ver == *"$kernel_ver"* ]]; then 53 | echo "::set-output name=status::fail" 54 | else 55 | echo "::set-output name=status::success" 56 | fi 57 | 58 | - name: Get source code 59 | id: code 60 | if: steps.check.outputs.status == 'success' && (!cancelled()) 61 | working-directory: /workdir 62 | run: | 63 | df -hT $PWD 64 | xanmod_cacule=$(curl -s https://sourceforge.net/projects/xanmod/files/releases/cacule/ | grep 'class="folder ">' | head -n 1 | awk -F '"' '{print $2}') 65 | xanmod_cacule_ver=$(curl -s https://sourceforge.net/projects/xanmod/files/releases/cacule/ | grep 'class="folder ">' | head -n 1 | awk -F '"' '{print $2}' | awk -F '[-]' '{print $1}') 66 | kernel_file=https://github.com/xanmod/linux/archive/refs/tags/$xanmod_cacule.zip 67 | wget $kernel_file && unzip $xanmod_cacule.zip -d /workdir 68 | echo "::set-output name=status::success" 69 | 70 | - name: SSH connection to Actions 71 | uses: P3TERX/ssh2actions@v1.0.0 72 | if: (github.event.inputs.ssh == 'true' && github.event.inputs.ssh != 'false') || contains(github.event.action, 'ssh') 73 | env: 74 | TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }} 75 | TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }} 76 | 77 | - name: Compile the kernel 78 | id: compile 79 | if: steps.code.outputs.status == 'success' && (!cancelled()) 80 | working-directory: /workdir 81 | run: | 82 | xanmod_cacule_ver=$(curl -s https://sourceforge.net/projects/xanmod/files/releases/cacule/ | grep 'class="folder ">' | head -n 1 | awk -F '"' '{print $2}' | awk -F '[-]' '{print $1}') 83 | xanmod_cacule=$(curl -s https://sourceforge.net/projects/xanmod/files/releases/cacule/ | grep 'class="folder ">' | head -n 1 | awk -F '"' '{print $2}') 84 | cd linux-$xanmod_cacule 85 | if [ -f "CONFIGS/xanmod/gcc/config" ]; then 86 | cp CONFIGS/xanmod/gcc/config .config 87 | fi 88 | sed -ri '/CONFIG_SYSTEM_TRUSTED_KEYS/s/=.+/=""/g' .config && scripts/config --disable MODULE_SIG && scripts/config --disable DEBUG_INFO 89 | sed -ri '/CONFIG_TLS/s/=.+/=y/g' .config 90 | sed -ri '/CONFIG_TLS_DEVICE/s/=.+/=y/g' .config 91 | sed -ri '/CONFIG_MPTCP*/c\CONFIG_MPTCP=y' .config 92 | echo -e "$(nproc) thread compile" 93 | sudo time make -j$(nproc) rpm-pkg 94 | mv /root/rpmbuild/RPMS/x86_64/* /workdir/upload 95 | echo "::set-output name=status::success" 96 | echo "FILE_DATE=Kernel_Centos_${xanmod_cacule}_$(date +"%Y%m%d%H%M")" >> $GITHUB_ENV 97 | 98 | - name: Check space usage 99 | if: (!cancelled()) 100 | run: df -hT 101 | 102 | - name: Upload 103 | uses: actions/upload-artifact@main 104 | if: steps.compile.outputs.status == 'success' && env.UPLOAD_DIR == 'true' 105 | with: 106 | name: ${{ env.FILE_DATE }} 107 | path: /workdir/upload 108 | 109 | - name: Upload to WeTransfer 110 | id: wetransfer 111 | if: steps.compile.outputs.status == 'success' && env.UPLOAD_WETRANSFER == 'true' && !cancelled() 112 | run: | 113 | curl -fsSL git.io/file-transfer | sh 114 | ./transfer wet -s -p 16 --no-progress /workdir/upload 2>&1 | tee wetransfer.log 115 | echo "::warning file=wetransfer.com::$(cat wetransfer.log | grep https)" 116 | echo "::set-output name=url::$(cat wetransfer.log | grep https | cut -f3 -d" ")" 117 | 118 | - name: Generate release tag 119 | id: tag 120 | if: env.UPLOAD_RELEASE == 'true' && steps.compile.outputs.status == 'success' && !cancelled() 121 | run: | 122 | xanmod_cacule_ver=$(curl -s https://sourceforge.net/projects/xanmod/files/releases/cacule/ | grep 'class="folder ">' | head -n 1 | awk -F '"' '{print $2}' | awk -F '[-]' '{print $1}') 123 | xanmod_cacule=$(curl -s https://sourceforge.net/projects/xanmod/files/releases/cacule/ | grep 'class="folder ">' | head -n 1 | awk -F '"' '{print $2}') 124 | echo "::set-output name=release_tag::Centos_Kernel_${xanmod_cacule}_cacule_C8_latest_$(date +"%Y.%m.%d-%H%M")" 125 | touch release.txt 126 | echo "for centos 8" >> release.txt 127 | echo "::set-output name=status::success" 128 | 129 | - name: Upload kernel to release 130 | uses: softprops/action-gh-release@v1 131 | if: steps.tag.outputs.status == 'success' && !cancelled() 132 | env: 133 | GITHUB_TOKEN: ${{ secrets.TOKEN }} 134 | with: 135 | tag_name: ${{ steps.tag.outputs.release_tag }} 136 | body_path: release.txt 137 | files: /workdir/upload/* 138 | -------------------------------------------------------------------------------- /.github/workflows/Centos_kernel_latest_xanmod_stable_C8.yml.old: -------------------------------------------------------------------------------- 1 | # 2 | # This is free software, licensed under the MIT License. 3 | # See /LICENSE for more information. 4 | # 5 | # Description: Build Kernel using GitHub Actions 6 | # Change from P3TERX 7 | # 8 | 9 | name: Centos Kernel latest XANMOD STABLE C8 10 | 11 | on: 12 | workflow_dispatch: 13 | #inputs: 14 | # ssh: 15 | # description: 'SSH connection to Actions' 16 | # required: false 17 | # default: 'false' 18 | #schedule: 19 | #- cron: "38 20 * * 3,6" 20 | 21 | env: 22 | UPLOAD_DIR: true 23 | UPLOAD_RELEASE: true 24 | UPLOAD_WETRANSFER: true 25 | TZ: Asia/Shanghai 26 | 27 | jobs: 28 | build: 29 | runs-on: ubuntu-latest 30 | container: docker.io/qctt/kernelbuild:centos8 31 | 32 | steps: 33 | - name: Checkout 34 | uses: actions/checkout@main 35 | 36 | - name: Initialization environment 37 | env: 38 | DEBIAN_FRONTEND: noninteractive 39 | run: | 40 | mkdir /workdir/upload 41 | sudo chown $USER:$GROUPS /workdir 42 | sudo chown $USER:$GROUPS /workdir/upload 43 | 44 | - name: Check for updates 45 | id: check 46 | run: | 47 | github_tag=$(curl -s 'https://api.github.com/repos/ylx2016/kernel/releases' | grep 'Centos_Kernel' | grep '_stable_C8_latest_' | grep 'xanmod' | head -n 1 | awk -F '"' '{print $4}' | awk -F '[/]' '{print $8}') 48 | github_ver=$(curl -s 'https://api.github.com/repos/ylx2016/kernel/releases' | grep ${github_tag} | grep 'rpm' | grep 'headers' | awk -F '"' '{print $4}' | awk -F '[/]' '{print $9}' | awk -F '[-]' '{print $3}' | awk -F '[_]' '{print $1}') 49 | kernel_ver=$(curl -s https://sourceforge.net/projects/xanmod/files/releases/stable/ | grep 'class="folder ">' | head -n 1 | awk -F '"' '{print $2}' | awk -F '[-]' '{print $1}' | awk -F '[-]' '{print $1}') 50 | echo "github_ver=" $github_ver 51 | echo "kernel_ver=" $kernel_ver 52 | if [[ $github_ver == *"$kernel_ver"* ]]; then 53 | echo "::set-output name=status::fail" 54 | else 55 | echo "::set-output name=status::success" 56 | fi 57 | 58 | - name: Get source code 59 | id: code 60 | if: steps.check.outputs.status == 'success' && (!cancelled()) 61 | working-directory: /workdir 62 | run: | 63 | df -hT $PWD 64 | xanmod_cacule=$(curl -s https://sourceforge.net/projects/xanmod/files/releases/stable/ | grep 'class="folder ">' | head -n 1 | awk -F '"' '{print $2}') 65 | xanmod_cacule_ver=$(curl -s https://sourceforge.net/projects/xanmod/files/releases/stable/ | grep 'class="folder ">' | head -n 1 | awk -F '"' '{print $2}' | awk -F '[-]' '{print $1}') 66 | kernel_file=https://github.com/xanmod/linux/archive/refs/tags/$xanmod_cacule.zip 67 | wget $kernel_file && unzip $xanmod_cacule.zip -d /workdir 68 | echo "::set-output name=status::success" 69 | 70 | 71 | - name: SSH connection to Actions 72 | uses: P3TERX/ssh2actions@v1.0.0 73 | if: (github.event.inputs.ssh == 'true' && github.event.inputs.ssh != 'false') || contains(github.event.action, 'ssh') 74 | env: 75 | TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }} 76 | TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }} 77 | 78 | - name: Compile the kernel 79 | id: compile 80 | if: steps.code.outputs.status == 'success' && (!cancelled()) 81 | working-directory: /workdir 82 | run: | 83 | xanmod_cacule_ver=$(curl -s https://sourceforge.net/projects/xanmod/files/releases/stable/ | grep 'class="folder ">' | head -n 1 | awk -F '"' '{print $2}' | awk -F '[-]' '{print $1}') 84 | xanmod_cacule=$(curl -s https://sourceforge.net/projects/xanmod/files/releases/stable/ | grep 'class="folder ">' | head -n 1 | awk -F '"' '{print $2}') 85 | cd linux-$xanmod_cacule 86 | if [ -f "CONFIGS/xanmod/gcc/config" ]; then 87 | cp CONFIGS/xanmod/gcc/config .config 88 | fi 89 | sed -ri '/CONFIG_SYSTEM_TRUSTED_KEYS/s/=.+/=""/g' .config && scripts/config --disable MODULE_SIG && scripts/config --disable DEBUG_INFO 90 | sed -ri '/CONFIG_TLS/s/=.+/=y/g' .config 91 | sed -ri '/CONFIG_TLS_DEVICE/s/=.+/=y/g' .config 92 | sed -ri '/CONFIG_MPTCP*/c\CONFIG_MPTCP=y' .config 93 | echo -e "$(nproc) thread compile" 94 | sudo time make -j$(nproc) rpm-pkg 95 | mv /root/rpmbuild/RPMS/x86_64/* /workdir/upload 96 | echo "::set-output name=status::success" 97 | echo "FILE_DATE=Kernel_Centos_${xanmod_cacule}_$(date +"%Y%m%d%H%M")" >> $GITHUB_ENV 98 | 99 | - name: Check space usage 100 | if: (!cancelled()) 101 | run: df -hT 102 | 103 | - name: Upload 104 | uses: actions/upload-artifact@main 105 | if: steps.compile.outputs.status == 'success' && env.UPLOAD_DIR == 'true' 106 | with: 107 | name: ${{ env.FILE_DATE }} 108 | path: /workdir/upload 109 | 110 | - name: Upload to WeTransfer 111 | id: wetransfer 112 | if: steps.compile.outputs.status == 'success' && env.UPLOAD_WETRANSFER == 'true' && !cancelled() 113 | run: | 114 | curl -fsSL git.io/file-transfer | sh 115 | ./transfer wet -s -p 16 --no-progress /workdir/upload 2>&1 | tee wetransfer.log 116 | echo "::warning file=wetransfer.com::$(cat wetransfer.log | grep https)" 117 | echo "::set-output name=url::$(cat wetransfer.log | grep https | cut -f3 -d" ")" 118 | 119 | - name: Generate release tag 120 | id: tag 121 | if: env.UPLOAD_RELEASE == 'true' && steps.compile.outputs.status == 'success' && !cancelled() 122 | run: | 123 | xanmod_cacule_ver=$(curl -s https://sourceforge.net/projects/xanmod/files/releases/stable/ | grep 'class="folder ">' | head -n 1 | awk -F '"' '{print $2}' | awk -F '[-]' '{print $1}') 124 | xanmod_cacule=$(curl -s https://sourceforge.net/projects/xanmod/files/releases/stable/ | grep 'class="folder ">' | head -n 1 | awk -F '"' '{print $2}') 125 | echo "::set-output name=release_tag::Centos_Kernel_${xanmod_cacule}_stable_C8_latest_$(date +"%Y.%m.%d-%H%M")" 126 | touch release.txt 127 | echo "for centos 8" >> release.txt 128 | echo "::set-output name=status::success" 129 | 130 | - name: Upload kernel to release 131 | uses: softprops/action-gh-release@v1 132 | if: steps.tag.outputs.status == 'success' && !cancelled() 133 | env: 134 | GITHUB_TOKEN: ${{ secrets.TOKEN }} 135 | with: 136 | tag_name: ${{ steps.tag.outputs.release_tag }} 137 | body_path: release.txt 138 | files: /workdir/upload/* 139 | -------------------------------------------------------------------------------- /.github/workflows/Centos_kernel_latest_xanmod_stable_gcc9.yml.old: -------------------------------------------------------------------------------- 1 | # 2 | # This is free software, licensed under the MIT License. 3 | # See /LICENSE for more information. 4 | # 5 | # Description: Build Kernel using GitHub Actions 6 | # Change from P3TERX 7 | # 8 | 9 | name: Centos Kernel latest XANMOD STABLE GCC9 10 | 11 | on: 12 | workflow_dispatch: 13 | #schedule: 14 | # - cron: "0 21 * * *" 15 | # inputs: 16 | # ssh: 17 | # description: 'SSH connection to Actions' 18 | # required: false 19 | # default: 'false' 20 | 21 | env: 22 | UPLOAD_DIR: true 23 | UPLOAD_RELEASE: true 24 | UPLOAD_WETRANSFER: true 25 | TZ: Asia/Shanghai 26 | 27 | jobs: 28 | build: 29 | runs-on: ubuntu-latest 30 | container: docker.io/qctt/kernelbuild:centos7 31 | 32 | steps: 33 | - name: Checkout 34 | uses: actions/checkout@main 35 | 36 | - name: Initialization environment 37 | env: 38 | DEBIAN_FRONTEND: noninteractive 39 | run: | 40 | mkdir /workdir/upload 41 | sudo chown $USER:$GROUPS /workdir 42 | sudo chown $USER:$GROUPS /workdir/upload 43 | 44 | - name: Check for updates 45 | id: check 46 | run: | 47 | github_tag=$(curl -s 'https://api.github.com/repos/ylx2016/kernel/releases' | grep 'Centos_Kernel' | grep '_stable_latest_' | grep 'xanmod' | head -n 1 | awk -F '"' '{print $4}' | awk -F '[/]' '{print $8}') 48 | github_ver=$(curl -s 'https://api.github.com/repos/ylx2016/kernel/releases' | grep ${github_tag} | grep 'rpm' | grep 'headers' | awk -F '"' '{print $4}' | awk -F '[/]' '{print $9}' | awk -F '[-]' '{print $3}' | awk -F '[_]' '{print $1}') 49 | kernel_ver=$(curl -s https://sourceforge.net/projects/xanmod/files/releases/stable/ | grep 'class="folder ">' | head -n 1 | awk -F '"' '{print $2}' | awk -F '[-]' '{print $1}' | awk -F '[-]' '{print $1}') 50 | echo "github_ver=" $github_ver 51 | echo "kernel_ver=" $kernel_ver 52 | if [[ $github_ver == *"$kernel_ver"* ]]; then 53 | echo "::set-output name=status::fail" 54 | else 55 | echo "::set-output name=status::success" 56 | fi 57 | 58 | - name: Get source code 59 | id: code 60 | if: steps.check.outputs.status == 'success' && (!cancelled()) 61 | working-directory: /workdir 62 | run: | 63 | df -hT $PWD 64 | xanmod_stable=$(curl -s https://sourceforge.net/projects/xanmod/files/releases/stable/ | grep 'class="folder ">' | head -n 1 | awk -F '"' '{print $2}') 65 | xanmod_stable_ver=$(curl -s https://sourceforge.net/projects/xanmod/files/releases/stable/ | grep 'class="folder ">' | head -n 1 | awk -F '"' '{print $2}' | awk -F '[-]' '{print $1}') 66 | kernel_file=https://github.com/xanmod/linux/archive/refs/tags/$xanmod_stable.zip 67 | wget $kernel_file && unzip $xanmod_stable.zip -d /workdir 68 | echo "::set-output name=status::success" 69 | 70 | - name: SSH connection to Actions 71 | uses: P3TERX/ssh2actions@v1.0.0 72 | if: (github.event.inputs.ssh == 'true' && github.event.inputs.ssh != 'false') || contains(github.event.action, 'ssh') 73 | env: 74 | TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }} 75 | TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }} 76 | 77 | - name: Compile the kernel 78 | id: compile 79 | if: steps.code.outputs.status == 'success' && (!cancelled()) 80 | working-directory: /workdir 81 | run: | 82 | xanmod_stable_ver=$(curl -s https://sourceforge.net/projects/xanmod/files/releases/stable/ | grep 'class="folder ">' | head -n 1 | awk -F '"' '{print $2}' | awk -F '[-]' '{print $1}') 83 | xanmod_stable=$(curl -s https://sourceforge.net/projects/xanmod/files/releases/stable/ | grep 'class="folder ">' | head -n 1 | awk -F '"' '{print $2}') 84 | cd linux-$xanmod_stable 85 | if [ -f "CONFIGS/xanmod/gcc/config" ]; then 86 | cp CONFIGS/xanmod/gcc/config .config 87 | fi 88 | sed -ri '/CONFIG_SYSTEM_TRUSTED_KEYS/s/=.+/=""/g' .config && scripts/config --disable MODULE_SIG && scripts/config --disable DEBUG_INFO 89 | sed -ri '/CONFIG_TLS/s/=.+/=y/g' .config 90 | sed -ri '/CONFIG_TLS_DEVICE/s/=.+/=y/g' .config 91 | sed -ri '/CONFIG_MPTCP*/c\CONFIG_MPTCP=y' .config 92 | echo -e "$(nproc) thread compile" 93 | ln -s /opt/rh/devtoolset-9/root/usr/bin/* /usr/local/bin/ 94 | sudo time make -j$(nproc) rpm-pkg 95 | mv /root/rpmbuild/RPMS/x86_64/* /workdir/upload 96 | echo "::set-output name=status::success" 97 | echo "FILE_DATE=Kernel_Centos_${xanmod_stable}_$(date +"%Y%m%d%H%M")" >> $GITHUB_ENV 98 | 99 | - name: Check space usage 100 | if: (!cancelled()) 101 | run: df -hT 102 | 103 | - name: Upload 104 | uses: actions/upload-artifact@main 105 | if: steps.compile.outputs.status == 'success' && env.UPLOAD_DIR == 'true' 106 | with: 107 | name: ${{ env.FILE_DATE }} 108 | path: /workdir/upload 109 | 110 | - name: Upload to WeTransfer 111 | id: wetransfer 112 | if: steps.compile.outputs.status == 'success' && env.UPLOAD_WETRANSFER == 'true' && !cancelled() 113 | run: | 114 | curl -fsSL git.io/file-transfer | sh 115 | ./transfer wet -s -p 16 --no-progress /workdir/upload 2>&1 | tee wetransfer.log 116 | echo "::warning file=wetransfer.com::$(cat wetransfer.log | grep https)" 117 | echo "::set-output name=url::$(cat wetransfer.log | grep https | cut -f3 -d" ")" 118 | 119 | - name: Generate release tag 120 | id: tag 121 | if: env.UPLOAD_RELEASE == 'true' && steps.compile.outputs.status == 'success' && !cancelled() 122 | run: | 123 | xanmod_stable_ver=$(curl -s https://sourceforge.net/projects/xanmod/files/releases/stable/ | grep 'class="folder ">' | head -n 1 | awk -F '"' '{print $2}' | awk -F '[-]' '{print $1}') 124 | xanmod_stable=$(curl -s https://sourceforge.net/projects/xanmod/files/releases/stable/ | grep 'class="folder ">' | head -n 1 | awk -F '"' '{print $2}') 125 | echo "::set-output name=release_tag::Centos_Kernel_${xanmod_stable}_stable_latest_$(date +"%Y.%m.%d-%H%M")" 126 | touch release.txt 127 | echo "for centos 7" >> release.txt 128 | echo "::set-output name=status::success" 129 | 130 | - name: Upload kernel to release 131 | uses: softprops/action-gh-release@v1 132 | if: steps.tag.outputs.status == 'success' && !cancelled() 133 | env: 134 | GITHUB_TOKEN: ${{ secrets.TOKEN }} 135 | with: 136 | tag_name: ${{ steps.tag.outputs.release_tag }} 137 | body_path: release.txt 138 | files: /workdir/upload/* 139 | -------------------------------------------------------------------------------- /.github/workflows/Centos_kernel_latest_xanmod_cacule_gcc9.yml.old: -------------------------------------------------------------------------------- 1 | # 2 | # This is free software, licensed under the MIT License. 3 | # See /LICENSE for more information. 4 | # 5 | # Description: Build Kernel using GitHub Actions 6 | # Change from P3TERX 7 | # 8 | 9 | name: Centos Kernel latest XANMOD cacule GCC9 10 | 11 | on: 12 | workflow_dispatch: 13 | #schedule: 14 | #- cron: "30 20 * * 1,5" 15 | # inputs: 16 | # ssh: 17 | # description: 'SSH connection to Actions' 18 | # required: false 19 | # default: 'false' 20 | 21 | env: 22 | UPLOAD_DIR: true 23 | UPLOAD_RELEASE: true 24 | UPLOAD_WETRANSFER: true 25 | TZ: Asia/Shanghai 26 | 27 | jobs: 28 | build: 29 | runs-on: ubuntu-latest 30 | container: docker.io/qctt/kernelbuild:centos7 31 | 32 | steps: 33 | - name: Checkout 34 | uses: actions/checkout@main 35 | 36 | - name: Initialization environment 37 | env: 38 | DEBIAN_FRONTEND: noninteractive 39 | run: | 40 | mkdir /workdir/upload 41 | sudo chown $USER:$GROUPS /workdir 42 | sudo chown $USER:$GROUPS /workdir/upload 43 | 44 | - name: Check for updates 45 | id: check 46 | run: | 47 | github_tag=$(curl -s 'https://api.github.com/repos/ylx2016/kernel/releases' | grep 'Centos_Kernel' | grep '_cacule_latest_' | grep 'xanmod' | head -n 1 | awk -F '"' '{print $4}' | awk -F '[/]' '{print $8}') 48 | github_ver=$(curl -s 'https://api.github.com/repos/ylx2016/kernel/releases' | grep ${github_tag} | grep 'rpm' | grep 'headers' | awk -F '"' '{print $4}' | awk -F '[/]' '{print $9}' | awk -F '[-]' '{print $3}' | awk -F '[_]' '{print $1}') 49 | kernel_ver=$(curl -s https://sourceforge.net/projects/xanmod/files/releases/cacule/ | grep 'class="folder ">' | head -n 1 | awk -F '"' '{print $2}' | awk -F '[-]' '{print $1}' | awk -F '[-]' '{print $1}') 50 | echo "github_ver=" $github_ver 51 | echo "kernel_ver=" $kernel_ver 52 | if [[ $github_ver == *"$kernel_ver"* ]]; then 53 | echo "::set-output name=status::fail" 54 | else 55 | echo "::set-output name=status::success" 56 | fi 57 | 58 | - name: Get source code 59 | id: code 60 | if: steps.check.outputs.status == 'success' && (!cancelled()) 61 | working-directory: /workdir 62 | run: | 63 | df -hT $PWD 64 | xanmod_cacule=$(curl -s https://sourceforge.net/projects/xanmod/files/releases/cacule/ | grep 'class="folder ">' | head -n 1 | awk -F '"' '{print $2}') 65 | xanmod_cacule_ver=$(curl -s https://sourceforge.net/projects/xanmod/files/releases/cacule/ | grep 'class="folder ">' | head -n 1 | awk -F '"' '{print $2}' | awk -F '[-]' '{print $1}') 66 | kernel_file=https://github.com/xanmod/linux/archive/refs/tags/$xanmod_cacule.zip 67 | wget $kernel_file && unzip $xanmod_cacule.zip -d /workdir 68 | echo "::set-output name=status::success" 69 | 70 | - name: SSH connection to Actions 71 | uses: P3TERX/ssh2actions@v1.0.0 72 | if: (github.event.inputs.ssh == 'true' && github.event.inputs.ssh != 'false') || contains(github.event.action, 'ssh') 73 | env: 74 | TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }} 75 | TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }} 76 | 77 | - name: Compile the kernel 78 | id: compile 79 | if: steps.code.outputs.status == 'success' && (!cancelled()) 80 | working-directory: /workdir 81 | run: | 82 | xanmod_cacule_ver=$(curl -s https://sourceforge.net/projects/xanmod/files/releases/cacule/ | grep 'class="folder ">' | head -n 1 | awk -F '"' '{print $2}' | awk -F '[-]' '{print $1}') 83 | xanmod_cacule=$(curl -s https://sourceforge.net/projects/xanmod/files/releases/cacule/ | grep 'class="folder ">' | head -n 1 | awk -F '"' '{print $2}') 84 | cd linux-$xanmod_cacule 85 | if [ -f "CONFIGS/xanmod/gcc/config" ]; then 86 | cp CONFIGS/xanmod/gcc/config .config 87 | fi 88 | sed -ri '/CONFIG_SYSTEM_TRUSTED_KEYS/s/=.+/=""/g' .config && scripts/config --disable MODULE_SIG && scripts/config --disable DEBUG_INFO 89 | sed -ri '/CONFIG_TLS/s/=.+/=y/g' .config 90 | sed -ri '/CONFIG_TLS_DEVICE/s/=.+/=y/g' .config 91 | sed -ri '/CONFIG_MPTCP*/c\CONFIG_MPTCP=y' .config 92 | echo -e "$(nproc) thread compile" 93 | ln -s /opt/rh/devtoolset-9/root/usr/bin/* /usr/local/bin/ 94 | sudo time make -j$(nproc) rpm-pkg 95 | mv /root/rpmbuild/RPMS/x86_64/* /workdir/upload 96 | echo "::set-output name=status::success" 97 | echo "FILE_DATE=Kernel_Centos_${xanmod_cacule}_$(date +"%Y%m%d%H%M")" >> $GITHUB_ENV 98 | 99 | - name: Check space usage 100 | if: (!cancelled()) 101 | run: df -hT 102 | 103 | - name: Upload 104 | uses: actions/upload-artifact@main 105 | if: steps.compile.outputs.status == 'success' && env.UPLOAD_DIR == 'true' 106 | with: 107 | name: ${{ env.FILE_DATE }} 108 | path: /workdir/upload 109 | 110 | - name: Upload to WeTransfer 111 | id: wetransfer 112 | if: steps.compile.outputs.status == 'success' && env.UPLOAD_WETRANSFER == 'true' && !cancelled() 113 | run: | 114 | curl -fsSL git.io/file-transfer | sh 115 | ./transfer wet -s -p 16 --no-progress /workdir/upload 2>&1 | tee wetransfer.log 116 | echo "::warning file=wetransfer.com::$(cat wetransfer.log | grep https)" 117 | echo "::set-output name=url::$(cat wetransfer.log | grep https | cut -f3 -d" ")" 118 | 119 | - name: Generate release tag 120 | id: tag 121 | if: env.UPLOAD_RELEASE == 'true' && steps.compile.outputs.status == 'success' && !cancelled() 122 | run: | 123 | xanmod_cacule_ver=$(curl -s https://sourceforge.net/projects/xanmod/files/releases/cacule/ | grep 'class="folder ">' | head -n 1 | awk -F '"' '{print $2}' | awk -F '[-]' '{print $1}') 124 | xanmod_cacule=$(curl -s https://sourceforge.net/projects/xanmod/files/releases/cacule/ | grep 'class="folder ">' | head -n 1 | awk -F '"' '{print $2}') 125 | echo "::set-output name=release_tag::Centos_Kernel_${xanmod_cacule}_cacule_latest_$(date +"%Y.%m.%d-%H%M")" 126 | touch release.txt 127 | echo "for centos 7" >> release.txt 128 | echo "::set-output name=status::success" 129 | 130 | - name: Upload kernel to release 131 | uses: softprops/action-gh-release@v1 132 | if: steps.tag.outputs.status == 'success' && !cancelled() 133 | env: 134 | GITHUB_TOKEN: ${{ secrets.TOKEN }} 135 | with: 136 | tag_name: ${{ steps.tag.outputs.release_tag }} 137 | body_path: release.txt 138 | files: /workdir/upload/* 139 | -------------------------------------------------------------------------------- /.github/workflows/Ubuntu_kernel_latest_xanmod_lts.yml.old: -------------------------------------------------------------------------------- 1 | # 2 | # This is free software, licensed under the MIT License. 3 | # See /LICENSE for more information. 4 | # 5 | # Description: Build Kernel using GitHub Actions 6 | # Change from P3TERX 7 | # 8 | 9 | name: Ubuntu Kernel latest XANMOD LTS 10 | 11 | on: 12 | workflow_dispatch: 13 | #schedule: 14 | #- cron: "36 20 * * 1,4" 15 | # inputs: 16 | # ssh: 17 | # description: 'SSH connection to Actions' 18 | # required: false 19 | # default: 'false' 20 | 21 | env: 22 | UPLOAD_DIR: true 23 | UPLOAD_RELEASE: true 24 | UPLOAD_WETRANSFER: false 25 | WEBSSH: false 26 | TZ: Asia/Shanghai 27 | 28 | jobs: 29 | build: 30 | runs-on: ubuntu-latest 31 | container: docker.io/qctt/kernelbuild:ubuntu20.04 32 | 33 | steps: 34 | - name: Checkout 35 | uses: actions/checkout@main 36 | 37 | - name: Initialization environment 38 | env: 39 | DEBIAN_FRONTEND: noninteractive 40 | run: | 41 | apt update 42 | apt-get install libfuse-dev libarchive-dev xfsprogs jq -y 43 | #apt-get install btrfs-tools -y 44 | apt install btrfs-progs pip python -y 45 | pip install yamlish junit_xml 46 | #mkdir /github 47 | #mkdir /github/home/ 48 | mkdir /github/home/.ssh/ 49 | sudo chown $USER:$GROUPS /workdir 50 | sudo chown $USER:$GROUPS /workdir/upload 51 | 52 | - name: Check for updates 53 | id: check 54 | run: | 55 | github_tag=$(curl -s 'https://api.github.com/repos/ylx2016/kernel/releases' | grep 'Centos_Kernel' | grep '_lts_latest_' | grep 'xanmod' | head -n 1 | awk -F '"' '{print $4}' | awk -F '[/]' '{print $8}') 56 | github_ver=$(curl -s 'https://api.github.com/repos/ylx2016/kernel/releases' | grep ${github_tag} | grep 'rpm' | grep 'headers' | awk -F '"' '{print $4}' | awk -F '[/]' '{print $9}' | awk -F '[-]' '{print $3}' | awk -F '[_]' '{print $1}') 57 | kernel_ver=$(curl -s https://sourceforge.net/projects/xanmod/files/releases/lts/ | grep 'class="folder ">' | head -n 1 | awk -F '"' '{print $2}' | awk -F '[-]' '{print $1}') 58 | echo "github_ver=" $github_ver 59 | echo "kernel_ver=" $kernel_ver 60 | if [[ $github_ver == *"$kernel_ver"* ]]; then 61 | echo "::set-output name=status::fail" 62 | else 63 | echo "::set-output name=status::success" 64 | fi 65 | 66 | - name: Get source code 67 | id: code 68 | if: steps.check.outputs.status == 'success' && (!cancelled()) 69 | working-directory: /workdir 70 | run: | 71 | df -hT $PWD 72 | xanmod_lts=$(curl -s https://sourceforge.net/projects/xanmod/files/releases/lts/ | grep 'class="folder ">' | head -n 1 | awk -F '"' '{print $2}') 73 | xanmod_lts_ver=$(curl -s https://sourceforge.net/projects/xanmod/files/releases/lts/ | grep 'class="folder ">' | head -n 1 | awk -F '"' '{print $2}' | awk -F '[-]' '{print $1}') 74 | kernel_file=https://github.com/xanmod/linux/archive/refs/tags/$xanmod_lts.zip 75 | wget $kernel_file && unzip $xanmod_lts.zip -d /workdir 76 | echo "::set-output name=status::success" 77 | 78 | - name: SSH connection to Actions 79 | uses: P3TERX/ssh2actions@v1.0.0 80 | if: env.WEBSSH == 'true' 81 | env: 82 | TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }} 83 | TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }} 84 | 85 | - name: Compile the kernel 86 | id: compile 87 | if: steps.code.outputs.status == 'success' 88 | working-directory: /workdir 89 | run: | 90 | xanmod_lts_ver=$(curl -s https://sourceforge.net/projects/xanmod/files/releases/lts/ | grep 'class="folder ">' | head -n 1 | awk -F '"' '{print $2}' | awk -F '[-]' '{print $1}') 91 | xanmod_lts=$(curl -s https://sourceforge.net/projects/xanmod/files/releases/lts/ | grep 'class="folder ">' | head -n 1 | awk -F '"' '{print $2}') 92 | cd linux-$xanmod_lts 93 | if [ -f "CONFIGS/xanmod/gcc/config" ]; then 94 | cp CONFIGS/xanmod/gcc/config .config 95 | fi 96 | sed -ri '/CONFIG_SYSTEM_TRUSTED_KEYS/s/=.+/=""/g' .config && scripts/config --disable MODULE_SIG && scripts/config --disable DEBUG_INFO 97 | sed -ri '/CONFIG_TLS/s/=.+/=y/g' .config 98 | sed -ri '/CONFIG_TLS_DEVICE/s/=.+/=y/g' .config 99 | sed -ri '/CONFIG_MPTCP*/c\CONFIG_MPTCP=m' .config 100 | echo -e "$(nproc) thread compile" 101 | sudo time make -j$(nproc) deb-pkg 102 | cd /workdir && mv *.deb /workdir/upload 103 | echo "::set-output name=status::success" 104 | echo "FILE_DATE=Kernel_Ubuntu_${xanmod_lts}_$(date +"%Y%m%d%H%M")" >> $GITHUB_ENV 105 | 106 | - name: Check space usage 107 | if: (!cancelled()) && steps.compile.outputs.status == 'success' 108 | run: df -hT 109 | 110 | - name: Upload 111 | uses: actions/upload-artifact@main 112 | if: steps.compile.outputs.status == 'success' && env.UPLOAD_DIR == 'true' 113 | with: 114 | name: ${{ env.FILE_DATE }} 115 | path: /workdir/upload 116 | 117 | - name: Upload to WeTransfer 118 | id: wetransfer 119 | if: steps.compile.outputs.status == 'success' && env.UPLOAD_WETRANSFER == 'true' && !cancelled() 120 | run: | 121 | curl -fsSL git.io/file-transfer | sh 122 | ./transfer wet -s -p 16 --no-progress /workdir/upload 2>&1 | tee wetransfer.log 123 | echo "::warning file=wetransfer.com::$(cat wetransfer.log | grep https)" 124 | echo "::set-output name=url::$(cat wetransfer.log | grep https | cut -f3 -d" ")" 125 | 126 | - name: Generate release tag 127 | id: tag 128 | if: env.UPLOAD_RELEASE == 'true' && steps.compile.outputs.status == 'success' && !cancelled() 129 | run: | 130 | xanmod_lts_ver=$(curl -s https://sourceforge.net/projects/xanmod/files/releases/lts/ | grep 'class="folder ">' | head -n 1 | awk -F '"' '{print $2}' | awk -F '[-]' '{print $1}') 131 | xanmod_lts=$(curl -s https://sourceforge.net/projects/xanmod/files/releases/lts/ | grep 'class="folder ">' | head -n 1 | awk -F '"' '{print $2}') 132 | echo "::set-output name=release_tag::Ubuntu_Kernel_${xanmod_lts}_lts_latest_$(date +"%Y.%m.%d-%H%M")" 133 | touch release.txt 134 | echo "::set-output name=status::success" 135 | 136 | - name: Upload kernel to release 137 | uses: softprops/action-gh-release@v1 138 | if: steps.tag.outputs.status == 'success' && !cancelled() 139 | env: 140 | GITHUB_TOKEN: ${{ secrets.TOKEN }} 141 | with: 142 | tag_name: ${{ steps.tag.outputs.release_tag }} 143 | body_path: release.txt 144 | files: /workdir/upload/* 145 | -------------------------------------------------------------------------------- /.github/workflows/Ubuntu_kernel_latest_bbrplus.yml.old: -------------------------------------------------------------------------------- 1 | # 不维护了 2 | # This is free software, licensed under the MIT License. 3 | # See /LICENSE for more information. 4 | # 5 | # Description: Build Kernel using GitHub Actions 6 | # Change from P3TERX 7 | # 8 | 9 | name: Ubuntu Kernel latest BBRPLUS 10 | 11 | on: 12 | workflow_dispatch: 13 | #schedule: 14 | #- cron: "39 20 * * 1,6" 15 | #inputs: 16 | # ssh: 17 | # description: 'SSH connection to Actions' 18 | # required: false 19 | #default: 'false' 20 | 21 | env: 22 | UPLOAD_DIR: false 23 | UPLOAD_RELEASE: true 24 | TZ: Asia/Shanghai 25 | 26 | jobs: 27 | build: 28 | runs-on: ubuntu-latest 29 | 30 | steps: 31 | - name: Checkout 32 | uses: actions/checkout@main 33 | 34 | - name: Initialization environment 35 | env: 36 | DEBIAN_FRONTEND: noninteractive 37 | run: | 38 | sudo -E sed -i~orig -e 's/# deb-src/deb-src/' /etc/apt/sources.list 39 | sudo -E apt-get -qq update 40 | sudo -E apt-get -qq install build-essential bzip2 gawk gettext git patch unzip htop wget curl -y 41 | sudo -E apt-get -qq build-dep linux -y 42 | sudo -E apt-get -qq autoremove --purge 43 | sudo -E apt-get -qq clean 44 | sudo timedatectl set-timezone "$TZ" 45 | sudo mkdir -p /workdir 46 | sudo mkdir -p /workdir/upload 47 | sudo chown $USER:$GROUPS /workdir 48 | sudo chown $USER:$GROUPS /workdir/upload 49 | 50 | - name: Check for updates 51 | id: check 52 | run: | 53 | github_tag=$(curl -s 'https://api.github.com/repos/ylx2016/kernel/releases' | grep 'Ubuntu_Kernel' | grep '_latest_bbrplus_' | head -n 1 | awk -F '"' '{print $4}' | awk -F '[/]' '{print $8}') 54 | github_ver=$(curl -s 'https://api.github.com/repos/ylx2016/kernel/releases' | grep ${github_tag} | grep 'deb' | grep 'headers' | awk -F '"' '{print $4}' | awk -F '[/]' '{print $9}' | awk -F '[-]' '{print $3}' | awk -F '[_]' '{print $1}') 55 | kernel_ver=$(curl -s https://www.kernel.org/ | grep ' > $GITHUB_ENV 101 | 102 | - name: Check space usage 103 | if: (!cancelled()) && steps.compile.outputs.status == 'success' 104 | run: df -hT 105 | 106 | - name: Upload 107 | uses: actions/upload-artifact@main 108 | if: steps.compile.outputs.status == 'success' && env.UPLOAD_DIR == 'true' 109 | with: 110 | name: ${{ env.FILE_DATE }} 111 | path: /workdir/upload 112 | 113 | - name: Generate release tag 114 | id: tag 115 | if: env.UPLOAD_RELEASE == 'true' && steps.compile.outputs.status == 'success' && !cancelled() 116 | run: | 117 | kernel_ver=$(curl -s https://www.kernel.org/ | grep ' > release.txt 121 | echo "::set-output name=status::success" 122 | 123 | - name: Upload kernel to release 124 | uses: softprops/action-gh-release@v1 125 | if: steps.tag.outputs.status == 'success' && !cancelled() 126 | env: 127 | #GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 128 | GITHUB_TOKEN: ${{ secrets.TOKEN }} 129 | with: 130 | tag_name: ${{ steps.tag.outputs.release_tag }} 131 | body_path: release.txt 132 | files: /workdir/upload/* 133 | 134 | - name: Delete workflow runs 135 | uses: GitRML/delete-workflow-runs@main 136 | with: 137 | retain_days: 1 138 | keep_minimum_runs: 10 139 | 140 | #- name: Remove old Releases 141 | # uses: dev-drprasad/delete-older-releases@v0.1.0 142 | # if: env.UPLOAD_RELEASE == 'true' && !cancelled() 143 | # with: 144 | # keep_latest: 3 145 | # delete_tags: true 146 | # env: 147 | # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 148 | -------------------------------------------------------------------------------- /.github/workflows/Ubuntu_kernel_latest_xanmod_stable.yml.old: -------------------------------------------------------------------------------- 1 | # 2 | # This is free software, licensed under the MIT License. 3 | # See /LICENSE for more information. 4 | # 5 | # Description: Build Kernel using GitHub Actions 6 | # Change from P3TERX 7 | # 8 | 9 | name: Ubuntu Kernel latest XANMOD STABLE 10 | 11 | on: 12 | workflow_dispatch: 13 | #schedule: 14 | #- cron: "36 20 * * 1,4" 15 | # inputs: 16 | # ssh: 17 | # description: 'SSH connection to Actions' 18 | # required: false 19 | # default: 'false' 20 | 21 | env: 22 | UPLOAD_DIR: true 23 | UPLOAD_RELEASE: true 24 | UPLOAD_WETRANSFER: false 25 | WEBSSH: false 26 | TZ: Asia/Shanghai 27 | 28 | jobs: 29 | build: 30 | runs-on: ubuntu-latest 31 | container: docker.io/qctt/kernelbuild:ubuntu20.04 32 | 33 | steps: 34 | - name: Checkout 35 | uses: actions/checkout@main 36 | 37 | - name: Initialization environment 38 | env: 39 | DEBIAN_FRONTEND: noninteractive 40 | run: | 41 | apt update 42 | apt-get install libfuse-dev libarchive-dev xfsprogs jq -y 43 | #apt-get install btrfs-tools -y 44 | apt install btrfs-progs pip python -y 45 | pip install yamlish junit_xml 46 | #mkdir /github 47 | #mkdir /github/home/ 48 | mkdir /github/home/.ssh/ 49 | sudo chown $USER:$GROUPS /workdir 50 | sudo chown $USER:$GROUPS /workdir/upload 51 | 52 | - name: Check for updates 53 | id: check 54 | run: | 55 | github_tag=$(curl -s 'https://api.github.com/repos/ylx2016/kernel/releases' | grep 'Centos_Kernel' | grep '_stable_latest_' | grep 'xanmod' | head -n 1 | awk -F '"' '{print $4}' | awk -F '[/]' '{print $8}') 56 | github_ver=$(curl -s 'https://api.github.com/repos/ylx2016/kernel/releases' | grep ${github_tag} | grep 'rpm' | grep 'headers' | awk -F '"' '{print $4}' | awk -F '[/]' '{print $9}' | awk -F '[-]' '{print $3}' | awk -F '[_]' '{print $1}') 57 | kernel_ver=$(curl -s https://sourceforge.net/projects/xanmod/files/releases/stable/ | grep 'class="folder ">' | head -n 1 | awk -F '"' '{print $2}' | awk -F '[-]' '{print $1}') 58 | echo "github_ver=" $github_ver 59 | echo "kernel_ver=" $kernel_ver 60 | if [[ $github_ver == *"$kernel_ver"* ]]; then 61 | echo "::set-output name=status::fail" 62 | else 63 | echo "::set-output name=status::success" 64 | fi 65 | 66 | - name: Get source code 67 | id: code 68 | if: steps.check.outputs.status == 'success' && (!cancelled()) 69 | working-directory: /workdir 70 | run: | 71 | df -hT $PWD 72 | xanmod_stable=$(curl -s https://sourceforge.net/projects/xanmod/files/releases/stable/ | grep 'class="folder ">' | head -n 1 | awk -F '"' '{print $2}') 73 | xanmod_stable_ver=$(curl -s https://sourceforge.net/projects/xanmod/files/releases/stable/ | grep 'class="folder ">' | head -n 1 | awk -F '"' '{print $2}' | awk -F '[-]' '{print $1}') 74 | kernel_file=https://github.com/xanmod/linux/archive/refs/tags/$xanmod_stable/.zip 75 | wget $kernel_file && unzip $xanmod_stable.zip -d /workdir 76 | echo "::set-output name=status::success" 77 | 78 | - name: SSH connection to Actions 79 | uses: P3TERX/ssh2actions@v1.0.0 80 | if: env.WEBSSH == 'true' 81 | env: 82 | TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }} 83 | TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }} 84 | 85 | - name: Compile the kernel 86 | id: compile 87 | if: steps.code.outputs.status == 'success' 88 | working-directory: /workdir 89 | run: | 90 | xanmod_stable_ver=$(curl -s https://sourceforge.net/projects/xanmod/files/releases/stable/ | grep 'class="folder ">' | head -n 1 | awk -F '"' '{print $2}' | awk -F '[-]' '{print $1}') 91 | xanmod_stable=$(curl -s https://sourceforge.net/projects/xanmod/files/releases/stable/ | grep 'class="folder ">' | head -n 1 | awk -F '"' '{print $2}') 92 | cd linux-$xanmod_stable 93 | if [ -f "CONFIGS/xanmod/gcc/config" ]; then 94 | cp CONFIGS/xanmod/gcc/config .config 95 | fi 96 | sed -ri '/CONFIG_SYSTEM_TRUSTED_KEYS/s/=.+/=""/g' .config && scripts/config --disable MODULE_SIG && scripts/config --disable DEBUG_INFO 97 | sed -ri '/CONFIG_TLS/s/=.+/=y/g' .config 98 | sed -ri '/CONFIG_TLS_DEVICE/s/=.+/=y/g' .config 99 | sed -ri '/CONFIG_MPTCP*/c\CONFIG_MPTCP=m' .config 100 | echo -e "$(nproc) thread compile" 101 | sudo time make -j$(nproc) deb-pkg 102 | cd /workdir && mv *.deb /workdir/upload 103 | echo "::set-output name=status::success" 104 | echo "FILE_DATE=Kernel_Ubuntu_${xanmod_stable}_$(date +"%Y%m%d%H%M")" >> $GITHUB_ENV 105 | 106 | - name: Check space usage 107 | if: (!cancelled()) && steps.compile.outputs.status == 'success' 108 | run: df -hT 109 | 110 | - name: Upload 111 | uses: actions/upload-artifact@main 112 | if: steps.compile.outputs.status == 'success' && env.UPLOAD_DIR == 'true' 113 | with: 114 | name: ${{ env.FILE_DATE }} 115 | path: /workdir/upload 116 | 117 | - name: Upload to WeTransfer 118 | id: wetransfer 119 | if: steps.compile.outputs.status == 'success' && env.UPLOAD_WETRANSFER == 'true' && !cancelled() 120 | run: | 121 | curl -fsSL git.io/file-transfer | sh 122 | ./transfer wet -s -p 16 --no-progress /workdir/upload 2>&1 | tee wetransfer.log 123 | echo "::warning file=wetransfer.com::$(cat wetransfer.log | grep https)" 124 | echo "::set-output name=url::$(cat wetransfer.log | grep https | cut -f3 -d" ")" 125 | 126 | - name: Generate release tag 127 | id: tag 128 | if: env.UPLOAD_RELEASE == 'true' && steps.compile.outputs.status == 'success' && !cancelled() 129 | run: | 130 | xanmod_stable_ver=$(curl -s https://sourceforge.net/projects/xanmod/files/releases/stable/ | grep 'class="folder ">' | head -n 1 | awk -F '"' '{print $2}' | awk -F '[-]' '{print $1}') 131 | xanmod_stable=$(curl -s https://sourceforge.net/projects/xanmod/files/releases/stable/ | grep 'class="folder ">' | head -n 1 | awk -F '"' '{print $2}') 132 | echo "::set-output name=release_tag::Ubuntu_Kernel_${xanmod_stable}_stable_latest_$(date +"%Y.%m.%d-%H%M")" 133 | touch release.txt 134 | echo "::set-output name=status::success" 135 | 136 | - name: Upload kernel to release 137 | uses: softprops/action-gh-release@v1 138 | if: steps.tag.outputs.status == 'success' && !cancelled() 139 | env: 140 | GITHUB_TOKEN: ${{ secrets.TOKEN }} 141 | with: 142 | tag_name: ${{ steps.tag.outputs.release_tag }} 143 | body_path: release.txt 144 | files: /workdir/upload/* 145 | -------------------------------------------------------------------------------- /.github/workflows/Ubuntu_kernel_arm64_latest.yml.old: -------------------------------------------------------------------------------- 1 | # 2 | # This is free software, licensed under the MIT License. 3 | # See /LICENSE for more information. 4 | # 5 | # Description: Build Kernel using GitHub Actions 6 | # Change from P3TERX 7 | # 8 | 9 | name: Ubuntu Kernel ARM64 latest 10 | 11 | on: 12 | workflow_dispatch: 13 | #schedule: 14 | #- cron: "36 19 * * 2,6" 15 | # inputs: 16 | # ssh: 17 | # description: 'SSH connection to Actions' 18 | # required: false 19 | # default: 'false' 20 | 21 | env: 22 | UPLOAD_DIR: true 23 | UPLOAD_RELEASE: true 24 | UPLOAD_WETRANSFER: false 25 | TZ: Asia/Shanghai 26 | 27 | jobs: 28 | build: 29 | runs-on: ubuntu-latest 30 | container: docker.io/qctt/kernelbuild:ubuntu20.04 31 | 32 | steps: 33 | - name: Checkout 34 | uses: actions/checkout@main 35 | 36 | - name: Initialization environment 37 | env: 38 | DEBIAN_FRONTEND: noninteractive 39 | run: | 40 | sudo apt update && apt install dwarves -y 41 | sudo chown $USER:$GROUPS /workdir 42 | sudo chown $USER:$GROUPS /workdir/upload 43 | 44 | - name: Check for updates 45 | id: check 46 | run: | 47 | github_tag=$(curl -s 'https://api.github.com/repos/ylx2016/kernel/releases' | grep 'Ubuntu_Kernel' | grep '_arm64_' | head -n 1 | awk -F '"' '{print $4}' | awk -F '[/]' '{print $8}') 48 | github_ver=$(curl -s 'https://api.github.com/repos/ylx2016/kernel/releases' | grep ${github_tag} | grep 'deb' | grep 'headers' | awk -F '"' '{print $4}' | awk -F '[/]' '{print $9}' | awk -F '[-]' '{print $3}' | awk -F '[_]' '{print $1}') 49 | kernel_ver=$(curl -s https://www.kernel.org/ | grep ' > $GITHUB_ENV 106 | 107 | - name: Check space usage 108 | if: (!cancelled()) && steps.compile.outputs.status == 'success' 109 | run: df -hT 110 | 111 | - name: Upload 112 | uses: actions/upload-artifact@main 113 | if: steps.compile.outputs.status == 'success' && env.UPLOAD_DIR == 'true' 114 | with: 115 | name: ${{ env.FILE_DATE }} 116 | path: /workdir/upload 117 | 118 | - name: Upload to WeTransfer 119 | id: wetransfer 120 | if: steps.compile.outputs.status == 'success' && env.UPLOAD_WETRANSFER == 'true' && !cancelled() 121 | run: | 122 | curl -fsSL git.io/file-transfer | sh 123 | ./transfer wet -s -p 16 --no-progress /workdir/upload 2>&1 | tee wetransfer.log 124 | echo "::warning file=wetransfer.com::$(cat wetransfer.log | grep https)" 125 | echo "::set-output name=url::$(cat wetransfer.log | grep https | cut -f3 -d" ")" 126 | 127 | - name: Generate release tag 128 | id: tag 129 | if: env.UPLOAD_RELEASE == 'true' && steps.compile.outputs.status == 'success' && !cancelled() 130 | run: | 131 | kernel_ver=$(curl -s https://www.kernel.org/ | grep ' ' | head -n 1 | awk -F '"' '{print $2}' | awk -F '[-]' '{print $1}') 43 | echo "github_ver=" $github_ver 44 | echo "kernel_ver=" $kernel_ver 45 | if [[ $github_ver == *"$kernel_ver"* ]]; then 46 | echo "::set-output name=status::fail" 47 | else 48 | echo "::set-output name=status::success" 49 | fi 50 | 51 | - name: Get source code 52 | id: code 53 | if: steps.check.outputs.status == 'success' && (!cancelled()) 54 | working-directory: /workdir 55 | run: | 56 | df -hT $PWD 57 | xanmod_lts=$(curl -s https://sourceforge.net/projects/xanmod/files/releases/lts/ | grep 'class="folder ">' | head -n 1 | awk -F '"' '{print $2}') 58 | xanmod_lts_ver=$(curl -s https://sourceforge.net/projects/xanmod/files/releases/lts/ | grep 'class="folder ">' | head -n 1 | awk -F '"' '{print $2}' | awk -F '[-]' '{print $1}') 59 | kernel_file=https://github.com/xanmod/linux/archive/refs/tags/$xanmod_lts.zip 60 | wget $kernel_file && unzip $xanmod_lts.zip -d /workdir 61 | echo "::set-output name=status::success" 62 | 63 | - name: SSH connection to Actions 64 | uses: P3TERX/ssh2actions@v1.0.0 65 | if: env.WEBSSH == 'true' 66 | env: 67 | TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }} 68 | TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }} 69 | 70 | - name: Compile the kernel 71 | id: compile 72 | if: steps.code.outputs.status == 'success' 73 | working-directory: /workdir 74 | run: | 75 | xanmod_lts_ver=$(curl -s https://sourceforge.net/projects/xanmod/files/releases/lts/ | grep 'class="folder ">' | head -n 1 | awk -F '"' '{print $2}' | awk -F '[-]' '{print $1}') 76 | xanmod_lts=$(curl -s https://sourceforge.net/projects/xanmod/files/releases/lts/ | grep 'class="folder ">' | head -n 1 | awk -F '"' '{print $2}') 77 | cd linux-$xanmod_lts 78 | if [ -f "CONFIGS/xanmod/gcc/config" ]; then 79 | cp CONFIGS/xanmod/gcc/config .config 80 | fi 81 | sed -ri '/CONFIG_SYSTEM_TRUSTED_KEYS/s/=.+/=""/g' .config 82 | sed -ri '/CONFIG_DEBUG_KERNEL=/c\CONFIG_DEBUG_KERNEL=n' .config 83 | sed -ri '/CONFIG_DEBUG_MISC=/c\CONFIG_DEBUG_MISC=n' .config 84 | sed -ri '/CONFIG_MODULE_SIG=/c\CONFIG_MODULE_SIG=n' .config 85 | sed -ri '/CONFIG_DEBUG_INFO=/c\CONFIG_DEBUG_INFO=n' .config 86 | sed -i 's/.*CONFIG_DEBUG_INFO_BTF.*/CONFIG_DEBUG_INFO_BTF=n/' .config 87 | sed -i 's/.*CONFIG_DEBUG_INFO_DWARF4.*/CONFIG_DEBUG_INFO_DWARF4=n/' .config 88 | sed -i 's/.*CONFIG_DEBUG_INFO_DWARF5.*/CONFIG_DEBUG_INFO_DWARF5=n/' .config 89 | sed -i 's/.*CONFIG_DEBUG_INFO_NONE.*/CONFIG_DEBUG_INFO_NONE=n/' .config 90 | scripts/config --disable MODULE_SIG 91 | scripts/config --disable DEBUG_INFO 92 | scripts/config --disable DEBUG_INFO_BTF 93 | scripts/config --disable DEBUG_INFO_DWARF4 94 | scripts/config --disable DEBUG_INFO_DWARF5 95 | scripts/config --disable DEBUG_INFO_NONE 96 | scripts/config --disable SYSTEM_TRUSTED_KEYS 97 | scripts/config --disable SYSTEM_REVOCATION_KEYS 98 | echo -e "$(nproc) thread compile" 99 | sudo time make -j$(nproc) deb-pkg 100 | cd /workdir && mv *.deb /workdir/upload 101 | echo "::set-output name=status::success" 102 | echo "FILE_DATE=Kernel_Debian_${xanmod_lts}_$(date +"%Y%m%d%H%M")" >> $GITHUB_ENV 103 | 104 | - name: Check space usage 105 | if: (!cancelled()) && steps.compile.outputs.status == 'success' 106 | run: df -hT 107 | 108 | - name: Upload 109 | uses: actions/upload-artifact@main 110 | if: steps.compile.outputs.status == 'success' && env.UPLOAD_DIR == 'true' 111 | with: 112 | name: ${{ env.FILE_DATE }} 113 | path: /workdir/upload 114 | 115 | - name: Upload to WeTransfer 116 | id: wetransfer 117 | if: steps.compile.outputs.status == 'success' && env.UPLOAD_WETRANSFER == 'true' && !cancelled() 118 | run: | 119 | curl -fsSL git.io/file-transfer | sh 120 | ./transfer wet -s -p 16 --no-progress /workdir/upload 2>&1 | tee wetransfer.log 121 | echo "::warning file=wetransfer.com::$(cat wetransfer.log | grep https)" 122 | echo "::set-output name=url::$(cat wetransfer.log | grep https | cut -f3 -d" ")" 123 | 124 | - name: Generate release tag 125 | id: tag 126 | if: env.UPLOAD_RELEASE == 'true' && steps.compile.outputs.status == 'success' && !cancelled() 127 | run: | 128 | xanmod_lts_ver=$(curl -s https://sourceforge.net/projects/xanmod/files/releases/lts/ | grep 'class="folder ">' | head -n 1 | awk -F '"' '{print $2}' | awk -F '[-]' '{print $1}') 129 | xanmod_lts=$(curl -s https://sourceforge.net/projects/xanmod/files/releases/lts/ | grep 'class="folder ">' | head -n 1 | awk -F '"' '{print $2}') 130 | echo "::set-output name=release_tag::Debian_Kernel_${xanmod_lts}_lts_latest_$(date +"%Y.%m.%d-%H%M")" 131 | touch release.txt 132 | echo "::set-output name=status::success" 133 | 134 | - name: Upload kernel to release 135 | uses: softprops/action-gh-release@v1 136 | if: steps.tag.outputs.status == 'success' && !cancelled() 137 | env: 138 | GITHUB_TOKEN: ${{ secrets.TOKEN }} 139 | with: 140 | tag_name: ${{ steps.tag.outputs.release_tag }} 141 | body_path: release.txt 142 | files: /workdir/upload/* 143 | -------------------------------------------------------------------------------- /.github/workflows/Debian_kernel_arm64_latest.yml: -------------------------------------------------------------------------------- 1 | # 2 | # This is free software, licensed under the MIT License. 3 | # See /LICENSE for more information. 4 | # 5 | # Description: Build Kernel using GitHub Actions 6 | # Change from P3TERX 7 | # 8 | 9 | name: Debian Kernel ARM64 latest 10 | 11 | on: 12 | workflow_dispatch: 13 | #schedule: 14 | #- cron: "36 19 * * 2,6" 15 | # inputs: 16 | # ssh: 17 | # description: 'SSH connection to Actions' 18 | # required: false 19 | # default: 'false' 20 | 21 | env: 22 | UPLOAD_DIR: true 23 | UPLOAD_RELEASE: true 24 | UPLOAD_WETRANSFER: false 25 | TZ: Asia/Shanghai 26 | 27 | jobs: 28 | build: 29 | runs-on: ubuntu-latest 30 | container: docker.io/qctt/kernelbuild:debian12 31 | 32 | steps: 33 | - name: Checkout 34 | uses: actions/checkout@main 35 | 36 | - name: Initialization environment 37 | env: 38 | DEBIAN_FRONTEND: noninteractive 39 | run: | 40 | sudo apt update && apt install dwarves gcc-aarch64-linux-gnu -y 41 | sudo chown $USER:$GROUPS /workdir 42 | sudo chown $USER:$GROUPS /workdir/upload 43 | 44 | - name: Check for updates 45 | id: check 46 | run: | 47 | github_tag=$(curl -s 'https://api.github.com/repos/ylx2016/kernel/releases' | grep 'Debian_Kernel' | grep '_arm64_' | head -n 1 | awk -F '"' '{print $4}' | awk -F '[/]' '{print $8}') 48 | github_ver=$(curl -s 'https://api.github.com/repos/ylx2016/kernel/releases' | grep ${github_tag} | grep 'deb' | grep 'headers' | awk -F '"' '{print $4}' | awk -F '[/]' '{print $9}' | awk -F '[-]' '{print $3}' | awk -F '[_]' '{print $1}') 49 | kernel_ver=$(curl -s https://www.kernel.org/ | grep ' > $GITHUB_ENV 108 | 109 | - name: Check space usage 110 | if: (!cancelled()) && steps.compile.outputs.status == 'success' 111 | run: df -hT 112 | 113 | - name: Upload 114 | uses: actions/upload-artifact@main 115 | if: steps.compile.outputs.status == 'success' && env.UPLOAD_DIR == 'true' 116 | with: 117 | name: ${{ env.FILE_DATE }} 118 | path: /workdir/upload 119 | 120 | - name: Upload to WeTransfer 121 | id: wetransfer 122 | if: steps.compile.outputs.status == 'success' && env.UPLOAD_WETRANSFER == 'true' && !cancelled() 123 | run: | 124 | curl -fsSL git.io/file-transfer | sh 125 | ./transfer wet -s -p 16 --no-progress /workdir/upload 2>&1 | tee wetransfer.log 126 | echo "::warning file=wetransfer.com::$(cat wetransfer.log | grep https)" 127 | echo "::set-output name=url::$(cat wetransfer.log | grep https | cut -f3 -d" ")" 128 | 129 | - name: Generate release tag 130 | id: tag 131 | if: env.UPLOAD_RELEASE == 'true' && steps.compile.outputs.status == 'success' && !cancelled() 132 | run: | 133 | kernel_ver=$(curl -s https://www.kernel.org/ | grep ' ' | head -n 1 | awk -F '"' '{print $2}' | awk -F '[-]' '{print $1}') 51 | echo "github_ver=" $github_ver 52 | echo "kernel_ver=" $kernel_ver 53 | if [[ $github_ver == *"$kernel_ver"* ]]; then 54 | echo "::set-output name=status::fail" 55 | else 56 | echo "::set-output name=status::success" 57 | fi 58 | 59 | - name: Get source code 60 | id: code 61 | if: steps.check.outputs.status == 'success' && (!cancelled()) 62 | working-directory: /workdir 63 | run: | 64 | df -hT $PWD 65 | xanmod_cacule=$(curl -s https://sourceforge.net/projects/xanmod/files/releases/lts/ | grep 'class="folder ">' | head -n 1 | awk -F '"' '{print $2}') 66 | xanmod_cacule_ver=$(curl -s https://sourceforge.net/projects/xanmod/files/releases/lts/ | grep 'class="folder ">' | head -n 1 | awk -F '"' '{print $2}' | awk -F '[-]' '{print $1}') 67 | kernel_file=https://github.com/xanmod/linux/archive/refs/tags/$xanmod_cacule.zip 68 | wget $kernel_file && unzip $xanmod_cacule.zip -d /workdir 69 | echo "::set-output name=status::success" 70 | 71 | 72 | - name: SSH connection to Actions 73 | uses: P3TERX/ssh2actions@v1.0.0 74 | if: (github.event.inputs.ssh == 'true' && github.event.inputs.ssh != 'false') || contains(github.event.action, 'ssh') 75 | env: 76 | TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }} 77 | TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }} 78 | 79 | - name: Compile the kernel 80 | id: compile 81 | if: steps.code.outputs.status == 'success' && (!cancelled()) 82 | working-directory: /workdir 83 | run: | 84 | xanmod_cacule_ver=$(curl -s https://sourceforge.net/projects/xanmod/files/releases/lts/ | grep 'class="folder ">' | head -n 1 | awk -F '"' '{print $2}' | awk -F '[-]' '{print $1}') 85 | xanmod_cacule=$(curl -s https://sourceforge.net/projects/xanmod/files/releases/lts/ | grep 'class="folder ">' | head -n 1 | awk -F '"' '{print $2}') 86 | cd linux-$xanmod_cacule 87 | if [ -f "CONFIGS/xanmod/gcc/config" ]; then 88 | cp CONFIGS/xanmod/gcc/config .config 89 | fi 90 | sed -ri '/CONFIG_SYSTEM_TRUSTED_KEYS/s/=.+/=""/g' .config && scripts/config --disable MODULE_SIG && scripts/config --disable DEBUG_INFO 91 | scripts/config --disable MODULE_SIG 92 | scripts/config --disable DEBUG_INFO 93 | scripts/config --disable DEBUG_INFO_BTF 94 | scripts/config --disable DEBUG_INFO_DWARF4 95 | scripts/config --disable DEBUG_INFO_DWARF5 96 | scripts/config --disable DEBUG_INFO_NONE 97 | scripts/config --disable SYSTEM_TRUSTED_KEYS 98 | scripts/config --disable SYSTEM_REVOCATION_KEYS 99 | echo -e "$(nproc) thread compile" 100 | sudo time make -j$(nproc) rpm-pkg 101 | mv /root/rpmbuild/RPMS/x86_64/* /workdir/upload 102 | echo "::set-output name=status::success" 103 | echo "FILE_DATE=Kernel_Centos_${xanmod_cacule}_$(date +"%Y%m%d%H%M")" >> $GITHUB_ENV 104 | 105 | - name: Check space usage 106 | if: (!cancelled()) 107 | run: df -hT 108 | 109 | - name: Upload 110 | uses: actions/upload-artifact@main 111 | if: steps.compile.outputs.status == 'success' && env.UPLOAD_DIR == 'true' 112 | with: 113 | name: ${{ env.FILE_DATE }} 114 | path: /workdir/upload 115 | 116 | - name: Upload to WeTransfer 117 | id: wetransfer 118 | if: steps.compile.outputs.status == 'success' && env.UPLOAD_WETRANSFER == 'true' && !cancelled() 119 | run: | 120 | curl -fsSL git.io/file-transfer | sh 121 | ./transfer wet -s -p 16 --no-progress /workdir/upload 2>&1 | tee wetransfer.log 122 | echo "::warning file=wetransfer.com::$(cat wetransfer.log | grep https)" 123 | echo "::set-output name=url::$(cat wetransfer.log | grep https | cut -f3 -d" ")" 124 | 125 | - name: Generate release tag 126 | id: tag 127 | if: env.UPLOAD_RELEASE == 'true' && steps.compile.outputs.status == 'success' && !cancelled() 128 | run: | 129 | xanmod_cacule_ver=$(curl -s https://sourceforge.net/projects/xanmod/files/releases/lts/ | grep 'class="folder ">' | head -n 1 | awk -F '"' '{print $2}' | awk -F '[-]' '{print $1}') 130 | xanmod_cacule=$(curl -s https://sourceforge.net/projects/xanmod/files/releases/lts/ | grep 'class="folder ">' | head -n 1 | awk -F '"' '{print $2}') 131 | echo "::set-output name=release_tag::Centos_Kernel_${xanmod_cacule}_lts_C8_latest_$(date +"%Y.%m.%d-%H%M")" 132 | touch release.txt 133 | echo "for centos 8" >> release.txt 134 | echo "::set-output name=status::success" 135 | 136 | - name: Upload kernel to release 137 | uses: softprops/action-gh-release@v1 138 | if: steps.tag.outputs.status == 'success' && !cancelled() 139 | env: 140 | GITHUB_TOKEN: ${{ secrets.TOKEN }} 141 | with: 142 | tag_name: ${{ steps.tag.outputs.release_tag }} 143 | body_path: release.txt 144 | files: /workdir/upload/* 145 | -------------------------------------------------------------------------------- /.github/workflows/update_elrepo_config.yml: -------------------------------------------------------------------------------- 1 | # 2 | # This is free software, licensed under the MIT License. 3 | # See /LICENSE for more information. 4 | # 5 | # Description: Build Kernel using GitHub Actions 6 | # 7 | 8 | name: Update elrepo config 9 | 10 | on: 11 | workflow_dispatch: 12 | 13 | env: 14 | TZ: Asia/Shanghai 15 | 16 | jobs: 17 | build: 18 | runs-on: ubuntu-latest 19 | 20 | steps: 21 | - name: Checkout code 22 | uses: actions/checkout@v4 23 | with: 24 | persist-credentials: false 25 | fetch-depth: 0 26 | 27 | - name: Initialize environment 28 | run: | 29 | sudo -E sed -i~orig -e 's/# deb-src/deb-src/' /etc/apt/sources.list 30 | sudo -E apt-get -qq update 31 | sudo -E apt-get -qq install bzip2 gawk git unzip htop wget curl -y 32 | sudo timedatectl set-timezone "$TZ" 33 | sudo mkdir -p /workdir/upload 34 | sudo chown $USER:$GROUPS /workdir /workdir/upload 35 | 36 | - name: Check for updates 37 | id: check 38 | run: | 39 | config_path=/home/runner/work/kernel/kernel/config_elrepo 40 | action_kernel_ver=$(grep "Linux/x86_64" $config_path | awk -F '[- ]' '{print $3}') 41 | kernel_ver=$(curl -s 'https://elrepo.org/linux/kernel/el9/x86_64/RPMS/?C=N;O=D' | grep -oP 'kernel-ml-headers[^"]+' | head -n 1 | awk -F '-' '{print $4}') 42 | echo "action_kernel_ver=$action_kernel_ver" 43 | echo "kernel_ver=$kernel_ver" 44 | if [[ "${action_kernel_ver}" == *"${kernel_ver}"* ]]; then 45 | echo "check_status=fail" >> $GITHUB_ENV 46 | else 47 | echo "check_status=success" >> $GITHUB_ENV 48 | fi 49 | 50 | - name: Update config 51 | id: update 52 | if: ${{ env.check_status == 'success' }} 53 | working-directory: /workdir 54 | run: | 55 | sudo apt-get -qq install -y rpm2cpio 56 | elrepo_c9_ver=$(curl -s 'https://elrepo.org/linux/kernel/el9/x86_64/RPMS/?C=N;O=D' | grep -oP 'kernel-ml-headers[^"]+' | head -n 1 | awk -F '-' '{print $4}') 57 | #old 58 | #sudo wget https://elrepo.org/linux/kernel/el9/x86_64/RPMS/kernel-ml-$elrepo_c9_ver-1.el9.elrepo.x86_64.rpm 59 | sudo wget https://elrepo.org/linux/kernel/el9/x86_64/RPMS/kernel-ml-devel-$elrepo_c9_ver-1.el9.elrepo.x86_64.rpm 60 | sudo rpm2cpio kernel-ml-devel-$elrepo_c9_ver-1.el9.elrepo.x86_64.rpm | cpio -divm 61 | #cd /workdir/usr/src/kernels/$elrepo-1 62 | 63 | cd /workdir/usr/src/kernels/$elrepo_c9_ver-1.el9.elrepo.x86_64/ 64 | config=/home/runner/work/kernel/kernel/config_elrepo 65 | elrepo_patch=/home/runner/work/kernel/kernel/elrepo_config.patch 66 | 67 | sudo rm -rf $config 68 | #sudo mv config-*-1.el9.elrepo.x86_64 $config 69 | sudo mv .config $config 70 | sudo sed -ri 's/.*CONFIG_TCP_CONG_CUBIC.*/CONFIG_TCP_CONG_CUBIC=m/' ${config} 71 | sudo sed -ri 's/.*CONFIG_TCP_CONG_BBR.*/CONFIG_TCP_CONG_BBR=y/' ${config} 72 | sudo sed -ri '/.*CONFIG_DEFAULT_CUBIC.*/i\CONFIG_TCP_CONG_BBR2=m' ${config} 73 | sudo sed -ri '/CONFIG_TCP_CONG_BBR2=m/a CONFIG_TCP_CONG_BBR3=m' ${config} 74 | sudo sed -ri 's/.*CONFIG_DEFAULT_TCP_CONG.*/CONFIG_DEFAULT_TCP_CONG="bbr"/' ${config} 75 | sudo sed -ri 's/.*CONFIG_NET_SCH_PIE.*/CONFIG_NET_SCH_PIE=y/' ${config} 76 | sudo sed -ri 's/.*CONFIG_NET_SCH_FQ_PIE.*/CONFIG_NET_SCH_FQ_PIE=y/' ${config} 77 | sudo sed -ri 's/.*CONFIG_NET_SCH_DEFAULT.*/CONFIG_NET_SCH_DEFAULT=y/' ${config} 78 | sudo sed -ri '/.*CONFIG_NET_SCH_FQ_PIE.*/i\CONFIG_DEFAULT_FQ_PIE=y' ${config} 79 | sudo sed -ri '/.*CONFIG_DEFAULT_FQ_PIE.*/i\CONFIG_DEFAULT_NET_SCH="fq_pie"' ${config} 80 | sudo sed -ri '/CONFIG_XEN_BLKDEV_FRONTEND/s/=.+/=y/g' ${config} 81 | sudo sed -ri '/CONFIG_XEN_NETDEV_FRONTEND/s/=.+/=y/g' ${config} 82 | sudo sed -ri '/CONFIG_VIRTIO_BLK/s/=.+/=y/g' ${config} 83 | sudo sed -ri '/CONFIG_VIRTIO_NET/s/=.+/=y/g' ${config} 84 | sudo sed -ri '/CONFIG_TLS/s/=.+/=y/g' ${config} 85 | sudo sed -ri '/CONFIG_TLS_DEVICE/s/=.+/=y/g' ${config} 86 | #sudo sed -ri '/CONFIG_MPTCP*/c\CONFIG_MPTCP=y' ${config} 87 | #sudo sed -i 's/.*CONFIG_KERNEL_ZSTD.*/CONFIG_KERNEL_ZSTD=n/' ${config} 88 | #sudo sed -i 's/.*CONFIG_KERNEL_ZSTD.*/CONFIG_KERNEL_ZSTD=n/' ${config} 89 | #sudo sed -i 's/.*CONFIG_RD_ZSTD.*/CONFIG_RD_ZSTD=n/' ${config} 90 | #sudo sed -i 's/.*CONFIG_MODULE_COMPRESS_ZSTD.*/CONFIG_MODULE_COMPRESS_ZSTD=n/' ${config} 91 | #sudo sed -i 's/.*ZSWAP_COMPRESSOR_DEFAULT_ZSTD.*/ZSWAP_COMPRESSOR_DEFAULT_ZSTD=n/' ${config} 92 | #sudo sed -i 's/.*CONFIG_CRYPTO_ZSTD.*/CONFIG_CRYPTO_ZSTD=n/' ${config} 93 | #sudo sed -i 's/.*CONFIG_F2FS_FS_ZSTD.*/CONFIG_F2FS_FS_ZSTD=n/' ${config} 94 | sudo sed -ri '/.*CONFIG_DEFAULT_RENO.*/d' ${config} 95 | sudo sed -ri '/.*CONFIG_DEFAULT_CUBIC.*/d' ${config} 96 | sudo sed -ri '/.*CONFIG_DEFAULT_FQ.*/d' ${config} 97 | sudo sed -ri '/.*CONFIG_DEFAULT_CODEL.*/d' ${config} 98 | sudo sed -ri '/.*CONFIG_DEFAULT_FQ_CODEL.*/d' ${config} 99 | sudo sed -ri '/.*CONFIG_DEFAULT_SFQ.*/d' ${config} 100 | sudo sed -ri '/.*CONFIG_DEFAULT_PFIFO_FAST.*/d' ${config} 101 | 102 | sudo sed -ri '/CONFIG_HAVE_ARCH_KCSAN*/c\# CONFIG_HAVE_ARCH_KCSAN is not set' ${config} 103 | sudo sed -ri '/CONFIG_DEBUG_INFO_NONE*/c\# CONFIG_DEBUG_INFO_NONE is not set' ${config} 104 | sudo sed -ri '/CONFIG_MODULE_SIG=y/c\# CONFIG_MODULE_SIG is not set' ${config} 105 | sudo sed -ri '/CONFIG_MODULE_SIG_ALL*/c\# CONFIG_MODULE_SIG_ALL is not set' ${config} 106 | sudo sed -ri '/CONFIG_DEBUG_INFO=*/c\# CONFIG_DEBUG_INFO is not set' ${config} 107 | sudo sed -ri '/CONFIG_DEBUG_INFO_NONE*/c\# CONFIG_DEBUG_INFO_NONE is not set' ${config} 108 | sudo sed -ri '/CONFIG_DEBUG_INFO_DWARF4*/c\# CONFIG_DEBUG_INFO_DWARF4 is not set' ${config} 109 | sudo sed -ri '/CONFIG_DEBUG_INFO_BTF*/c\# CONFIG_DEBUG_INFO_BTF is not set' ${config} 110 | sudo sed -ri '/CONFIG_DEBUG_INFO_DWARF5*/c\# CONFIG_DEBUG_INFO_DWARF5 is not set' ${config} 111 | sudo sed -ri '/CONFIG_MODULE_SIG_KEY_TYPE_RSA*/c\# CONFIG_MODULE_SIG_KEY_TYPE_RSA is not set' ${config} 112 | sudo sed -ri '/CONFIG_MODULE_SIG_KEY=*/c\CONFIG_MODULE_SIG_KEY=""' ${config} 113 | sudo sed -ri '/CONFIG_SYSTEM_TRUSTED_KEYS=*/c\CONFIG_SYSTEM_TRUSTED_KEYS=""' ${config} 114 | 115 | echo "update_status=success" >> $GITHUB_ENV 116 | 117 | - name: Commit files 118 | continue-on-error: true 119 | if: ${{ env.update_status }} == 'success' 120 | run: | 121 | git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com" 122 | git config --local user.name "github-actions[bot]" 123 | git commit -m "Add changes" -a 124 | 125 | - name: Push changes 126 | continue-on-error: true 127 | if: ${{ env.update_status }} == 'success' 128 | uses: ad-m/github-push-action@master 129 | with: 130 | github_token: ${{ secrets.TOKEN }} 131 | branch: ${{ github.ref }} 132 | 133 | - name: Delete workflow runs 134 | uses: GitRML/delete-workflow-runs@main 135 | with: 136 | token: ${{ secrets.TOKEN }} 137 | retain_days: 1 138 | keep_minimum_runs: 6 139 | -------------------------------------------------------------------------------- /config_lkl: -------------------------------------------------------------------------------- 1 | # 2 | # Automatically generated file; DO NOT EDIT. 3 | # Linux/lkl 5.3.0 Kernel Configuration 4 | # 5 | 6 | # 7 | # Compiler: gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0 8 | # 9 | CONFIG_CC_IS_GCC=y 10 | CONFIG_GCC_VERSION=90300 11 | CONFIG_CLANG_VERSION=0 12 | CONFIG_CC_CAN_LINK=y 13 | CONFIG_CC_HAS_ASM_GOTO=y 14 | CONFIG_CC_HAS_WARN_MAYBE_UNINITIALIZED=y 15 | CONFIG_IRQ_WORK=y 16 | 17 | # 18 | # General setup 19 | # 20 | CONFIG_BROKEN_ON_SMP=y 21 | CONFIG_INIT_ENV_ARG_LIMIT=32 22 | # CONFIG_COMPILE_TEST is not set 23 | # CONFIG_HEADER_TEST is not set 24 | CONFIG_LOCALVERSION="" 25 | # CONFIG_LOCALVERSION_AUTO is not set 26 | CONFIG_BUILD_SALT="" 27 | CONFIG_DEFAULT_HOSTNAME="(none)" 28 | # CONFIG_SYSVIPC is not set 29 | # CONFIG_POSIX_MQUEUE is not set 30 | # CONFIG_USELIB is not set 31 | # CONFIG_AUDIT is not set 32 | 33 | # 34 | # IRQ subsystem 35 | # 36 | # end of IRQ subsystem 37 | 38 | CONFIG_GENERIC_CLOCKEVENTS=y 39 | 40 | # 41 | # Timers subsystem 42 | # 43 | CONFIG_TICK_ONESHOT=y 44 | CONFIG_NO_HZ_COMMON=y 45 | # CONFIG_HZ_PERIODIC is not set 46 | CONFIG_NO_HZ_IDLE=y 47 | # CONFIG_NO_HZ is not set 48 | CONFIG_HIGH_RES_TIMERS=y 49 | # end of Timers subsystem 50 | 51 | CONFIG_PREEMPT_NONE=y 52 | # CONFIG_PREEMPT_VOLUNTARY is not set 53 | # CONFIG_PREEMPT is not set 54 | 55 | # 56 | # CPU/Task time and stats accounting 57 | # 58 | CONFIG_TICK_CPU_ACCOUNTING=y 59 | # CONFIG_BSD_PROCESS_ACCT is not set 60 | # CONFIG_TASKSTATS is not set 61 | # CONFIG_PSI is not set 62 | # end of CPU/Task time and stats accounting 63 | 64 | # 65 | # RCU Subsystem 66 | # 67 | CONFIG_TINY_RCU=y 68 | # CONFIG_RCU_EXPERT is not set 69 | CONFIG_SRCU=y 70 | CONFIG_TINY_SRCU=y 71 | # end of RCU Subsystem 72 | 73 | # CONFIG_IKCONFIG is not set 74 | # CONFIG_IKHEADERS is not set 75 | CONFIG_LOG_BUF_SHIFT=17 76 | CONFIG_PRINTK_SAFE_LOG_BUF_SHIFT=13 77 | 78 | # 79 | # Scheduler features 80 | # 81 | # end of Scheduler features 82 | 83 | # CONFIG_CGROUPS is not set 84 | # CONFIG_NAMESPACES is not set 85 | # CONFIG_CHECKPOINT_RESTORE is not set 86 | # CONFIG_SCHED_AUTOGROUP is not set 87 | # CONFIG_SYSFS_DEPRECATED is not set 88 | # CONFIG_RELAY is not set 89 | # CONFIG_BLK_DEV_INITRD is not set 90 | CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE=y 91 | # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set 92 | CONFIG_SYSCTL=y 93 | CONFIG_BPF=y 94 | CONFIG_EXPERT=y 95 | CONFIG_MULTIUSER=y 96 | # CONFIG_SGETMASK_SYSCALL is not set 97 | # CONFIG_SYSFS_SYSCALL is not set 98 | # CONFIG_SYSCTL_SYSCALL is not set 99 | CONFIG_FHANDLE=y 100 | CONFIG_POSIX_TIMERS=y 101 | CONFIG_PRINTK=y 102 | CONFIG_BUG=y 103 | # CONFIG_BASE_FULL is not set 104 | # CONFIG_FUTEX is not set 105 | CONFIG_EPOLL=y 106 | # CONFIG_SIGNALFD is not set 107 | # CONFIG_TIMERFD is not set 108 | CONFIG_EVENTFD=y 109 | # CONFIG_AIO is not set 110 | CONFIG_IO_URING=y 111 | # CONFIG_ADVISE_SYSCALLS is not set 112 | CONFIG_MEMBARRIER=y 113 | CONFIG_KALLSYMS=y 114 | CONFIG_KALLSYMS_ALL=y 115 | CONFIG_KALLSYMS_BASE_RELATIVE=y 116 | CONFIG_KALLSYMS_USE_DATA_SECTION=y 117 | # CONFIG_BPF_SYSCALL is not set 118 | CONFIG_EMBEDDED=y 119 | # CONFIG_PC104 is not set 120 | 121 | # 122 | # Kernel Performance Events And Counters 123 | # 124 | # end of Kernel Performance Events And Counters 125 | 126 | # CONFIG_VM_EVENT_COUNTERS is not set 127 | CONFIG_SLUB_DEBUG=y 128 | # CONFIG_COMPAT_BRK is not set 129 | # CONFIG_SLAB is not set 130 | CONFIG_SLUB=y 131 | # CONFIG_SLOB is not set 132 | CONFIG_SLAB_MERGE_DEFAULT=y 133 | # CONFIG_SLAB_FREELIST_RANDOM is not set 134 | # CONFIG_SLAB_FREELIST_HARDENED is not set 135 | # CONFIG_SHUFFLE_PAGE_ALLOCATOR is not set 136 | # CONFIG_MMAP_ALLOW_UNINITIALIZED is not set 137 | # CONFIG_PROFILING is not set 138 | # end of General setup 139 | 140 | CONFIG_LKL=y 141 | CONFIG_OUTPUT_FORMAT="elf64-x86-64" 142 | CONFIG_ARCH_DMA_ADDR_T_64BIT=y 143 | CONFIG_PHYS_ADDR_T_64BIT=y 144 | CONFIG_64BIT=y 145 | # CONFIG_COREDUMP is not set 146 | CONFIG_GENERIC_CSUM=y 147 | CONFIG_GENERIC_HWEIGHT=y 148 | CONFIG_NO_IOPORT_MAP=y 149 | CONFIG_RWSEM_GENERIC_SPINLOCK=y 150 | CONFIG_HZ=100 151 | CONFIG_CONSOLE_LOGLEVEL_QUIET=4 152 | CONFIG_PCI=y 153 | 154 | # 155 | # General architecture-dependent options 156 | # 157 | CONFIG_ARCH_THREAD_STACK_ALLOCATOR=y 158 | CONFIG_CC_HAS_STACKPROTECTOR_NONE=y 159 | CONFIG_HAVE_VIRT_CPU_ACCOUNTING_GEN=y 160 | CONFIG_PGTABLE_LEVELS=2 161 | CONFIG_64BIT_TIME=y 162 | CONFIG_ARCH_NO_COHERENT_DMA_MMAP=y 163 | # CONFIG_REFCOUNT_FULL is not set 164 | 165 | # 166 | # GCOV-based kernel profiling 167 | # 168 | # end of GCOV-based kernel profiling 169 | 170 | CONFIG_PLUGIN_HOSTCC="" 171 | # end of General architecture-dependent options 172 | 173 | CONFIG_BASE_SMALL=1 174 | # CONFIG_MODULES is not set 175 | CONFIG_BLOCK=y 176 | # CONFIG_BLK_DEV_BSG is not set 177 | # CONFIG_BLK_DEV_BSGLIB is not set 178 | # CONFIG_BLK_DEV_INTEGRITY is not set 179 | # CONFIG_BLK_DEV_ZONED is not set 180 | # CONFIG_BLK_CMDLINE_PARSER is not set 181 | # CONFIG_BLK_WBT is not set 182 | # CONFIG_BLK_SED_OPAL is not set 183 | 184 | # 185 | # Partition Types 186 | # 187 | # CONFIG_PARTITION_ADVANCED is not set 188 | CONFIG_MSDOS_PARTITION=y 189 | CONFIG_EFI_PARTITION=y 190 | # end of Partition Types 191 | 192 | CONFIG_BLK_MQ_PCI=y 193 | CONFIG_BLK_MQ_VIRTIO=y 194 | 195 | # 196 | # IO Schedulers 197 | # 198 | CONFIG_MQ_IOSCHED_DEADLINE=y 199 | CONFIG_MQ_IOSCHED_KYBER=y 200 | # CONFIG_IOSCHED_BFQ is not set 201 | # end of IO Schedulers 202 | 203 | CONFIG_INLINE_SPIN_UNLOCK_IRQ=y 204 | CONFIG_INLINE_READ_UNLOCK=y 205 | CONFIG_INLINE_READ_UNLOCK_IRQ=y 206 | CONFIG_INLINE_WRITE_UNLOCK=y 207 | CONFIG_INLINE_WRITE_UNLOCK_IRQ=y 208 | 209 | # 210 | # Executable file formats 211 | # 212 | CONFIG_BINFMT_SCRIPT=y 213 | # CONFIG_BINFMT_MISC is not set 214 | # end of Executable file formats 215 | 216 | # 217 | # Memory Management options 218 | # 219 | CONFIG_FLATMEM=y 220 | CONFIG_FLAT_NODE_MEM_MAP=y 221 | CONFIG_SPLIT_PTLOCK_CPUS=999999 222 | CONFIG_NOMMU_INITIAL_TRIM_EXCESS=1 223 | CONFIG_NEED_PER_CPU_KM=y 224 | # CONFIG_CLEANCACHE is not set 225 | # CONFIG_ZPOOL is not set 226 | # CONFIG_ZBUD is not set 227 | # CONFIG_PERCPU_STATS is not set 228 | # CONFIG_GUP_BENCHMARK is not set 229 | # end of Memory Management options 230 | 231 | CONFIG_NET=y 232 | 233 | # 234 | # Networking options 235 | # 236 | # CONFIG_PACKET is not set 237 | # CONFIG_UNIX is not set 238 | # CONFIG_TLS is not set 239 | # CONFIG_XFRM_USER is not set 240 | # CONFIG_NET_KEY is not set 241 | CONFIG_INET=y 242 | CONFIG_IP_MULTICAST=y 243 | CONFIG_IP_ADVANCED_ROUTER=y 244 | # CONFIG_IP_FIB_TRIE_STATS is not set 245 | CONFIG_IP_MULTIPLE_TABLES=y 246 | CONFIG_IP_ROUTE_MULTIPATH=y 247 | # CONFIG_IP_ROUTE_VERBOSE is not set 248 | CONFIG_IP_PNP=y 249 | CONFIG_IP_PNP_DHCP=y 250 | # CONFIG_IP_PNP_BOOTP is not set 251 | # CONFIG_IP_PNP_RARP is not set 252 | # CONFIG_NET_IPIP is not set 253 | # CONFIG_NET_IPGRE_DEMUX is not set 254 | CONFIG_NET_IP_TUNNEL=y 255 | # CONFIG_IP_MROUTE is not set 256 | # CONFIG_SYN_COOKIES is not set 257 | # CONFIG_NET_IPVTI is not set 258 | # CONFIG_NET_FOU is not set 259 | # CONFIG_NET_FOU_IP_TUNNELS is not set 260 | # CONFIG_INET_AH is not set 261 | # CONFIG_INET_ESP is not set 262 | # CONFIG_INET_IPCOMP is not set 263 | CONFIG_INET_TUNNEL=y 264 | CONFIG_INET_DIAG=y 265 | CONFIG_INET_TCP_DIAG=y 266 | # CONFIG_INET_UDP_DIAG is not set 267 | # CONFIG_INET_RAW_DIAG is not set 268 | # CONFIG_INET_DIAG_DESTROY is not set 269 | CONFIG_TCP_CONG_ADVANCED=y 270 | CONFIG_TCP_CONG_BIC=y 271 | CONFIG_TCP_CONG_CUBIC=y 272 | CONFIG_TCP_CONG_WESTWOOD=y 273 | CONFIG_TCP_CONG_HTCP=y 274 | # CONFIG_TCP_CONG_HSTCP is not set 275 | # CONFIG_TCP_CONG_HYBLA is not set 276 | # CONFIG_TCP_CONG_VEGAS is not set 277 | # CONFIG_TCP_CONG_NV is not set 278 | # CONFIG_TCP_CONG_SCALABLE is not set 279 | # CONFIG_TCP_CONG_LP is not set 280 | # CONFIG_TCP_CONG_VENO is not set 281 | # CONFIG_TCP_CONG_YEAH is not set 282 | # CONFIG_TCP_CONG_ILLINOIS is not set 283 | # CONFIG_TCP_CONG_DCTCP is not set 284 | # CONFIG_TCP_CONG_CDG is not set 285 | CONFIG_TCP_CONG_BBR=y 286 | # CONFIG_DEFAULT_BIC is not set 287 | # CONFIG_DEFAULT_CUBIC is not set 288 | # CONFIG_DEFAULT_HTCP is not set 289 | # CONFIG_DEFAULT_WESTWOOD is not set 290 | CONFIG_DEFAULT_BBR=y 291 | # CONFIG_DEFAULT_RENO is not set 292 | # CONFIG_DEFAULT_TCP_CONG="cubic" 293 | CONFIG_DEFAULT_TCP_CONG="bbr" 294 | # CONFIG_TCP_MD5SIG is not set 295 | CONFIG_IPV6=y 296 | # CONFIG_IPV6_ROUTER_PREF is not set 297 | # CONFIG_IPV6_OPTIMISTIC_DAD is not set 298 | # CONFIG_INET6_AH is not set 299 | # CONFIG_INET6_ESP is not set 300 | # CONFIG_INET6_IPCOMP is not set 301 | # CONFIG_IPV6_MIP6 is not set 302 | # CONFIG_IPV6_VTI is not set 303 | CONFIG_IPV6_SIT=y 304 | # CONFIG_IPV6_SIT_6RD is not set 305 | CONFIG_IPV6_NDISC_NODETYPE=y 306 | # CONFIG_IPV6_TUNNEL is not set 307 | CONFIG_IPV6_MULTIPLE_TABLES=y 308 | # CONFIG_IPV6_SUBTREES is not set 309 | # CONFIG_IPV6_MROUTE is not set 310 | # CONFIG_IPV6_SEG6_LWTUNNEL is not set 311 | # CONFIG_IPV6_SEG6_HMAC is not set 312 | # CONFIG_NETWORK_SECMARK is not set 313 | # CONFIG_NETWORK_PHY_TIMESTAMPING is not set 314 | # CONFIG_NETFILTER is not set 315 | # CONFIG_BPFILTER is not set 316 | # CONFIG_IP_DCCP is not set 317 | # CONFIG_IP_SCTP is not set 318 | # CONFIG_RDS is not set 319 | # CONFIG_TIPC is not set 320 | # CONFIG_ATM is not set 321 | # CONFIG_L2TP is not set 322 | # CONFIG_BRIDGE is not set 323 | CONFIG_HAVE_NET_DSA=y 324 | # CONFIG_NET_DSA is not set 325 | # CONFIG_VLAN_8021Q is not set 326 | # CONFIG_DECNET is not set 327 | # CONFIG_LLC2 is not set 328 | # CONFIG_ATALK is not set 329 | # CONFIG_X25 is not set 330 | # CONFIG_LAPB is not set 331 | # CONFIG_PHONET is not set 332 | # CONFIG_6LOWPAN is not set 333 | # CONFIG_IEEE802154 is not set 334 | CONFIG_NET_SCHED=y 335 | 336 | # 337 | # Queueing/Scheduling 338 | # 339 | # CONFIG_NET_SCH_CBQ is not set 340 | # CONFIG_NET_SCH_HTB is not set 341 | # CONFIG_NET_SCH_HFSC is not set 342 | # CONFIG_NET_SCH_PRIO is not set 343 | # CONFIG_NET_SCH_MULTIQ is not set 344 | # CONFIG_NET_SCH_RED is not set 345 | # CONFIG_NET_SCH_SFB is not set 346 | # CONFIG_NET_SCH_SFQ is not set 347 | # CONFIG_NET_SCH_TEQL is not set 348 | # CONFIG_NET_SCH_TBF is not set 349 | # CONFIG_NET_SCH_CBS is not set 350 | # CONFIG_NET_SCH_ETF is not set 351 | # CONFIG_NET_SCH_TAPRIO is not set 352 | # CONFIG_NET_SCH_GRED is not set 353 | # CONFIG_NET_SCH_DSMARK is not set 354 | # CONFIG_NET_SCH_NETEM is not set 355 | # CONFIG_NET_SCH_DRR is not set 356 | # CONFIG_NET_SCH_MQPRIO is not set 357 | # CONFIG_NET_SCH_SKBPRIO is not set 358 | # CONFIG_NET_SCH_CHOKE is not set 359 | # CONFIG_NET_SCH_QFQ is not set 360 | # CONFIG_NET_SCH_CODEL is not set 361 | # CONFIG_NET_SCH_FQ_CODEL is not set 362 | # CONFIG_NET_SCH_CAKE is not set 363 | CONFIG_NET_SCH_FQ=y 364 | # CONFIG_NET_SCH_HHF is not set 365 | # CONFIG_NET_SCH_PIE is not set 366 | # CONFIG_NET_SCH_PLUG is not set 367 | # CONFIG_NET_SCH_DEFAULT is not set 368 | 369 | # 370 | # Classification 371 | # 372 | # CONFIG_NET_CLS_BASIC is not set 373 | # CONFIG_NET_CLS_TCINDEX is not set 374 | # CONFIG_NET_CLS_ROUTE4 is not set 375 | # CONFIG_NET_CLS_FW is not set 376 | # CONFIG_NET_CLS_U32 is not set 377 | # CONFIG_NET_CLS_RSVP is not set 378 | # CONFIG_NET_CLS_RSVP6 is not set 379 | # CONFIG_NET_CLS_FLOW is not set 380 | # CONFIG_NET_CLS_BPF is not set 381 | # CONFIG_NET_CLS_FLOWER is not set 382 | # CONFIG_NET_CLS_MATCHALL is not set 383 | # CONFIG_NET_EMATCH is not set 384 | # CONFIG_NET_CLS_ACT is not set 385 | CONFIG_NET_SCH_FIFO=y 386 | # CONFIG_DCB is not set 387 | # CONFIG_BATMAN_ADV is not set 388 | # CONFIG_OPENVSWITCH is not set 389 | # CONFIG_VSOCKETS is not set 390 | # CONFIG_NETLINK_DIAG is not set 391 | # CONFIG_MPLS is not set 392 | # CONFIG_NET_NSH is not set 393 | # CONFIG_HSR is not set 394 | # CONFIG_NET_SWITCHDEV is not set 395 | # CONFIG_NET_L3_MASTER_DEV is not set 396 | # CONFIG_NET_NCSI is not set 397 | CONFIG_NET_RX_BUSY_POLL=y 398 | CONFIG_BQL=y 399 | 400 | # 401 | # Network testing 402 | # 403 | # CONFIG_NET_PKTGEN is not set 404 | # end of Network testing 405 | # end of Networking options 406 | 407 | # CONFIG_HAMRADIO is not set 408 | # CONFIG_CAN is not set 409 | # CONFIG_BT is not set 410 | # CONFIG_AF_RXRPC is not set 411 | # CONFIG_AF_KCM is not set 412 | CONFIG_FIB_RULES=y 413 | # CONFIG_WIRELESS is not set 414 | # CONFIG_WIMAX is not set 415 | # CONFIG_RFKILL is not set 416 | # CONFIG_NET_9P is not set 417 | # CONFIG_CAIF is not set 418 | # CONFIG_CEPH_LIB is not set 419 | # CONFIG_NFC is not set 420 | # CONFIG_PSAMPLE is not set 421 | # CONFIG_NET_IFE is not set 422 | # CONFIG_LWTUNNEL is not set 423 | CONFIG_DST_CACHE=y 424 | CONFIG_GRO_CELLS=y 425 | CONFIG_FAILOVER=y 426 | 427 | # 428 | # Device Drivers 429 | # 430 | # CONFIG_PCIEPORTBUS is not set 431 | # CONFIG_PCI_MSI is not set 432 | CONFIG_PCI_QUIRKS=y 433 | # CONFIG_PCI_DEBUG is not set 434 | # CONFIG_PCI_STUB is not set 435 | # CONFIG_PCI_IOV is not set 436 | # CONFIG_PCI_PRI is not set 437 | # CONFIG_PCI_PASID is not set 438 | # CONFIG_HOTPLUG_PCI is not set 439 | 440 | # 441 | # PCI controller drivers 442 | # 443 | 444 | # 445 | # Cadence PCIe controllers support 446 | # 447 | # end of Cadence PCIe controllers support 448 | 449 | # 450 | # DesignWare PCI Core Support 451 | # 452 | # end of DesignWare PCI Core Support 453 | # end of PCI controller drivers 454 | 455 | # 456 | # PCI Endpoint 457 | # 458 | # end of PCI Endpoint 459 | 460 | # 461 | # PCI switch controller drivers 462 | # 463 | # CONFIG_PCI_SW_SWITCHTEC is not set 464 | # end of PCI switch controller drivers 465 | 466 | # CONFIG_PCCARD is not set 467 | # CONFIG_RAPIDIO is not set 468 | 469 | # 470 | # Generic Driver Options 471 | # 472 | # CONFIG_UEVENT_HELPER is not set 473 | # CONFIG_DEVTMPFS is not set 474 | CONFIG_STANDALONE=y 475 | CONFIG_PREVENT_FIRMWARE_BUILD=y 476 | 477 | # 478 | # Firmware loader 479 | # 480 | # CONFIG_FW_LOADER is not set 481 | # end of Firmware loader 482 | 483 | CONFIG_ALLOW_DEV_COREDUMP=y 484 | # CONFIG_DEBUG_DRIVER is not set 485 | # CONFIG_DEBUG_DEVRES is not set 486 | # CONFIG_DEBUG_TEST_DRIVER_REMOVE is not set 487 | CONFIG_GENERIC_CPU_DEVICES=y 488 | # end of Generic Driver Options 489 | 490 | # 491 | # Bus devices 492 | # 493 | # end of Bus devices 494 | 495 | # CONFIG_CONNECTOR is not set 496 | # CONFIG_GNSS is not set 497 | # CONFIG_MTD is not set 498 | # CONFIG_OF is not set 499 | # CONFIG_PARPORT is not set 500 | CONFIG_BLK_DEV=y 501 | # CONFIG_BLK_DEV_NULL_BLK is not set 502 | # CONFIG_BLK_DEV_PCIESSD_MTIP32XX is not set 503 | # CONFIG_BLK_DEV_UMEM is not set 504 | # CONFIG_BLK_DEV_LOOP is not set 505 | # CONFIG_BLK_DEV_DRBD is not set 506 | # CONFIG_BLK_DEV_NBD is not set 507 | # CONFIG_BLK_DEV_SKD is not set 508 | # CONFIG_BLK_DEV_SX8 is not set 509 | # CONFIG_BLK_DEV_RAM is not set 510 | # CONFIG_CDROM_PKTCDVD is not set 511 | # CONFIG_ATA_OVER_ETH is not set 512 | CONFIG_VIRTIO_BLK=y 513 | # CONFIG_VIRTIO_BLK_SCSI is not set 514 | # CONFIG_BLK_DEV_RBD is not set 515 | # CONFIG_BLK_DEV_RSXX is not set 516 | 517 | # 518 | # NVME Support 519 | # 520 | CONFIG_NVME_CORE=y 521 | CONFIG_BLK_DEV_NVME=y 522 | # CONFIG_NVME_MULTIPATH is not set 523 | # CONFIG_NVME_FC is not set 524 | # CONFIG_NVME_TCP is not set 525 | # end of NVME Support 526 | 527 | # 528 | # Misc devices 529 | # 530 | # CONFIG_DUMMY_IRQ is not set 531 | # CONFIG_PHANTOM is not set 532 | # CONFIG_SGI_IOC4 is not set 533 | # CONFIG_TIFM_CORE is not set 534 | # CONFIG_ENCLOSURE_SERVICES is not set 535 | # CONFIG_HP_ILO is not set 536 | # CONFIG_SRAM is not set 537 | # CONFIG_PCI_ENDPOINT_TEST is not set 538 | # CONFIG_XILINX_SDFEC is not set 539 | # CONFIG_C2PORT is not set 540 | 541 | # 542 | # EEPROM support 543 | # 544 | # CONFIG_EEPROM_93CX6 is not set 545 | # end of EEPROM support 546 | 547 | # CONFIG_CB710_CORE is not set 548 | 549 | # 550 | # Texas Instruments shared transport line discipline 551 | # 552 | # end of Texas Instruments shared transport line discipline 553 | 554 | # 555 | # Altera FPGA firmware download module (requires I2C) 556 | # 557 | 558 | # 559 | # Intel MIC & related support 560 | # 561 | 562 | # 563 | # Intel MIC Bus Driver 564 | # 565 | 566 | # 567 | # SCIF Bus Driver 568 | # 569 | 570 | # 571 | # VOP Bus Driver 572 | # 573 | # CONFIG_VOP_BUS is not set 574 | 575 | # 576 | # Intel MIC Host Driver 577 | # 578 | 579 | # 580 | # Intel MIC Card Driver 581 | # 582 | 583 | # 584 | # SCIF Driver 585 | # 586 | 587 | # 588 | # Intel MIC Coprocessor State Management (COSM) Drivers 589 | # 590 | 591 | # 592 | # VOP Driver 593 | # 594 | # end of Intel MIC & related support 595 | 596 | # CONFIG_GENWQE is not set 597 | # CONFIG_ECHO is not set 598 | # CONFIG_MISC_ALCOR_PCI is not set 599 | # CONFIG_MISC_RTSX_PCI is not set 600 | # CONFIG_HABANA_AI is not set 601 | # end of Misc devices 602 | 603 | # 604 | # SCSI device support 605 | # 606 | CONFIG_SCSI_MOD=y 607 | # CONFIG_RAID_ATTRS is not set 608 | # CONFIG_SCSI is not set 609 | # end of SCSI device support 610 | 611 | # CONFIG_ATA is not set 612 | # CONFIG_MD is not set 613 | # CONFIG_TARGET_CORE is not set 614 | # CONFIG_FUSION is not set 615 | 616 | # 617 | # IEEE 1394 (FireWire) support 618 | # 619 | # CONFIG_FIREWIRE is not set 620 | # CONFIG_FIREWIRE_NOSY is not set 621 | # end of IEEE 1394 (FireWire) support 622 | 623 | CONFIG_NETDEVICES=y 624 | CONFIG_NET_CORE=y 625 | # CONFIG_BONDING is not set 626 | # CONFIG_DUMMY is not set 627 | # CONFIG_EQUALIZER is not set 628 | # CONFIG_NET_TEAM is not set 629 | # CONFIG_MACVLAN is not set 630 | # CONFIG_IPVLAN is not set 631 | # CONFIG_VXLAN is not set 632 | # CONFIG_GENEVE is not set 633 | # CONFIG_GTP is not set 634 | # CONFIG_MACSEC is not set 635 | # CONFIG_NETCONSOLE is not set 636 | # CONFIG_TUN is not set 637 | # CONFIG_TUN_VNET_CROSS_LE is not set 638 | # CONFIG_VETH is not set 639 | CONFIG_VIRTIO_NET=y 640 | # CONFIG_NLMON is not set 641 | # CONFIG_ARCNET is not set 642 | 643 | # 644 | # CAIF transport drivers 645 | # 646 | 647 | # 648 | # Distributed Switch Architecture drivers 649 | # 650 | # end of Distributed Switch Architecture drivers 651 | 652 | # CONFIG_ETHERNET is not set 653 | # CONFIG_FDDI is not set 654 | # CONFIG_HIPPI is not set 655 | # CONFIG_MDIO_DEVICE is not set 656 | # CONFIG_PHYLIB is not set 657 | # CONFIG_PPP is not set 658 | # CONFIG_SLIP is not set 659 | 660 | # 661 | # Host-side USB support is needed for USB Network Adapter support 662 | # 663 | # CONFIG_WLAN is not set 664 | 665 | # 666 | # Enable WiMAX (Networking options) to see the WiMAX drivers 667 | # 668 | # CONFIG_WAN is not set 669 | # CONFIG_VMXNET3 is not set 670 | CONFIG_NET_FAILOVER=y 671 | # CONFIG_ISDN is not set 672 | # CONFIG_NVM is not set 673 | 674 | # 675 | # Input device support 676 | # 677 | CONFIG_INPUT=y 678 | # CONFIG_INPUT_FF_MEMLESS is not set 679 | # CONFIG_INPUT_POLLDEV is not set 680 | # CONFIG_INPUT_SPARSEKMAP is not set 681 | # CONFIG_INPUT_MATRIXKMAP is not set 682 | 683 | # 684 | # Userland interfaces 685 | # 686 | # CONFIG_INPUT_MOUSEDEV is not set 687 | # CONFIG_INPUT_JOYDEV is not set 688 | # CONFIG_INPUT_EVDEV is not set 689 | # CONFIG_INPUT_EVBUG is not set 690 | 691 | # 692 | # Input Device Drivers 693 | # 694 | CONFIG_INPUT_KEYBOARD=y 695 | CONFIG_KEYBOARD_ATKBD=y 696 | # CONFIG_KEYBOARD_LKKBD is not set 697 | # CONFIG_KEYBOARD_NEWTON is not set 698 | # CONFIG_KEYBOARD_OPENCORES is not set 699 | # CONFIG_KEYBOARD_STOWAWAY is not set 700 | # CONFIG_KEYBOARD_SUNKBD is not set 701 | # CONFIG_KEYBOARD_XTKBD is not set 702 | CONFIG_INPUT_MOUSE=y 703 | CONFIG_MOUSE_PS2=y 704 | CONFIG_MOUSE_PS2_ALPS=y 705 | CONFIG_MOUSE_PS2_BYD=y 706 | CONFIG_MOUSE_PS2_LOGIPS2PP=y 707 | CONFIG_MOUSE_PS2_SYNAPTICS=y 708 | CONFIG_MOUSE_PS2_CYPRESS=y 709 | CONFIG_MOUSE_PS2_TRACKPOINT=y 710 | # CONFIG_MOUSE_PS2_ELANTECH is not set 711 | # CONFIG_MOUSE_PS2_SENTELIC is not set 712 | # CONFIG_MOUSE_PS2_TOUCHKIT is not set 713 | CONFIG_MOUSE_PS2_FOCALTECH=y 714 | # CONFIG_MOUSE_SERIAL is not set 715 | # CONFIG_MOUSE_APPLETOUCH is not set 716 | # CONFIG_MOUSE_BCM5974 is not set 717 | # CONFIG_MOUSE_VSXXXAA is not set 718 | # CONFIG_MOUSE_SYNAPTICS_USB is not set 719 | # CONFIG_INPUT_JOYSTICK is not set 720 | # CONFIG_INPUT_TABLET is not set 721 | # CONFIG_INPUT_TOUCHSCREEN is not set 722 | # CONFIG_INPUT_MISC is not set 723 | # CONFIG_RMI4_CORE is not set 724 | 725 | # 726 | # Hardware I/O ports 727 | # 728 | CONFIG_SERIO=y 729 | CONFIG_SERIO_SERPORT=y 730 | # CONFIG_SERIO_PCIPS2 is not set 731 | CONFIG_SERIO_LIBPS2=y 732 | # CONFIG_SERIO_RAW is not set 733 | # CONFIG_SERIO_ALTERA_PS2 is not set 734 | # CONFIG_SERIO_PS2MULT is not set 735 | # CONFIG_SERIO_ARC_PS2 is not set 736 | # CONFIG_USERIO is not set 737 | # CONFIG_GAMEPORT is not set 738 | # end of Hardware I/O ports 739 | # end of Input device support 740 | 741 | # 742 | # Character devices 743 | # 744 | CONFIG_TTY=y 745 | # CONFIG_VT is not set 746 | CONFIG_UNIX98_PTYS=y 747 | CONFIG_LEGACY_PTYS=y 748 | CONFIG_LEGACY_PTY_COUNT=256 749 | # CONFIG_SERIAL_NONSTANDARD is not set 750 | # CONFIG_NOZOMI is not set 751 | # CONFIG_N_GSM is not set 752 | # CONFIG_TRACE_SINK is not set 753 | # CONFIG_NULL_TTY is not set 754 | CONFIG_LDISC_AUTOLOAD=y 755 | CONFIG_DEVMEM=y 756 | # CONFIG_DEVKMEM is not set 757 | 758 | # 759 | # Serial drivers 760 | # 761 | # CONFIG_SERIAL_8250 is not set 762 | 763 | # 764 | # Non-8250 serial port support 765 | # 766 | # CONFIG_SERIAL_UARTLITE is not set 767 | # CONFIG_SERIAL_JSM is not set 768 | # CONFIG_SERIAL_SCCNXP is not set 769 | # CONFIG_SERIAL_ALTERA_JTAGUART is not set 770 | # CONFIG_SERIAL_ALTERA_UART is not set 771 | # CONFIG_SERIAL_ARC is not set 772 | # CONFIG_SERIAL_RP2 is not set 773 | # CONFIG_SERIAL_FSL_LPUART is not set 774 | # end of Serial drivers 775 | 776 | # CONFIG_SERIAL_DEV_BUS is not set 777 | # CONFIG_TTY_PRINTK is not set 778 | # CONFIG_VIRTIO_CONSOLE is not set 779 | # CONFIG_IPMI_HANDLER is not set 780 | CONFIG_HW_RANDOM=y 781 | # CONFIG_HW_RANDOM_TIMERIOMEM is not set 782 | # CONFIG_HW_RANDOM_VIRTIO is not set 783 | # CONFIG_APPLICOM is not set 784 | # CONFIG_RAW_DRIVER is not set 785 | # CONFIG_TCG_TPM is not set 786 | CONFIG_DEVPORT=y 787 | # CONFIG_XILLYBUS is not set 788 | # end of Character devices 789 | 790 | # 791 | # I2C support 792 | # 793 | # CONFIG_I2C is not set 794 | # end of I2C support 795 | 796 | # CONFIG_I3C is not set 797 | # CONFIG_SPI is not set 798 | # CONFIG_SPMI is not set 799 | # CONFIG_HSI is not set 800 | # CONFIG_PPS is not set 801 | 802 | # 803 | # PTP clock support 804 | # 805 | # CONFIG_PTP_1588_CLOCK is not set 806 | 807 | # 808 | # Enable PHYLIB and NETWORK_PHY_TIMESTAMPING to see the additional clocks. 809 | # 810 | # end of PTP clock support 811 | 812 | # CONFIG_PINCTRL is not set 813 | # CONFIG_GPIOLIB is not set 814 | # CONFIG_W1 is not set 815 | # CONFIG_POWER_AVS is not set 816 | # CONFIG_POWER_RESET is not set 817 | # CONFIG_POWER_SUPPLY is not set 818 | CONFIG_HWMON=y 819 | # CONFIG_HWMON_DEBUG_CHIP is not set 820 | 821 | # 822 | # Native drivers 823 | # 824 | # CONFIG_SENSORS_ASPEED is not set 825 | # CONFIG_SENSORS_I5K_AMB is not set 826 | # CONFIG_SENSORS_F71805F is not set 827 | # CONFIG_SENSORS_F71882FG is not set 828 | # CONFIG_SENSORS_IT87 is not set 829 | # CONFIG_SENSORS_MAX197 is not set 830 | # CONFIG_SENSORS_PC87360 is not set 831 | # CONFIG_SENSORS_PC87427 is not set 832 | # CONFIG_SENSORS_NTC_THERMISTOR is not set 833 | # CONFIG_SENSORS_NCT6683 is not set 834 | # CONFIG_SENSORS_NCT6775 is not set 835 | # CONFIG_SENSORS_NPCM7XX is not set 836 | # CONFIG_SENSORS_SIS5595 is not set 837 | # CONFIG_SENSORS_SMSC47M1 is not set 838 | # CONFIG_SENSORS_SMSC47B397 is not set 839 | # CONFIG_SENSORS_VIA686A is not set 840 | # CONFIG_SENSORS_VT1211 is not set 841 | # CONFIG_SENSORS_VT8231 is not set 842 | # CONFIG_SENSORS_W83627HF is not set 843 | # CONFIG_SENSORS_W83627EHF is not set 844 | # CONFIG_THERMAL is not set 845 | # CONFIG_WATCHDOG is not set 846 | CONFIG_SSB_POSSIBLE=y 847 | # CONFIG_SSB is not set 848 | CONFIG_BCMA_POSSIBLE=y 849 | # CONFIG_BCMA is not set 850 | 851 | # 852 | # Multifunction device drivers 853 | # 854 | # CONFIG_MFD_MADERA is not set 855 | # CONFIG_HTC_PASIC3 is not set 856 | # CONFIG_LPC_ICH is not set 857 | # CONFIG_LPC_SCH is not set 858 | # CONFIG_MFD_JANZ_CMODIO is not set 859 | # CONFIG_MFD_KEMPLD is not set 860 | # CONFIG_MFD_MT6397 is not set 861 | # CONFIG_MFD_RDC321X is not set 862 | # CONFIG_MFD_SM501 is not set 863 | # CONFIG_ABX500_CORE is not set 864 | # CONFIG_MFD_SYSCON is not set 865 | # CONFIG_MFD_TI_AM335X_TSCADC is not set 866 | # CONFIG_MFD_TQMX86 is not set 867 | # CONFIG_MFD_VX855 is not set 868 | # end of Multifunction device drivers 869 | 870 | # CONFIG_REGULATOR is not set 871 | # CONFIG_RC_CORE is not set 872 | # CONFIG_MEDIA_SUPPORT is not set 873 | 874 | # 875 | # Graphics support 876 | # 877 | CONFIG_VGA_ARB=y 878 | CONFIG_VGA_ARB_MAX_GPUS=16 879 | # CONFIG_DRM is not set 880 | # CONFIG_DRM_DP_CEC is not set 881 | 882 | # 883 | # ARM devices 884 | # 885 | # end of ARM devices 886 | 887 | # 888 | # ACP (Audio CoProcessor) Configuration 889 | # 890 | # end of ACP (Audio CoProcessor) Configuration 891 | 892 | # 893 | # Frame buffer Devices 894 | # 895 | # CONFIG_FB is not set 896 | # end of Frame buffer Devices 897 | 898 | # 899 | # Backlight & LCD device support 900 | # 901 | CONFIG_LCD_CLASS_DEVICE=y 902 | # CONFIG_LCD_PLATFORM is not set 903 | CONFIG_BACKLIGHT_CLASS_DEVICE=y 904 | CONFIG_BACKLIGHT_GENERIC=y 905 | # CONFIG_BACKLIGHT_PM8941_WLED is not set 906 | # end of Backlight & LCD device support 907 | # end of Graphics support 908 | 909 | # CONFIG_SOUND is not set 910 | 911 | # 912 | # HID support 913 | # 914 | CONFIG_HID=y 915 | # CONFIG_HID_BATTERY_STRENGTH is not set 916 | # CONFIG_HIDRAW is not set 917 | # CONFIG_UHID is not set 918 | CONFIG_HID_GENERIC=y 919 | 920 | # 921 | # Special HID drivers 922 | # 923 | # CONFIG_HID_A4TECH is not set 924 | # CONFIG_HID_ACRUX is not set 925 | # CONFIG_HID_APPLE is not set 926 | # CONFIG_HID_AUREAL is not set 927 | # CONFIG_HID_BELKIN is not set 928 | # CONFIG_HID_CHERRY is not set 929 | # CONFIG_HID_CHICONY is not set 930 | # CONFIG_HID_COUGAR is not set 931 | # CONFIG_HID_MACALLY is not set 932 | # CONFIG_HID_CMEDIA is not set 933 | # CONFIG_HID_CYPRESS is not set 934 | # CONFIG_HID_DRAGONRISE is not set 935 | # CONFIG_HID_EMS_FF is not set 936 | # CONFIG_HID_ELECOM is not set 937 | # CONFIG_HID_EZKEY is not set 938 | # CONFIG_HID_GEMBIRD is not set 939 | # CONFIG_HID_GFRM is not set 940 | # CONFIG_HID_KEYTOUCH is not set 941 | # CONFIG_HID_KYE is not set 942 | # CONFIG_HID_WALTOP is not set 943 | # CONFIG_HID_VIEWSONIC is not set 944 | # CONFIG_HID_GYRATION is not set 945 | # CONFIG_HID_ICADE is not set 946 | # CONFIG_HID_ITE is not set 947 | # CONFIG_HID_JABRA is not set 948 | # CONFIG_HID_TWINHAN is not set 949 | # CONFIG_HID_KENSINGTON is not set 950 | # CONFIG_HID_LCPOWER is not set 951 | # CONFIG_HID_LENOVO is not set 952 | # CONFIG_HID_LOGITECH is not set 953 | # CONFIG_HID_MAGICMOUSE is not set 954 | # CONFIG_HID_MALTRON is not set 955 | # CONFIG_HID_MAYFLASH is not set 956 | # CONFIG_HID_REDRAGON is not set 957 | # CONFIG_HID_MICROSOFT is not set 958 | # CONFIG_HID_MONTEREY is not set 959 | # CONFIG_HID_MULTITOUCH is not set 960 | # CONFIG_HID_NTI is not set 961 | # CONFIG_HID_ORTEK is not set 962 | # CONFIG_HID_PANTHERLORD is not set 963 | # CONFIG_HID_PETALYNX is not set 964 | # CONFIG_HID_PICOLCD is not set 965 | # CONFIG_HID_PLANTRONICS is not set 966 | # CONFIG_HID_PRIMAX is not set 967 | # CONFIG_HID_SAITEK is not set 968 | # CONFIG_HID_SAMSUNG is not set 969 | # CONFIG_HID_SPEEDLINK is not set 970 | # CONFIG_HID_STEAM is not set 971 | # CONFIG_HID_STEELSERIES is not set 972 | # CONFIG_HID_SUNPLUS is not set 973 | # CONFIG_HID_RMI is not set 974 | # CONFIG_HID_GREENASIA is not set 975 | # CONFIG_HID_SMARTJOYPLUS is not set 976 | # CONFIG_HID_TIVO is not set 977 | # CONFIG_HID_TOPSEED is not set 978 | # CONFIG_HID_THRUSTMASTER is not set 979 | # CONFIG_HID_UDRAW_PS3 is not set 980 | # CONFIG_HID_XINMO is not set 981 | # CONFIG_HID_ZEROPLUS is not set 982 | # CONFIG_HID_ZYDACRON is not set 983 | # CONFIG_HID_SENSOR_HUB is not set 984 | # CONFIG_HID_ALPS is not set 985 | # end of Special HID drivers 986 | # end of HID support 987 | 988 | CONFIG_USB_OHCI_LITTLE_ENDIAN=y 989 | CONFIG_USB_SUPPORT=y 990 | CONFIG_USB_ARCH_HAS_HCD=y 991 | # CONFIG_USB is not set 992 | CONFIG_USB_PCI=y 993 | 994 | # 995 | # USB port drivers 996 | # 997 | 998 | # 999 | # USB Physical Layer drivers 1000 | # 1001 | # CONFIG_NOP_USB_XCEIV is not set 1002 | # end of USB Physical Layer drivers 1003 | 1004 | # CONFIG_USB_GADGET is not set 1005 | # CONFIG_TYPEC is not set 1006 | # CONFIG_USB_ROLE_SWITCH is not set 1007 | # CONFIG_USB_ULPI_BUS is not set 1008 | # CONFIG_UWB is not set 1009 | # CONFIG_MMC is not set 1010 | # CONFIG_MEMSTICK is not set 1011 | # CONFIG_NEW_LEDS is not set 1012 | # CONFIG_ACCESSIBILITY is not set 1013 | # CONFIG_INFINIBAND is not set 1014 | # CONFIG_RTC_CLASS is not set 1015 | # CONFIG_DMADEVICES is not set 1016 | 1017 | # 1018 | # DMABUF options 1019 | # 1020 | # CONFIG_SYNC_FILE is not set 1021 | # end of DMABUF options 1022 | 1023 | # CONFIG_AUXDISPLAY is not set 1024 | # CONFIG_VIRT_DRIVERS is not set 1025 | CONFIG_VIRTIO=y 1026 | CONFIG_VIRTIO_MENU=y 1027 | # CONFIG_VIRTIO_PCI is not set 1028 | # CONFIG_VIRTIO_BALLOON is not set 1029 | # CONFIG_VIRTIO_INPUT is not set 1030 | CONFIG_VIRTIO_MMIO=y 1031 | CONFIG_VIRTIO_MMIO_CMDLINE_DEVICES=y 1032 | 1033 | # 1034 | # Microsoft Hyper-V guest support 1035 | # 1036 | # end of Microsoft Hyper-V guest support 1037 | 1038 | # CONFIG_STAGING is not set 1039 | # CONFIG_HWSPINLOCK is not set 1040 | 1041 | # 1042 | # Clock Source drivers 1043 | # 1044 | # end of Clock Source drivers 1045 | 1046 | # CONFIG_MAILBOX is not set 1047 | 1048 | # 1049 | # Remoteproc drivers 1050 | # 1051 | # CONFIG_REMOTEPROC is not set 1052 | # end of Remoteproc drivers 1053 | 1054 | # 1055 | # Rpmsg drivers 1056 | # 1057 | # CONFIG_RPMSG_VIRTIO is not set 1058 | # end of Rpmsg drivers 1059 | 1060 | # CONFIG_SOUNDWIRE is not set 1061 | 1062 | # 1063 | # SOC (System On Chip) specific Drivers 1064 | # 1065 | 1066 | # 1067 | # Amlogic SoC drivers 1068 | # 1069 | # end of Amlogic SoC drivers 1070 | 1071 | # 1072 | # Aspeed SoC drivers 1073 | # 1074 | # end of Aspeed SoC drivers 1075 | 1076 | # 1077 | # Broadcom SoC drivers 1078 | # 1079 | # end of Broadcom SoC drivers 1080 | 1081 | # 1082 | # NXP/Freescale QorIQ SoC drivers 1083 | # 1084 | # end of NXP/Freescale QorIQ SoC drivers 1085 | 1086 | # 1087 | # i.MX SoC drivers 1088 | # 1089 | # end of i.MX SoC drivers 1090 | 1091 | # 1092 | # Qualcomm SoC drivers 1093 | # 1094 | # end of Qualcomm SoC drivers 1095 | 1096 | # CONFIG_SOC_TI is not set 1097 | 1098 | # 1099 | # Xilinx SoC drivers 1100 | # 1101 | # CONFIG_XILINX_VCU is not set 1102 | # end of Xilinx SoC drivers 1103 | # end of SOC (System On Chip) specific Drivers 1104 | 1105 | # CONFIG_PM_DEVFREQ is not set 1106 | # CONFIG_EXTCON is not set 1107 | # CONFIG_MEMORY is not set 1108 | # CONFIG_IIO is not set 1109 | # CONFIG_NTB is not set 1110 | # CONFIG_VME_BUS is not set 1111 | # CONFIG_PWM is not set 1112 | 1113 | # 1114 | # IRQ chip support 1115 | # 1116 | # end of IRQ chip support 1117 | 1118 | # CONFIG_IPACK_BUS is not set 1119 | # CONFIG_RESET_CONTROLLER is not set 1120 | 1121 | # 1122 | # PHY Subsystem 1123 | # 1124 | # CONFIG_GENERIC_PHY is not set 1125 | # CONFIG_BCM_KONA_USB2_PHY is not set 1126 | # CONFIG_PHY_PXA_28NM_HSIC is not set 1127 | # CONFIG_PHY_PXA_28NM_USB2 is not set 1128 | # end of PHY Subsystem 1129 | 1130 | # CONFIG_POWERCAP is not set 1131 | # CONFIG_MCB is not set 1132 | # CONFIG_RAS is not set 1133 | 1134 | # 1135 | # Android 1136 | # 1137 | # CONFIG_ANDROID is not set 1138 | # end of Android 1139 | 1140 | # CONFIG_LIBNVDIMM is not set 1141 | # CONFIG_DAX is not set 1142 | # CONFIG_NVMEM is not set 1143 | 1144 | # 1145 | # HW tracing support 1146 | # 1147 | # CONFIG_STM is not set 1148 | # CONFIG_INTEL_TH is not set 1149 | # end of HW tracing support 1150 | 1151 | # CONFIG_FPGA is not set 1152 | # CONFIG_SIOX is not set 1153 | # CONFIG_SLIMBUS is not set 1154 | # CONFIG_INTERCONNECT is not set 1155 | # CONFIG_COUNTER is not set 1156 | # end of Device Drivers 1157 | 1158 | # 1159 | # File systems 1160 | # 1161 | # CONFIG_VALIDATE_FS_PARSER is not set 1162 | CONFIG_FS_IOMAP=y 1163 | # CONFIG_EXT2_FS is not set 1164 | # CONFIG_EXT3_FS is not set 1165 | CONFIG_EXT4_FS=y 1166 | CONFIG_EXT4_USE_FOR_EXT2=y 1167 | CONFIG_EXT4_FS_POSIX_ACL=y 1168 | CONFIG_EXT4_FS_SECURITY=y 1169 | # CONFIG_EXT4_DEBUG is not set 1170 | CONFIG_JBD2=y 1171 | # CONFIG_JBD2_DEBUG is not set 1172 | CONFIG_FS_MBCACHE=y 1173 | # CONFIG_REISERFS_FS is not set 1174 | # CONFIG_JFS_FS is not set 1175 | CONFIG_XFS_FS=y 1176 | # CONFIG_XFS_QUOTA is not set 1177 | CONFIG_XFS_POSIX_ACL=y 1178 | # CONFIG_XFS_RT is not set 1179 | # CONFIG_XFS_ONLINE_SCRUB is not set 1180 | # CONFIG_XFS_WARN is not set 1181 | # CONFIG_XFS_DEBUG is not set 1182 | # CONFIG_GFS2_FS is not set 1183 | CONFIG_BTRFS_FS=y 1184 | CONFIG_BTRFS_FS_POSIX_ACL=y 1185 | # CONFIG_BTRFS_FS_CHECK_INTEGRITY is not set 1186 | # CONFIG_BTRFS_FS_RUN_SANITY_TESTS is not set 1187 | # CONFIG_BTRFS_DEBUG is not set 1188 | # CONFIG_BTRFS_ASSERT is not set 1189 | # CONFIG_BTRFS_FS_REF_VERIFY is not set 1190 | # CONFIG_NILFS2_FS is not set 1191 | # CONFIG_F2FS_FS is not set 1192 | CONFIG_FS_POSIX_ACL=y 1193 | CONFIG_EXPORTFS=y 1194 | # CONFIG_EXPORTFS_BLOCK_OPS is not set 1195 | # CONFIG_FILE_LOCKING is not set 1196 | # CONFIG_FS_ENCRYPTION is not set 1197 | # CONFIG_DNOTIFY is not set 1198 | # CONFIG_INOTIFY_USER is not set 1199 | # CONFIG_FANOTIFY is not set 1200 | # CONFIG_QUOTA is not set 1201 | # CONFIG_AUTOFS4_FS is not set 1202 | # CONFIG_AUTOFS_FS is not set 1203 | # CONFIG_FUSE_FS is not set 1204 | # CONFIG_OVERLAY_FS is not set 1205 | 1206 | # 1207 | # Caches 1208 | # 1209 | # CONFIG_FSCACHE is not set 1210 | # end of Caches 1211 | 1212 | # 1213 | # CD-ROM/DVD Filesystems 1214 | # 1215 | # CONFIG_ISO9660_FS is not set 1216 | # CONFIG_UDF_FS is not set 1217 | # end of CD-ROM/DVD Filesystems 1218 | 1219 | # 1220 | # DOS/FAT/NT Filesystems 1221 | # 1222 | CONFIG_FAT_FS=y 1223 | # CONFIG_MSDOS_FS is not set 1224 | CONFIG_VFAT_FS=y 1225 | CONFIG_FAT_DEFAULT_CODEPAGE=437 1226 | CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1" 1227 | # CONFIG_FAT_DEFAULT_UTF8 is not set 1228 | # CONFIG_NTFS_FS is not set 1229 | # end of DOS/FAT/NT Filesystems 1230 | 1231 | # 1232 | # Pseudo filesystems 1233 | # 1234 | CONFIG_PROC_FS=y 1235 | CONFIG_PROC_SYSCTL=y 1236 | # CONFIG_PROC_CHILDREN is not set 1237 | CONFIG_KERNFS=y 1238 | CONFIG_SYSFS=y 1239 | # CONFIG_CONFIGFS_FS is not set 1240 | # end of Pseudo filesystems 1241 | 1242 | CONFIG_MISC_FILESYSTEMS=y 1243 | # CONFIG_ORANGEFS_FS is not set 1244 | # CONFIG_ADFS_FS is not set 1245 | # CONFIG_AFFS_FS is not set 1246 | # CONFIG_HFS_FS is not set 1247 | # CONFIG_HFSPLUS_FS is not set 1248 | # CONFIG_BEFS_FS is not set 1249 | # CONFIG_BFS_FS is not set 1250 | # CONFIG_EFS_FS is not set 1251 | # CONFIG_CRAMFS is not set 1252 | # CONFIG_SQUASHFS is not set 1253 | # CONFIG_VXFS_FS is not set 1254 | # CONFIG_MINIX_FS is not set 1255 | # CONFIG_OMFS_FS is not set 1256 | # CONFIG_HPFS_FS is not set 1257 | # CONFIG_QNX4FS_FS is not set 1258 | # CONFIG_QNX6FS_FS is not set 1259 | # CONFIG_ROMFS_FS is not set 1260 | # CONFIG_PSTORE is not set 1261 | # CONFIG_SYSV_FS is not set 1262 | # CONFIG_UFS_FS is not set 1263 | CONFIG_NETWORK_FILESYSTEMS=y 1264 | # CONFIG_CEPH_FS is not set 1265 | # CONFIG_CIFS is not set 1266 | # CONFIG_CODA_FS is not set 1267 | # CONFIG_AFS_FS is not set 1268 | CONFIG_NLS=y 1269 | CONFIG_NLS_DEFAULT="iso8859-1" 1270 | CONFIG_NLS_CODEPAGE_437=y 1271 | CONFIG_NLS_CODEPAGE_737=y 1272 | CONFIG_NLS_CODEPAGE_775=y 1273 | CONFIG_NLS_CODEPAGE_850=y 1274 | CONFIG_NLS_CODEPAGE_852=y 1275 | CONFIG_NLS_CODEPAGE_855=y 1276 | CONFIG_NLS_CODEPAGE_857=y 1277 | CONFIG_NLS_CODEPAGE_860=y 1278 | CONFIG_NLS_CODEPAGE_861=y 1279 | CONFIG_NLS_CODEPAGE_862=y 1280 | CONFIG_NLS_CODEPAGE_863=y 1281 | CONFIG_NLS_CODEPAGE_864=y 1282 | CONFIG_NLS_CODEPAGE_865=y 1283 | CONFIG_NLS_CODEPAGE_866=y 1284 | CONFIG_NLS_CODEPAGE_869=y 1285 | CONFIG_NLS_CODEPAGE_936=y 1286 | CONFIG_NLS_CODEPAGE_950=y 1287 | CONFIG_NLS_CODEPAGE_932=y 1288 | CONFIG_NLS_CODEPAGE_949=y 1289 | CONFIG_NLS_CODEPAGE_874=y 1290 | CONFIG_NLS_ISO8859_8=y 1291 | CONFIG_NLS_CODEPAGE_1250=y 1292 | CONFIG_NLS_CODEPAGE_1251=y 1293 | CONFIG_NLS_ASCII=y 1294 | CONFIG_NLS_ISO8859_1=y 1295 | CONFIG_NLS_ISO8859_2=y 1296 | CONFIG_NLS_ISO8859_3=y 1297 | CONFIG_NLS_ISO8859_4=y 1298 | CONFIG_NLS_ISO8859_5=y 1299 | CONFIG_NLS_ISO8859_6=y 1300 | CONFIG_NLS_ISO8859_7=y 1301 | CONFIG_NLS_ISO8859_9=y 1302 | CONFIG_NLS_ISO8859_13=y 1303 | CONFIG_NLS_ISO8859_14=y 1304 | CONFIG_NLS_ISO8859_15=y 1305 | CONFIG_NLS_KOI8_R=y 1306 | CONFIG_NLS_KOI8_U=y 1307 | CONFIG_NLS_MAC_ROMAN=y 1308 | CONFIG_NLS_MAC_CELTIC=y 1309 | CONFIG_NLS_MAC_CENTEURO=y 1310 | CONFIG_NLS_MAC_CROATIAN=y 1311 | CONFIG_NLS_MAC_CYRILLIC=y 1312 | CONFIG_NLS_MAC_GAELIC=y 1313 | CONFIG_NLS_MAC_GREEK=y 1314 | CONFIG_NLS_MAC_ICELAND=y 1315 | CONFIG_NLS_MAC_INUIT=y 1316 | CONFIG_NLS_MAC_ROMANIAN=y 1317 | CONFIG_NLS_MAC_TURKISH=y 1318 | CONFIG_NLS_UTF8=y 1319 | # CONFIG_UNICODE is not set 1320 | # end of File systems 1321 | 1322 | # 1323 | # Security options 1324 | # 1325 | # CONFIG_KEYS is not set 1326 | # CONFIG_SECURITY_DMESG_RESTRICT is not set 1327 | # CONFIG_SECURITY is not set 1328 | # CONFIG_SECURITYFS is not set 1329 | CONFIG_HAVE_HARDENED_USERCOPY_ALLOCATOR=y 1330 | # CONFIG_HARDENED_USERCOPY is not set 1331 | # CONFIG_STATIC_USERMODEHELPER is not set 1332 | CONFIG_DEFAULT_SECURITY_DAC=y 1333 | CONFIG_LSM="yama,loadpin,safesetid,integrity" 1334 | 1335 | # 1336 | # Kernel hardening options 1337 | # 1338 | 1339 | # 1340 | # Memory initialization 1341 | # 1342 | CONFIG_INIT_STACK_NONE=y 1343 | # CONFIG_INIT_ON_ALLOC_DEFAULT_ON is not set 1344 | # CONFIG_INIT_ON_FREE_DEFAULT_ON is not set 1345 | # end of Memory initialization 1346 | # end of Kernel hardening options 1347 | # end of Security options 1348 | 1349 | CONFIG_XOR_BLOCKS=y 1350 | CONFIG_CRYPTO=y 1351 | 1352 | # 1353 | # Crypto core or helper 1354 | # 1355 | # CONFIG_CRYPTO_FIPS is not set 1356 | CONFIG_CRYPTO_ALGAPI=y 1357 | CONFIG_CRYPTO_ALGAPI2=y 1358 | CONFIG_CRYPTO_AEAD=y 1359 | CONFIG_CRYPTO_AEAD2=y 1360 | CONFIG_CRYPTO_BLKCIPHER=y 1361 | CONFIG_CRYPTO_BLKCIPHER2=y 1362 | CONFIG_CRYPTO_HASH=y 1363 | CONFIG_CRYPTO_HASH2=y 1364 | CONFIG_CRYPTO_RNG=y 1365 | CONFIG_CRYPTO_RNG2=y 1366 | # CONFIG_CRYPTO_MANAGER is not set 1367 | # CONFIG_CRYPTO_USER is not set 1368 | # CONFIG_CRYPTO_NULL is not set 1369 | CONFIG_CRYPTO_NULL2=y 1370 | # CONFIG_CRYPTO_CRYPTD is not set 1371 | # CONFIG_CRYPTO_AUTHENC is not set 1372 | CONFIG_CRYPTO_ENGINE=y 1373 | 1374 | # 1375 | # Public-key cryptography 1376 | # 1377 | # CONFIG_CRYPTO_RSA is not set 1378 | # CONFIG_CRYPTO_DH is not set 1379 | # CONFIG_CRYPTO_ECDH is not set 1380 | # CONFIG_CRYPTO_ECRDSA is not set 1381 | 1382 | # 1383 | # Authenticated Encryption with Associated Data 1384 | # 1385 | # CONFIG_CRYPTO_CCM is not set 1386 | # CONFIG_CRYPTO_GCM is not set 1387 | # CONFIG_CRYPTO_CHACHA20POLY1305 is not set 1388 | # CONFIG_CRYPTO_AEGIS128 is not set 1389 | # CONFIG_CRYPTO_AEGIS128L is not set 1390 | # CONFIG_CRYPTO_AEGIS256 is not set 1391 | # CONFIG_CRYPTO_MORUS640 is not set 1392 | # CONFIG_CRYPTO_MORUS1280 is not set 1393 | # CONFIG_CRYPTO_SEQIV is not set 1394 | # CONFIG_CRYPTO_ECHAINIV is not set 1395 | 1396 | # 1397 | # Block modes 1398 | # 1399 | # CONFIG_CRYPTO_CBC is not set 1400 | # CONFIG_CRYPTO_CFB is not set 1401 | # CONFIG_CRYPTO_CTR is not set 1402 | # CONFIG_CRYPTO_CTS is not set 1403 | # CONFIG_CRYPTO_ECB is not set 1404 | # CONFIG_CRYPTO_LRW is not set 1405 | # CONFIG_CRYPTO_OFB is not set 1406 | # CONFIG_CRYPTO_PCBC is not set 1407 | # CONFIG_CRYPTO_XTS is not set 1408 | # CONFIG_CRYPTO_KEYWRAP is not set 1409 | # CONFIG_CRYPTO_ADIANTUM is not set 1410 | 1411 | # 1412 | # Hash modes 1413 | # 1414 | # CONFIG_CRYPTO_CMAC is not set 1415 | # CONFIG_CRYPTO_HMAC is not set 1416 | # CONFIG_CRYPTO_XCBC is not set 1417 | # CONFIG_CRYPTO_VMAC is not set 1418 | 1419 | # 1420 | # Digest 1421 | # 1422 | CONFIG_CRYPTO_CRC32C=y 1423 | # CONFIG_CRYPTO_CRC32 is not set 1424 | # CONFIG_CRYPTO_XXHASH is not set 1425 | # CONFIG_CRYPTO_CRCT10DIF is not set 1426 | # CONFIG_CRYPTO_GHASH is not set 1427 | # CONFIG_CRYPTO_POLY1305 is not set 1428 | # CONFIG_CRYPTO_MD4 is not set 1429 | # CONFIG_CRYPTO_MD5 is not set 1430 | # CONFIG_CRYPTO_MICHAEL_MIC is not set 1431 | # CONFIG_CRYPTO_RMD128 is not set 1432 | # CONFIG_CRYPTO_RMD160 is not set 1433 | # CONFIG_CRYPTO_RMD256 is not set 1434 | # CONFIG_CRYPTO_RMD320 is not set 1435 | # CONFIG_CRYPTO_SHA1 is not set 1436 | # CONFIG_CRYPTO_SHA256 is not set 1437 | # CONFIG_CRYPTO_SHA512 is not set 1438 | # CONFIG_CRYPTO_SHA3 is not set 1439 | # CONFIG_CRYPTO_SM3 is not set 1440 | # CONFIG_CRYPTO_STREEBOG is not set 1441 | # CONFIG_CRYPTO_TGR192 is not set 1442 | # CONFIG_CRYPTO_WP512 is not set 1443 | 1444 | # 1445 | # Ciphers 1446 | # 1447 | CONFIG_CRYPTO_AES=y 1448 | # CONFIG_CRYPTO_AES_TI is not set 1449 | # CONFIG_CRYPTO_ANUBIS is not set 1450 | # CONFIG_CRYPTO_ARC4 is not set 1451 | # CONFIG_CRYPTO_BLOWFISH is not set 1452 | # CONFIG_CRYPTO_CAMELLIA is not set 1453 | # CONFIG_CRYPTO_CAST5 is not set 1454 | # CONFIG_CRYPTO_CAST6 is not set 1455 | # CONFIG_CRYPTO_DES is not set 1456 | # CONFIG_CRYPTO_FCRYPT is not set 1457 | # CONFIG_CRYPTO_KHAZAD is not set 1458 | # CONFIG_CRYPTO_SALSA20 is not set 1459 | # CONFIG_CRYPTO_CHACHA20 is not set 1460 | # CONFIG_CRYPTO_SEED is not set 1461 | # CONFIG_CRYPTO_SERPENT is not set 1462 | # CONFIG_CRYPTO_SM4 is not set 1463 | # CONFIG_CRYPTO_TEA is not set 1464 | # CONFIG_CRYPTO_TWOFISH is not set 1465 | 1466 | # 1467 | # Compression 1468 | # 1469 | # CONFIG_CRYPTO_DEFLATE is not set 1470 | # CONFIG_CRYPTO_LZO is not set 1471 | # CONFIG_CRYPTO_842 is not set 1472 | # CONFIG_CRYPTO_LZ4 is not set 1473 | # CONFIG_CRYPTO_LZ4HC is not set 1474 | # CONFIG_CRYPTO_ZSTD is not set 1475 | 1476 | # 1477 | # Random Number Generation 1478 | # 1479 | CONFIG_CRYPTO_ANSI_CPRNG=y 1480 | # CONFIG_CRYPTO_DRBG_MENU is not set 1481 | # CONFIG_CRYPTO_JITTERENTROPY is not set 1482 | # CONFIG_CRYPTO_USER_API_HASH is not set 1483 | # CONFIG_CRYPTO_USER_API_SKCIPHER is not set 1484 | # CONFIG_CRYPTO_USER_API_RNG is not set 1485 | # CONFIG_CRYPTO_USER_API_AEAD is not set 1486 | CONFIG_CRYPTO_HW=y 1487 | CONFIG_CRYPTO_DEV_VIRTIO=y 1488 | 1489 | # 1490 | # Certificates for signature checking 1491 | # 1492 | # end of Certificates for signature checking 1493 | 1494 | # 1495 | # Library routines 1496 | # 1497 | CONFIG_RAID6_PQ=y 1498 | CONFIG_RAID6_PQ_BENCHMARK=y 1499 | # CONFIG_PACKING is not set 1500 | CONFIG_BITREVERSE=y 1501 | CONFIG_GENERIC_NET_UTILS=y 1502 | # CONFIG_CORDIC is not set 1503 | CONFIG_NO_GENERIC_PCI_IOPORT_MAP=y 1504 | CONFIG_GENERIC_PCI_IOMAP=y 1505 | # CONFIG_CRC_CCITT is not set 1506 | CONFIG_CRC16=y 1507 | # CONFIG_CRC_T10DIF is not set 1508 | # CONFIG_CRC_ITU_T is not set 1509 | CONFIG_CRC32=y 1510 | # CONFIG_CRC32_SELFTEST is not set 1511 | CONFIG_CRC32_SLICEBY8=y 1512 | # CONFIG_CRC32_SLICEBY4 is not set 1513 | # CONFIG_CRC32_SARWATE is not set 1514 | # CONFIG_CRC32_BIT is not set 1515 | # CONFIG_CRC64 is not set 1516 | # CONFIG_CRC4 is not set 1517 | # CONFIG_CRC7 is not set 1518 | CONFIG_LIBCRC32C=y 1519 | # CONFIG_CRC8 is not set 1520 | CONFIG_XXHASH=y 1521 | # CONFIG_RANDOM32_SELFTEST is not set 1522 | CONFIG_ZLIB_INFLATE=y 1523 | CONFIG_ZLIB_DEFLATE=y 1524 | CONFIG_LZO_COMPRESS=y 1525 | CONFIG_LZO_DECOMPRESS=y 1526 | CONFIG_ZSTD_COMPRESS=y 1527 | CONFIG_ZSTD_DECOMPRESS=y 1528 | # CONFIG_XZ_DEC is not set 1529 | CONFIG_HAS_IOMEM=y 1530 | CONFIG_HAS_DMA=y 1531 | # CONFIG_DMA_API_DEBUG is not set 1532 | CONFIG_DQL=y 1533 | CONFIG_NLATTR=y 1534 | CONFIG_GENERIC_ATOMIC64=y 1535 | # CONFIG_IRQ_POLL is not set 1536 | CONFIG_DIMLIB=y 1537 | CONFIG_SBITMAP=y 1538 | # CONFIG_STRING_SELFTEST is not set 1539 | # end of Library routines 1540 | 1541 | # 1542 | # Kernel hacking 1543 | # 1544 | 1545 | # 1546 | # printk and dmesg options 1547 | # 1548 | CONFIG_PRINTK_TIME=y 1549 | # CONFIG_PRINTK_CALLER is not set 1550 | CONFIG_CONSOLE_LOGLEVEL_DEFAULT=7 1551 | CONFIG_MESSAGE_LOGLEVEL_DEFAULT=4 1552 | # end of printk and dmesg options 1553 | 1554 | # 1555 | # Compile-time checks and compiler options 1556 | # 1557 | CONFIG_DEBUG_INFO=y 1558 | CONFIG_DEBUG_INFO_REDUCED=y 1559 | # CONFIG_DEBUG_INFO_SPLIT is not set 1560 | # CONFIG_DEBUG_INFO_DWARF4 is not set 1561 | # CONFIG_DEBUG_INFO_BTF is not set 1562 | # CONFIG_GDB_SCRIPTS is not set 1563 | # CONFIG_ENABLE_MUST_CHECK is not set 1564 | CONFIG_FRAME_WARN=2048 1565 | # CONFIG_STRIP_ASM_SYMS is not set 1566 | # CONFIG_READABLE_ASM is not set 1567 | # CONFIG_UNUSED_SYMBOLS is not set 1568 | # CONFIG_DEBUG_FS is not set 1569 | # CONFIG_HEADERS_INSTALL is not set 1570 | # CONFIG_OPTIMIZE_INLINING is not set 1571 | # CONFIG_DEBUG_SECTION_MISMATCH is not set 1572 | CONFIG_SECTION_MISMATCH_WARN_ONLY=y 1573 | CONFIG_ARCH_WANT_FRAME_POINTERS=y 1574 | CONFIG_FRAME_POINTER=y 1575 | # CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set 1576 | # end of Compile-time checks and compiler options 1577 | 1578 | # CONFIG_MAGIC_SYSRQ is not set 1579 | # CONFIG_DEBUG_KERNEL is not set 1580 | # CONFIG_DEBUG_MISC is not set 1581 | 1582 | # 1583 | # Memory Debugging 1584 | # 1585 | # CONFIG_PAGE_EXTENSION is not set 1586 | # CONFIG_DEBUG_PAGEALLOC is not set 1587 | # CONFIG_PAGE_POISONING is not set 1588 | # CONFIG_DEBUG_OBJECTS is not set 1589 | # CONFIG_SLUB_DEBUG_ON is not set 1590 | # CONFIG_SLUB_STATS is not set 1591 | # CONFIG_DEBUG_STACK_USAGE is not set 1592 | # CONFIG_DEBUG_VM is not set 1593 | # CONFIG_DEBUG_NOMMU_REGIONS is not set 1594 | # CONFIG_DEBUG_MEMORY_INIT is not set 1595 | # CONFIG_CC_HAS_KASAN_GENERIC is not set 1596 | # CONFIG_KASAN_STACK is not set 1597 | # end of Memory Debugging 1598 | 1599 | # CONFIG_CC_HAS_SANCOV_TRACE_PC is not set 1600 | # CONFIG_DEBUG_SHIRQ is not set 1601 | 1602 | # 1603 | # Debug Lockups and Hangs 1604 | # 1605 | # CONFIG_SOFTLOCKUP_DETECTOR is not set 1606 | # CONFIG_DETECT_HUNG_TASK is not set 1607 | # CONFIG_WQ_WATCHDOG is not set 1608 | # end of Debug Lockups and Hangs 1609 | 1610 | # CONFIG_PANIC_ON_OOPS is not set 1611 | # CONFIG_PANIC_ON_OOPS_VALUE is not set 1612 | # CONFIG_PANIC_TIMEOUT is not set 1613 | # CONFIG_SCHED_DEBUG is not set 1614 | # CONFIG_SCHEDSTATS is not set 1615 | # CONFIG_SCHED_STACK_END_CHECK is not set 1616 | # CONFIG_DEBUG_TIMEKEEPING is not set 1617 | 1618 | # 1619 | # Lock Debugging (spinlocks, mutexes, etc...) 1620 | # 1621 | # CONFIG_DEBUG_SPINLOCK is not set 1622 | # CONFIG_DEBUG_MUTEXES is not set 1623 | # CONFIG_DEBUG_RWSEMS is not set 1624 | # CONFIG_DEBUG_ATOMIC_SLEEP is not set 1625 | # CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set 1626 | # CONFIG_LOCK_TORTURE_TEST is not set 1627 | # CONFIG_WW_MUTEX_SELFTEST is not set 1628 | # end of Lock Debugging (spinlocks, mutexes, etc...) 1629 | 1630 | # CONFIG_WARN_ALL_UNSEEDED_RANDOM is not set 1631 | # CONFIG_DEBUG_KOBJECT is not set 1632 | # CONFIG_DEBUG_LIST is not set 1633 | # CONFIG_DEBUG_PLIST is not set 1634 | # CONFIG_DEBUG_SG is not set 1635 | # CONFIG_DEBUG_NOTIFIERS is not set 1636 | # CONFIG_DEBUG_CREDENTIALS is not set 1637 | 1638 | # 1639 | # RCU Debugging 1640 | # 1641 | # CONFIG_RCU_PERF_TEST is not set 1642 | # CONFIG_RCU_TORTURE_TEST is not set 1643 | # CONFIG_RCU_TRACE is not set 1644 | # CONFIG_RCU_EQS_DEBUG is not set 1645 | # end of RCU Debugging 1646 | 1647 | # CONFIG_DEBUG_WQ_FORCE_RR_CPU is not set 1648 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set 1649 | # CONFIG_NOTIFIER_ERROR_INJECTION is not set 1650 | # CONFIG_FAULT_INJECTION is not set 1651 | # CONFIG_RUNTIME_TESTING_MENU is not set 1652 | # CONFIG_TEST_LIST_SORT is not set 1653 | # CONFIG_TEST_SORT is not set 1654 | # CONFIG_BACKTRACE_SELF_TEST is not set 1655 | # CONFIG_RBTREE_TEST is not set 1656 | # CONFIG_REED_SOLOMON_TEST is not set 1657 | # CONFIG_INTERVAL_TREE_TEST is not set 1658 | # CONFIG_ATOMIC64_SELFTEST is not set 1659 | # CONFIG_TEST_HEXDUMP is not set 1660 | # CONFIG_TEST_STRING_HELPERS is not set 1661 | # CONFIG_TEST_STRSCPY is not set 1662 | # CONFIG_TEST_KSTRTOX is not set 1663 | # CONFIG_TEST_PRINTF is not set 1664 | # CONFIG_TEST_BITMAP is not set 1665 | # CONFIG_TEST_BITFIELD is not set 1666 | # CONFIG_TEST_UUID is not set 1667 | # CONFIG_TEST_XARRAY is not set 1668 | # CONFIG_TEST_OVERFLOW is not set 1669 | # CONFIG_TEST_RHASHTABLE is not set 1670 | # CONFIG_TEST_HASH is not set 1671 | # CONFIG_TEST_IDA is not set 1672 | # CONFIG_FIND_BIT_BENCHMARK is not set 1673 | # CONFIG_TEST_SYSCTL is not set 1674 | # CONFIG_TEST_UDELAY is not set 1675 | # CONFIG_TEST_MEMCAT_P is not set 1676 | # CONFIG_TEST_STACKINIT is not set 1677 | # CONFIG_TEST_MEMINIT is not set 1678 | # CONFIG_MEMTEST is not set 1679 | # CONFIG_BUG_ON_DATA_CORRUPTION is not set 1680 | # CONFIG_SAMPLES is not set 1681 | # CONFIG_UBSAN is not set 1682 | # CONFIG_UBSAN_ALIGNMENT is not set 1683 | # end of Kernel hacking 1684 | --------------------------------------------------------------------------------